Skip to content

Commit

Permalink
Ensure pushed-image-file is unique to prevent 'Concurrent upstream...…
Browse files Browse the repository at this point in the history
…' error
  • Loading branch information
vikin91 committed Jan 12, 2022
1 parent d4e1521 commit 065e1ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- build-and-push-image:
dockerfile-path: images/base.Dockerfile
tag-prefix: "base-"
pushed-image-file: "pushed_image_base"

build-and-push-rocksdb:
<<: *defaults
Expand All @@ -91,6 +92,7 @@ jobs:
dockerfile-path: images/rocksdb.Dockerfile
tag-prefix: "rocksdb-"
force-tag: "rocksdb-<< pipeline.parameters.rocksdb_version >>"
pushed-image-file: "pushed_image_rocksdb"

build-and-push-rox:
<<: *defaults
Expand Down Expand Up @@ -172,6 +174,7 @@ jobs:
- build-and-push-image:
dockerfile-path: images/env-check.Dockerfile
tag-prefix: "env-check-"
pushed-image-file: "pushed_image_env_check"

unit-test-env-check:
machine:
Expand Down Expand Up @@ -246,13 +249,15 @@ jobs:
- build-and-push-image:
dockerfile-path: images/collector.Dockerfile
tag-prefix: "collector-"
pushed-image-file: "pushed_image_collector"

build-and-push-jenkins-plugin:
<<: *defaults
steps:
- build-and-push-image:
dockerfile-path: images/jenkins-plugin.Dockerfile
tag-prefix: "jenkins-plugin-"
pushed-image-file: "pushed_image_jenkins_plugin"

workflows:
version: 2
Expand Down

0 comments on commit 065e1ca

Please sign in to comment.