File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ composer install --no-scripts |tee "$ARTIFACTS"/composer_out.txt
1717cd ..
1818section_end
1919
20- section_start " Set simple admin password"
21- echo " password " > ./etc/initial_admin_password.secret
22- echo " default login admin password password " > ~ /.netrc
20+ section_start " Set admin password"
21+ echo " admin_password " > ./etc/initial_admin_password.secret
22+ echo " default login admin password admin_password " > ~ /.netrc
2323section_end
2424
2525section_start " Install domserver"
Original file line number Diff line number Diff line change 2828 run : mysql -hsqlserver -uroot -proot < .github/jobs/data/dj733.sql
2929 - name : Upgrade DOMjudge
3030 run : .github/jobs/baseinstall.sh default upgrade
31- - name : Setting initial Admin Password
32- run : echo "pass" > /opt/domjudge/domserver/etc/initial_admin_password.secret
3331 - name : Check for Errors in the Upgrade
3432 run : mysql -hsqlserver -uroot -proot -e "SHOW TABLES FROM domjudge;"
3533 - name : Check for Errors in Domjudge Web
Original file line number Diff line number Diff line change 4545 - name : Configure print command
4646 working-directory : submit
4747 run : |
48- curl --fail -u 'admin:password' -X 'GET' 'http://localhost/domjudge/api/v4/config?strict=false' \
48+ curl -n --fail -X 'GET' 'http://localhost/domjudge/api/v4/config?strict=false' \
4949 | jq '.print_command |= "cp [file] /tmp/dj-printfile"' \
50- | curl --fail -u 'admin:password' -X 'PUT' -T - 'http://localhost/domjudge/api/v4/config?strict=false' \
50+ | curl -n --fail -X 'PUT' -T - 'http://localhost/domjudge/api/v4/config?strict=false' \
5151 - name : Testing submit client
5252 working-directory : submit
5353 run : make check-full
@@ -149,4 +149,4 @@ jobs:
149149 export CCS_SPECS_PINNED_SHA1='a68aff54c4e60fc2bff2fc5c36c119bffa4d30f1'
150150 ( cd ccs-specs && git reset --hard $CCS_SPECS_PINNED_SHA1 )
151151 export CHECK_API="${HOME}/ccs-specs/check-api.sh -j ${HOME}/yajsv"
152- $CHECK_API -n -C -e -a 'strict=1' http://admin:password@ localhost/domjudge/api
152+ $CHECK_API -n -C -e -a 'strict=1' http://localhost/domjudge/api
You can’t perform that action at this time.
0 commit comments