File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,6 @@ s3_upload_templates() {
8
8
aws s3 cp --content-type ' text/yaml' --acl public-read build/aws-stack.yml " s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET} /${bucket_prefix} aws-stack.yml"
9
9
}
10
10
11
- if [[ -z " ${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET} " ]]; then
12
- echo " Must set an s3 bucket in BUILDKITE_AWS_STACK_TEMPLATE_BUCKET for publishing templates to"
13
- exit 1
14
- fi
15
-
16
- echo " --- Downloading mappings.yml artifact"
17
- mkdir -p build/
18
- buildkite-agent artifact download build/mappings.yml build/
19
-
20
11
echo " --- :git: Checking and fetching git tags"
21
12
# if BUILDKITE_TAG is set, fetch the tags, and check that it's a valid tag
22
13
if [[ -n " ${BUILDKITE_TAG:- } " ]]; then
30
21
echo " Not a tag build, skipping tag check"
31
22
fi
32
23
24
+ echo " --- :aws: Checking template bucket is set"
25
+ if [[ -z " ${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET} " ]]; then
26
+ echo " ^^^ +++"
27
+ echo " Must set an s3 bucket in BUILDKITE_AWS_STACK_TEMPLATE_BUCKET for publishing templates to"
28
+ exit 1
29
+ fi
30
+
31
+ echo " --- Downloading mappings.yml artifact"
32
+ mkdir -p build/
33
+ buildkite-agent artifact download build/mappings.yml build/
34
+
33
35
echo " --- Building :cloudformation: CloudFormation templates"
34
36
make build/aws-stack.yml
35
37
You can’t perform that action at this time.
0 commit comments