Skip to content

Commit 1c28ff7

Browse files
authored
Merge pull request #1992 from OWASP/update-cypress-stack
fixes for cypress and for other tools
2 parents 7678f0b + 9f24202 commit 1c28ff7

5 files changed

Lines changed: 5389 additions & 1831 deletions

File tree

.github/scripts/docker-create.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ heroku_check_container() {
5959

6060
Heroku_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

8288
Heroku_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)

.lycheeignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ https://wrongsecrets.onrender.com/
1414
https://betterprogramming.pub/stop-writing-bad-commit-messages-8df79517177d
1515
# Twitter its API does not like us
1616
https://twitter.com/intent/tweet?*
17+
18+
# Trust that these github links work
19+
https://github.com/OWASP/CheatSheetSeries*
20+
https://github.com/OWASP/wrongsecrets*
21+
https://github.com/OWASP/www-project-wrongsecrets*

0 commit comments

Comments
 (0)