File tree Expand file tree Collapse file tree 9 files changed +28
-26
lines changed
label-aws-stemcell-for-production
label-gcp-stemcell-for-production
wait-for-ami-availability Expand file tree Collapse file tree 9 files changed +28
-26
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2-
3- set -ex
2+ set -eu -o pipefail
3+ set -x
44
55AWS_CREDS_FILE=~ /.aws/credentials
66mkdir -p ~ /.aws
@@ -11,9 +11,10 @@ aws_access_key_id = ${AWS_ACCESS_KEY}
1111aws_secret_access_key = ${AWS_SECRET_KEY}
1212EOF
1313
14- cd stemcell-builder
15- bundle install
16- rake build:aws_aggregate
14+ pushd stemcell-builder
15+ bundle install
16+ bundle exec rake build:aws_aggregate
1717
18- mv bosh-windows-stemcell/* .tgz ../bosh-windows-stemcell
19- mv bosh-windows-stemcell/* .sha ../sha
18+ mv bosh-windows-stemcell/* .tgz ../bosh-windows-stemcell
19+ mv bosh-windows-stemcell/* .sha ../sha
20+ popd
Original file line number Diff line number Diff line change 2121
2222pushd stemcell-builder
2323 bundle install
24- rake build:aws_ami
24+ bundle exec rake build:aws_ami
2525
2626 mv copied-regional-stemcells/* .tgz ../copied-regional-stemcells
2727popd
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pushd stemcell-builder
3434 cp " ${CONCOURSE_ROOT} /psmodules-zip-output/bosh-psmodules.zip" " ${CONCOURSE_ROOT} /bosh-agent/agent.zip" build
3535
3636 bundle install
37- rake build:aws
37+ bundle exec rake build:aws
3838
3939 mv bosh-windows-stemcell/* ../bosh-windows-stemcell
4040
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pushd stemcell-builder
1313 cp " ${CONCOURSE_ROOT} /psmodules-zip-output/bosh-psmodules.zip" " ${CONCOURSE_ROOT} /bosh-agent/agent.zip" build
1414
1515 bundle install
16- rake build:azure
16+ bundle exec rake build:azure
1717
1818 mv bosh-windows-stemcell/* ../bosh-windows-stemcell
1919
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pushd stemcell-builder
1313 cp " ${CONCOURSE_ROOT} /psmodules-zip-output/bosh-psmodules.zip" " ${CONCOURSE_ROOT} /bosh-agent/agent.zip" build
1414
1515 bundle install
16- rake build:gcp
16+ bundle exec rake build:gcp
1717
1818 mv bosh-windows-stemcell/* ../bosh-windows-stemcell
1919
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2-
3- set -ex
2+ set -eu -o pipefail
3+ set -x
44
55AWS_CREDS_FILE=~ /.aws/credentials
66mkdir -p ~ /.aws
1313
1414pushd stemcell-builder
1515 bundle install
16- rake aws:label:for_production
16+ bundle exec rake aws:label:for_production
1717popd
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ set -eu -o pipefail
3+ set -x
24
3- set -ex
4-
5- cd stemcell-builder
6- bundle install
7- rake gcp:label:for_production
5+ pushd stemcell-builder
6+ bundle install
7+ bundle exec rake gcp:label:for_production
8+ popd
Original file line number Diff line number Diff line change 22set -eu -o pipefail
33set -x
44
5- cd stemcell-builder
6- bundle install
7- rake publish:gcp
8- rake gcp:label:for_test
9- cd ..
5+ pushd stemcell-builder
6+ bundle install
7+ bundle exec rake publish:gcp
8+ bundle exec rake gcp:label:for_test
9+ popd
1010
1111mv bosh-windows-stemcell/* .tgz untested-stemcell
Original file line number Diff line number Diff line change 1919
2020pushd stemcell-builder
2121 bundle install
22- rake build:validate_ami
23- rake aws:label:for_test
22+ bundle exec rake build:validate_ami
23+ bundle exec rake aws:label:for_test
2424popd
You can’t perform that action at this time.
0 commit comments