Skip to content

Commit 1b2f8b7

Browse files
committed
Change the URLs and fix tiervnoj tests
1 parent 30c6a2f commit 1b2f8b7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test-tier2:
3131
docker run --rm -v "`pwd`/test":/code --cap-add=SYS_PTRACE hnoj/runtimes-tier2
3232

3333
test-tier3:
34-
docker run --rm -v "`pwd`/test":/code --cap-add=SYS_PTRACE hnoj/runtimes-tier3
34+
docker run --rm -v "`pwd`/test-tier3":/code --cap-add=SYS_PTRACE hnoj/runtimes-tier3
3535

3636
test-tiervnoj:
37-
docker run --rm -v "`pwd`/test-tier3":/code --cap-add=SYS_PTRACE hnoj/runtimes-tiervnoj
37+
docker run --rm -v "`pwd`/test":/code --cap-add=SYS_PTRACE hnoj/runtimes-tiervnoj

test-tier3/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mv scratch-run /usr/bin/scratch-run
66

77
mkdir /judge
88
cd /judge || exit
9-
curl -L https://github.com/VNOI-Admin/judge-server/archive/master.tar.gz | tar -xz --strip-components=1
9+
curl -L https://github.com/hnojedu/judge-server/archive/master.tar.gz | tar -xz --strip-components=1
1010

1111
mkdir -p /usr/lib/fpc/
1212
cp asset/Windows.pas /usr/lib/fpc/

test/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
mkdir /judge
33
cd /judge || exit
4-
curl -L https://github.com/VNOI-Admin/judge-server/archive/master.tar.gz | tar -xz --strip-components=1
4+
curl -L https://github.com/hnojedu/judge-server/archive/master.tar.gz | tar -xz --strip-components=1
55
python3 -m venv --prompt=DMOJ env
66
env/bin/pip3 install -e .
77
runuser -u judge -w PATH -- bash -c '. ~/.profile; /judge/env/bin/dmoj-autoconf -V'

tier2/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ RUN apt-get update && \
2424
runuser judge -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y' && \
2525
mkdir rust && ( \
2626
cd rust && \
27-
curl -sL https://raw.githubusercontent.com/VNOI-Admin/judge-server/master/dmoj/executors/RUST.py | \
27+
curl -sL https://raw.githubusercontent.com/hnojedu/judge-server/master/dmoj/executors/RUST.py | \
2828
sed '/^CARGO_TOML/,/^"""/!d;//d' > Cargo.toml && \
2929
mkdir src && \
30-
curl -sL https://raw.githubusercontent.com/VNOI-Admin/judge-server/master/dmoj/executors/RUST.py | \
30+
curl -sL https://raw.githubusercontent.com/hnojedu/judge-server/master/dmoj/executors/RUST.py | \
3131
sed '/^TEST_PROGRAM/,/^"""/!d;//d' > src/main.rs && \
3232
chown -R judge: . && \
3333
runuser -u judge /home/judge/.cargo/bin/cargo fetch \

0 commit comments

Comments
 (0)