summaryrefslogtreecommitdiff
path: root/tests/platform-ci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/platform-ci')
-rwxr-xr-xtests/platform-ci/ci-build.sh1
-rw-r--r--tests/platform-ci/provider/cloud.json.template2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh
index 59b399ee..5856fbb7 100755
--- a/tests/platform-ci/ci-build.sh
+++ b/tests/platform-ci/ci-build.sh
@@ -132,6 +132,7 @@ build_from_scratch() {
[ -z "$AWS_SECRET_KEY" ] && fail "\$AWS_SECRET_KEY is not set - please provide it as env variable."
/usr/bin/jq ".platform_ci.auth |= .+ {\"aws_access_key_id\":\"$AWS_ACCESS_KEY\", \"aws_secret_access_key\":\"$AWS_SECRET_KEY\"}" < cloud.json.template > cloud.json
+
# Enable xtrace again only if it was set at beginning of script
[[ $xtrace == true ]] && set -x
diff --git a/tests/platform-ci/provider/cloud.json.template b/tests/platform-ci/provider/cloud.json.template
index 28152e82..18faf40f 100644
--- a/tests/platform-ci/provider/cloud.json.template
+++ b/tests/platform-ci/provider/cloud.json.template
@@ -7,7 +7,7 @@
"aws_access_key_id": "",
"aws_secret_access_key": ""
},
- "default_image": "ami-2a34e94a",
+ "default_image": "ami-310d6c49",
"default_options": {
"InstanceType": "t2.small"
}