Skip to content

Commit

Permalink
added copy of last release
Browse files Browse the repository at this point in the history
  • Loading branch information
bosesuneha committed Jul 30, 2024
1 parent 96ae0c1 commit 614d4ee
Show file tree
Hide file tree
Showing 23 changed files with 3,302 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2024-08-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "location1",
"parameters": {
"generationLanguage": "javascript",
"languageVersion": "14",
"port": "80",
"appName": "my-app",
"dockerfileOutputDirectory": "./",
"manifestOutputDirectory": "./",
"manifestGenerationMode": "enabled",
"dockerfileGenerationMode": "enabled",
"manifestType": "kube",
"imageName": "myimage",
"namespace": "my-namespace",
"imageTag": "latest"
}
},
"responses": {
"200": {
"body": {
"dockerfiles/example-dockerfile": "dockerfile-content \n including newlines",
"manifests/example-manifest-file-1": "manifest file 1 content \n including newlines",
"manifests/example-manifest-file-2": "manifest file 2 content \n including newlines"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01-preview",
"parameters": {
"redirectUrl": "https://ms.portal.azure.com/aks"
}
},
"responses": {
"200": {
"body": {
"authURL": "https://github.com/login/oauth/authorize?client_id=11111111&redirect_uri=https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth&state=2345678-3456-7890-5678-012345678901&scope=repo,user:email,workflow",
"token": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01-preview",
"code": "3584d83530557fdd1f46af8289938c8ef79f9dc5",
"state": "12345678-3456-7890-5678-012345678901"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth/default",
"type": "Microsoft.DevHub/locations/githuboauth",
"name": "default",
"properties": {
"username": "user"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus2euap",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth/default",
"type": "Microsoft.DevHub/locations/githuboauth",
"name": "default",
"properties": {
"username": "user"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
{
"parameters": {
"api-version": "2024-08-01-preview",
"subscriptionId": "a0a37f63-7183-4e86-9ac7-ce8036a3ed31",
"resourceGroupName": "resourceGroup1",
"iacProfileName": "profile1",
"parameters": {
"location": "location1",
"tags": {
"appname": "testApp"
},
"properties": {
"githubProfile": {
"repositoryOwner": "owner",
"repositoryName": "localtest",
"repositoryMainBranch": "main"
},
"terraformProfile": {
"storageAccountSubscription": "subscription",
"storageAccountResourceGroup": "hybrid-iac",
"storageAccountName": "hybridiac",
"storageContainerName": "hybridiac"
},
"stages": [
{
"stageName": "dev",
"dependencies": [],
"gitEnvironment": "Terraform"
},
{
"stageName": "qa",
"dependencies": [
"dev"
],
"gitEnvironment": "Terraform"
},
{
"stageName": "prod",
"dependencies": [
"qa"
],
"gitEnvironment": "Terraform"
}
],
"templates": [
{
"templateName": "base",
"sourceResourceId": "/subscriptions/xxxx/resourceGroups/xxxx",
"instanceStage": "dev",
"instanceName": "contoso",
"templateDetails": [
{
"productName": "HCI",
"count": 1,
"namingConvention": "$sitid-hci"
},
{
"productName": "AKSarc",
"count": 1,
"namingConvention": "$sitid-aks"
}
]
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/a0a37f63-7183-4e86-9ac7-ce8036a3ed31/resourceGroups/resourceGroup1/providers/Microsoft.DevHub/iacProfiles/profile1",
"location": "location1",
"name": "profile1",
"type": "Micfosoft.DevHub/iacProfiles",
"tags": {
"appname": "testapp"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-01-16T09:56:23.933651400Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-16T09:56:30.783361300Z"
},
"properties": {
"githubProfile": {
"repositoryName": "localtest",
"repositoryMainBranch": "main",
"repositoryOwner": "owner",
"authStatus": "Unspecified",
"pullNumber": 8,
"prStatus": "submitted",
"branchName": "aks-devhub-ybvmw"
},
"terraformProfile": {
"storageAccountSubscription": "subscription",
"storageAccountResourceGroup": "hybrid-iac",
"storageAccountName": "hybridiac",
"storageContainerName": "hybridiac"
},
"stages": [
{
"stageName": "dev",
"dependencies": [],
"gitEnvironment": "Terraform"
},
{
"stageName": "qa",
"dependencies": [
"dev"
],
"gitEnvironment": "Terraform"
},
{
"stageName": "prod",
"dependencies": [
"qa"
],
"gitEnvironment": "Terraform"
}
],
"templates": [
{
"templateName": "base",
"sourceResourceId": "/subscriptions/xxxx/resourceGroups/xxxx",
"instanceStage": "dev",
"instanceName": "contoso",
"templateDetails": [
{
"productName": "HCI",
"count": 1,
"namingConvention": "$sitid-hci"
},
{
"productName": "AKSarc",
"count": 1,
"namingConvention": "$sitid-aks"
}
]
}
]
}
}
},
"201": {
"body": {
"id": "/subscriptions/a0a37f63-7183-4e86-9ac7-ce8036a3ed31/resourceGroups/resourceGroup1/providers/Microsoft.DevHub/iacProfiles/profile1",
"location": "location1",
"name": "profile1",
"type": "Micfosoft.DevHub/iacProfiles",
"tags": {
"appname": "testapp"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-01-16T09:56:23.933651400Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-16T09:56:30.783361300Z"
},
"properties": {
"githubProfile": {
"repositoryName": "localtest",
"repositoryMainBranch": "main",
"repositoryOwner": "owner",
"authStatus": "Unspecified",
"pullNumber": 8,
"prStatus": "submitted",
"branchName": "aks-devhub-ybvmw"
},
"terraformProfile": {
"storageAccountSubscription": "subscription",
"storageAccountResourceGroup": "hybrid-iac",
"storageAccountName": "hybridiac",
"storageContainerName": "hybridiac"
},
"stages": [
{
"stageName": "dev",
"dependencies": [],
"gitEnvironment": "Terraform"
},
{
"stageName": "qa",
"dependencies": [
"dev"
],
"gitEnvironment": "Terraform"
},
{
"stageName": "prod",
"dependencies": [
"qa"
],
"gitEnvironment": "Terraform"
}
],
"templates": [
{
"templateName": "base",
"sourceResourceId": "/subscriptions/xxxx/resourceGroups/xxxx",
"instanceStage": "dev",
"instanceName": "contoso",
"templateDetails": [
{
"productName": "HCI",
"count": 1,
"namingConvention": "$sitid-hci"
},
{
"productName": "AKSarc",
"count": 1,
"namingConvention": "$sitid-aks"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2024-08-01-preview",
"subscriptionId": "a0a37f63-7183-4e86-9ac7-ce8036a3ed31",
"resourceGroupName": "resourceGroup1",
"iacProfileName": "iacprofile"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2024-08-01-preview",
"subscriptionId": "a0a37f63-7183-4e86-9ac7-ce8036a3ed31",
"resourceGroupName": "resourceGroup1",
"iacProfileName": "iacprofile",
"parameters": {
"templateName": "base",
"resourceGroupIds": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup2"
],
"instanceName": "sample",
"instanceStage": "dev"
}
},
"responses": {
"200": {
"body": {
"prLink": "xxxx"
}
}
}
}
Loading

0 comments on commit 614d4ee

Please sign in to comment.