Skip to content

Commit d063d3e

Browse files
committed
Integration test will now use a prebuild chroot
This should speedup the integration test by quite a lot. We don´t change the `dj_make_chroot` that often and already have tests to build the chroot so we still do it, just not in this test anymore.
1 parent 71f90f2 commit d063d3e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/jobs/baseinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ "$version" = "all" ]; then
4545
./configure \
4646
--with-baseurl='http://localhost/domjudge/' \
4747
--with-domjudge-user=domjudge \
48-
--with-judgehost-chrootdir=/chroot/domjudge | tee "$ARTIFACTS"/configure.txt
48+
--with-judgehost-chrootdir=/home/runner/work/domjudge-packaging/domjudge-packaging/docker-gitlabci/domjudge-main/chroot | tee "$ARTIFACTS"/configure.txt
4949
make build-scripts domserver judgehost docs
5050
make install-domserver install-judgehost install-docs
5151
else

.github/workflows/integration.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
run: pstree -p
5454
- name: Install DOMjudge
5555
run: .github/jobs/baseinstall.sh all
56-
- name: Set up chroot
57-
run: sudo misc-tools/dj_make_chroot -a amd64
5856
- name: Check nginx
5957
run: curl -v https://localhost/domjudge/
6058
- name: Configure print command

0 commit comments

Comments
 (0)