Skip to content

Commit

Permalink
Update hs-test-python and hs-test versions for epicbox-hyperskill (#66)
Browse files Browse the repository at this point in the history
#HSPC-38
  • Loading branch information
inuur authored Oct 20, 2022
1 parent 8551917 commit 7cfca64
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion epicbox-hyperskill/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN mkdir /checker && \
rm /checker/kotlin.zip

RUN curl -L -o /checker/hs-test.jar \
https://github.com/hyperskill/hs-test/releases/download/v9.0.2/hs-test-9.jar
https://github.com/hyperskill/hs-test/releases/download/v10.0.0/hs-test-10.jar

ENV PATH="/checker/kotlinc/bin:$PATH"

Expand Down
4 changes: 2 additions & 2 deletions epicbox-hyperskill/gradle-spring/checker/sandbox/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ subprojects {
}

dependencies {
testImplementation 'com.github.hyperskill:hs-test:v8.2'
testImplementation 'com.github.hyperskill:hs-test:v10.0.0'
}

sourceSets {
Expand Down Expand Up @@ -44,7 +44,7 @@ subprojects {

project(':util') {
dependencies {
implementation 'com.github.hyperskill:hs-test:v8.2'
implementation 'com.github.hyperskill:hs-test:v10.0.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion epicbox-hyperskill/gradle/checker/template/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repositories {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.scala-lang:scala-library:2.13.6'
testImplementation 'com.github.hyperskill:hs-test:v8.2'
testImplementation 'com.github.hyperskill:hs-test:v10.0.0'
}

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion epicbox-hyperskill/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN mkdir /checker && \
rm /checker/kotlin.zip

RUN curl -L -o /checker/hs-test.jar \
https://github.com/hyperskill/hs-test/releases/download/v9/hs-test-9.jar
https://github.com/hyperskill/hs-test/releases/download/v10.0.0/hs-test-10.jar

ENV PATH="/checker/kotlinc/bin:$PATH"

Expand Down
4 changes: 2 additions & 2 deletions epicbox-hyperskill/node-javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:18-alpine
RUN apk add --no-cache python3 openjdk17-jdk curl bash

RUN apk add --no-cache python3-dev py3-pip gcc musl-dev linux-headers && \
pip3 install https://github.com/hyperskill/hs-test-python/archive/v9.tar.gz && \
pip3 install https://github.com/hyperskill/hs-test-python/archive/v10.tar.gz && \
apk del --no-cache python3-dev py3-pip gcc musl-dev linux-headers

RUN mkdir /checker && \
Expand All @@ -13,7 +13,7 @@ RUN mkdir /checker && \
rm /checker/kotlin.zip

RUN curl -L -o /checker/hs-test.jar \
https://github.com/hyperskill/hs-test/releases/download/v9.0.2/hs-test-9.jar
https://github.com/hyperskill/hs-test/releases/download/v10.0.0/hs-test-10.jar

ENV PATH="/checker/kotlinc/bin:$PATH"

Expand Down
2 changes: 1 addition & 1 deletion epicbox-hyperskill/node/checker/sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"hs-test-web": "https://github.com/hyperskill/hs-test-web/archive/v1.1.tar.gz",
"hs-test-web": "https://github.com/hyperskill/hs-test-web/archive/v4.tar.gz",
"hs-test-web-server": "https://github.com/hyperskill/hs-test-web-server/archive/v1.1.tar.gz",
"hs-test-web-dependencies": "https://github.com/hyperskill/hs-test-web-dependencies/archive/v1.1.tar.gz"
},
Expand Down
13 changes: 8 additions & 5 deletions epicbox-hyperskill/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM python:3.10-slim

RUN apt-get update && \
apt-get install --yes bc && \
apt-get install --yes git && \
apt-get install --yes sqlite3 && \
rm -rf /var/lib/apt/lists/*
apt-get install --yes --no-install-recommends \
bc \
curl \
git \
sqlite3 \
wget \
&& rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache \
https://github.com/hyperskill/hs-test-python/archive/v9.tar.gz \
https://github.com/hyperskill/hs-test-python/archive/v10.tar.gz \
GitPython==3.1.27

COPY checker/ /checker/

0 comments on commit 7cfca64

Please sign in to comment.