@@ -59,6 +59,7 @@ heroku_check_container() {
5959
6060Heroku_publish_demo () {
6161 echo " preparing heroku deployment to demo"
62+ export BUILDX_NO_DEFAULT_ATTESTATIONS=1
6263 heroku_check_container
6364 heroku container:login
6465 echo " heroku deployment to demo"
@@ -67,6 +68,11 @@ Heroku_publish_demo() {
6768 heroku container:release web --app arcane-scrubland-42646
6869 heroku container:push --recursive --arg argBasedVersion=${tag} heroku,CTF_ENABLED=true,HINTS_ENABLED=false --app wrongsecrets-ctf
6970 heroku container:release web --app wrongsecrets-ctf
71+ echo " wait for contianer to come up"
72+ until curl --output /dev/null --silent --head --fail https://arcane-scrubland-42646.herokuapp.com/; do
73+ printf ' .'
74+ sleep 5
75+ done
7076 echo " testing challenge 16"
7177 cd .github/scripts
7278 export RAW_TEST=$( < secondkey.txt)
@@ -81,12 +87,18 @@ Heroku_publish_demo() {
8187
8288Heroku_publish_prod (){
8389 echo " preparing heroku deployment to prod"
90+ export BUILDX_NO_DEFAULT_ATTESTATIONS=1
8491 heroku_check_container
8592 heroku container:login
8693 echo " heroku deployment to prod"
8794 cd ../..
8895 heroku container:push --recursive --arg argBasedVersion=${tag} heroku,CANARY_URLS=http://canarytokens.com/feedback/images/traffic/tgy3epux7jm59n0ejb4xv4zg3/submit.aspx,http://canarytokens.com/traffic/cjldn0fsgkz97ufsr92qelimv/post.jsp --app=wrongsecrets
8996 heroku container:release web --app=wrongsecrets
97+ echo " wait for contianer to come up"
98+ until curl --output /dev/null --silent --head --fail https://wrongsecrets.herokuapp.com; do
99+ printf ' .'
100+ sleep 5
101+ done
90102 echo " testing challenge 16"
91103 cd .github/scripts
92104 export RAW_TEST=$( < secondkey.txt)
0 commit comments