Skip to content

Commit

Permalink
Merge pull request #13 from Azure-Samples/revert-10-master
Browse files Browse the repository at this point in the history
Revert "update task version to 1.1.0"
  • Loading branch information
dlepow authored Sep 25, 2019
2 parents edb85d3 + e9ef189 commit 92894f9
Show file tree
Hide file tree
Showing 20 changed files with 44 additions and 503 deletions.
2 changes: 1 addition & 1 deletion bash-echo-3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: v1.1.0
version: v1.0.0
steps:
- cmd: bash:3.0 echo hello world
2 changes: 1 addition & 1 deletion bash-echo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: v1.1.0
version: v1.0.0
steps:
- cmd: bash echo hello world
4 changes: 2 additions & 2 deletions build-hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: v1.1.0
version: v1.0.0
steps:
- build: -t $Registry/hello-world -f hello-world.dockerfile .
- build: -t {{.Run.Registry}}/hello-world -f hello-world.dockerfile .
8 changes: 4 additions & 4 deletions build-push-hello-world-multi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1.1.0
version: v1.0.0
steps:
- build: -t $Registry/hello-world:$ID -t $Registry/hello-world:latest -f hello-world.dockerfile .
- build: -t {{.Run.Registry}}/hello-world:{{.Run.ID}} -t {{.Run.Registry}}/hello-world:latest -f hello-world.dockerfile .
- push:
- $Registry/hello-world:$ID
- $Registry/hello-world:latest
- {{.Run.Registry}}/hello-world:{{.Run.ID}}
- {{.Run.Registry}}/hello-world:latest
7 changes: 3 additions & 4 deletions build-push-hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: v1.1.0
version: v1.0.0
steps:
- build: -t $Registry/hello-world:$ID -f hello-world.dockerfile .
- push:
- $Registry/hello-world:$ID
- build: -t {{.Run.Registry}}/hello-world:{{.Run.ID}} -f hello-world.dockerfile .
- push: ["{{.Run.Registry}}/hello-world:{{.Run.ID}}"]
8 changes: 4 additions & 4 deletions build-run-hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1.1.0
version: v1.0.0
steps:
- build: -t $Registry/hello-world:$ID -f hello-world.dockerfile .
- build: -t {{.Run.Registry}}/hello-world:{{.Run.ID}} -f hello-world.dockerfile .
- push:
- $Registry/hello-world:$ID
- cmd: $Registry/hello-world:$ID
- {{.Run.Registry}}/hello-world:{{.Run.ID}}
- cmd: {{.Run.Registry}}/hello-world:{{.Run.ID}}
6 changes: 3 additions & 3 deletions build-test-hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: v1.1.0
version: v1.0.0
steps:
# build website and func-test images, concurrently
- id: build-hello-world
build: -t $Registry/hello-world:$ID -f hello-world.dockerfile .
build: -t {{.Run.Registry}}/hello-world:{{.Run.ID}} -f hello-world.dockerfile .
when: ["-"]
- id: build-hello-world-test
build: -t hello-world-test -f hello-world.dockerfile .
when: ["-"]
# run built images to be tested
- id: hello-world
cmd: $Registry/hello-world:$ID
cmd: {{.Run.Registry}}/hello-world:{{.Run.ID}}
when: ["build-hello-world"]
- id: func-tests
cmd: hello-world-test
Expand Down
10 changes: 5 additions & 5 deletions build-test-update-hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
version: v1.1.0
version: v1.0.0
steps:
# build website and func-test images, concurrently
- build: -t $Registry/hello-world:$ID -f hello-world.dockerfile .
- build: -t {{.Run.Registry}}/hello-world:{{.Run.ID}} -f hello-world.dockerfile .
when: ["-"]
- build: -t hello-world-test -f hello-world.dockerfile .
when: ["-"]
# run built images to be tested
- id: hello-world
cmd: $Registry/hello-world:$ID
cmd: {{.Run.Registry}}/hello-world:{{.Run.ID}}
- id: func-tests
cmd: hello-world-test
env:
- test-target=hello-world
# push hello-world if func-tests are successful
- push:
- $Registry/hello-world:$ID
- {{.Run.Registry}}/hello-world:{{.Run.ID}}
# helm deploy the updated hello-world image
- cmd: >
cmd.azurecr.io/helm:v2.11.0-rc.2 update helloworld ./release/helm/
--reuse-values
--set helloworld.image=$Registry/hello-world:$ID
--set helloworld.image={{.Run.Registry}}/hello-world:{{.Run.ID}}
6 changes: 0 additions & 6 deletions buildx.yml

This file was deleted.

2 changes: 1 addition & 1 deletion hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: v1.1.0
version: v1.0.0
steps:
- cmd: hello-world
20 changes: 0 additions & 20 deletions managed-identities.yaml

This file was deleted.

Loading

0 comments on commit 92894f9

Please sign in to comment.