Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Container Registry Auto Build Feature Swagger and examples #2378

Merged
merged 37 commits into from
Apr 24, 2018
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4bb9547
Azure Container Registry Auto Build Feature Swagger and examples
mnltejaswini Jan 31, 2018
7664027
Updated the Readme to include the new build swagger under default tag
mnltejaswini Jan 31, 2018
12b5063
Removed Required attribute on the route parameters
mnltejaswini Jan 31, 2018
61fb29e
Removed the Required attribute for the global parameters and correcte…
mnltejaswini Jan 31, 2018
1cdda47
Updated the readme to fix the CI failures
mnltejaswini Feb 2, 2018
bf8b13e
Fixed the ref errrors on the global parameters
mnltejaswini Feb 2, 2018
802dc07
Made getLogLink as POST operation
mnltejaswini Feb 7, 2018
bf9dec5
Added a new getSourceUploadUrl API
mnltejaswini Feb 13, 2018
566a6c4
Renamed ImageName to RepositoryName and removed 404 status code
mnltejaswini Feb 13, 2018
7e85678
Removed log parameters for GetBuildLogLink API
mnltejaswini Feb 21, 2018
9f221a1
Removed OAuth APIs
mnltejaswini Feb 23, 2018
89c1371
Swagger team review feedback
mnltejaswini Feb 28, 2018
f7bf754
Added listBaseImageDependencies to build step and separated PUT and P…
mnltejaswini Mar 1, 2018
437f250
Removed Context Path for Quick build
mnltejaswini Mar 1, 2018
11ed575
Removed separate build parameters in QuickBuild object
mnltejaswini Mar 1, 2018
0a435c0
Removed some of the unused properties and fixed the response payload …
mnltejaswini Mar 2, 2018
fd28d56
API updates for base image dependencies
mnltejaswini Mar 14, 2018
e43a694
Making list arguments pageable.
mnltejaswini Mar 14, 2018
606e838
Added a new POST action for build definition and fixed the Azure reso…
mnltejaswini Mar 16, 2018
7a7aa65
The parent resource swagger uses Resource for TrackedResource. So cha…
mnltejaswini Mar 16, 2018
c20bd58
Renamed the resource buildDefinition to buildTask
mnltejaswini Mar 19, 2018
244bed8
Updated readme to include parent resource swagger
mnltejaswini Mar 20, 2018
c2c7278
Added range validation for timeout parameter
mnltejaswini Mar 30, 2018
a1ecee0
Adding imageNames, No-cache and git commit and image update trigger
mnltejaswini Apr 11, 2018
d93feb5
Rebased with remote and fixed the Error schema
mnltejaswini Apr 17, 2018
f57e536
Removed obsolete properties and actions
mnltejaswini Apr 17, 2018
01037b1
Added registry property to BaseImageDependecy
mnltejaswini Apr 18, 2018
61f34e3
Update image descriptor
djyou Apr 18, 2018
7fa2134
update examples
djyou Apr 18, 2018
677db4a
Improve examples
djyou Apr 18, 2018
c196d98
Revert a change in formatting
djyou Apr 18, 2018
146952b
Merge pull request #3 from djyou/naduggar/build
mnltejaswini Apr 18, 2018
8e3c1b4
A few improvements and fixes (#4)
djyou Apr 20, 2018
5fa239f
Fix Error status, fix version (#5)
djyou Apr 20, 2018
5b6e9be
Fix default valus (#6)
djyou Apr 20, 2018
074adc1
Fix CI (#7)
djyou Apr 24, 2018
5e072f9
Fix examples (#8)
djyou Apr 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask",
"stepName": "myStep",
"buildStepCreateParameters": {
"properties": {
"type": "Docker",
"imageNames": [ "azurerest:testtag" ],
"dockerFilePath": "src/DockerFile",
"contextPath": "src",
"isPushEnabled": true,
"noCache": true,
"buildArguments": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"type": "DockerBuildArgument",
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
},
"location": "eastus"
}
},
"responses": {
"200": {
"body": {
"properties": {
"type": "Docker",
"branch": "master",
"imageNames": [ "azurerest:testtag" ],
"dockerFilePath": "src/DockerFile",
"contextPath": "src",
"isPushEnabled": true,
"noCache": true,
"buildArguments": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"type": "DockerBuildArgument",
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/buildTasks/myBuildTask/steps/myStep",
"name": "myStep",
"type": "Microsoft.ContainerRegistry/registries/buildTasks/steps",
"location": "eastus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask",
"stepName": "myStep"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask",
"stepName": "myStep"
},
"responses": {
"200": {
"body": {
"properties": {
"type": "Docker",
"branch": "master",
"imageNames": [ "azurerest:testtag" ],
"dockerFilePath": "DockerFile",
"isPushEnabled": true,
"baseImageTrigger": "Runtime",
"noCache": true,
"baseImageDependencies": [
{
"type": "RunTime",
"registry": "registry.hub.docker.com",
"repository": "testimage",
"tag": "latest",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
},
{
"type": "BuildTime",
"registry": "registry.hub.docker.com",
"repository": "testimage1",
"tag": "testtag",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
}
]
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/buildTasks/myBuildTask/steps/myStep",
"name": "myStep",
"type": "Microsoft.ContainerRegistry/registries/buildTasks/steps",
"location": "eastus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"type": "Docker",
"branch": "master",
"imageNames": [ "azurerest:testtag" ],
"dockerFilePath": "DockerFile",
"isPushEnabled": true,
"noCache": true,
"buildArguments": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
}
],
"baseImageTrigger": "Runtime",
"baseImageDependencies": [
{
"type": "RunTime",
"registry": "registry.hub.docker.com",
"repository": "testimage",
"tag": "latest",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
},
{
"type": "BuildTime",
"registry": "registry.hub.docker.com",
"repository": "testimage1",
"tag": "testtag",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
}
]
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/buildTasks/myBuildTask/steps/myStep",
"name": "myStep",
"type": "Microsoft.ContainerRegistry/registries/buildTasks/steps",
"location": "eastus"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask",
"stepName": "myStep"
},
"responses": {
"200": {
"body": {
"value": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"type": "DockerBuildArgument",
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2018-02-01-preview",
"buildTaskName": "myBuildTask",
"stepName": "myStep",
"buildStepUpdateParameters": {
"properties": {
"type": "Docker",
"imageNames": [ "azurerest:testtag", "azurerest1:testtag1" ],
"dockerFilePath": "src/DockerFile",
"contextPath": "src",
"isPushEnabled": true,
"noCache": false,
"baseImageTrigger": "None",
"buildArguments": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"type": "DockerBuildArgument",
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"type": "Docker",
"branch": "master",
"imageNames": [ "azurerest:testtag", "azurerest1:testtag1" ],
"dockerFilePath": "src/DockerFile",
"contextPath": "src",
"isPushEnabled": true,
"noCache": false,
"baseImageTrigger": "None",
"baseImageDependencies": [
{
"type": "RunTime",
"registry": "registry.hub.docker.com",
"repository": "testimage",
"tag": "latest",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
},
{
"type": "BuildTime",
"registry": "registry.hub.docker.com",
"repository": "testimage1",
"tag": "testtag",
"digest": "sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63"
}
],
"buildArguments": [
{
"type": "DockerBuildArgument",
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"type": "DockerBuildArgument",
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/buildTasks/myBuildTask/steps/myStep",
"name": "myStep",
"type": "Microsoft.ContainerRegistry/registries/buildTasks/steps",
"location": "eastus"
}
}
}
}
Loading