File tree 9 files changed +30
-21
lines changed
9 files changed +30
-21
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ jobs:
114
114
uses : ./.github/workflows/actions/build
115
115
with :
116
116
path : epicbox-hyperskill/gradle
117
- image_name_tag : hyperskill-gradle:7.3-jdk11
117
+ image_name_tag : hyperskill-gradle:8.5-jdk17
118
118
username : ${{ secrets.REGISTRY_USER }}
119
119
password : ${{ secrets.REGISTRY_PASSWORD }}
120
120
build_hyperskill_gradle_spring_image :
@@ -127,7 +127,7 @@ jobs:
127
127
uses : ./.github/workflows/actions/build
128
128
with :
129
129
path : epicbox-hyperskill/gradle-spring
130
- image_name_tag : hyperskill-gradle-spring:7.3 -jdk17
130
+ image_name_tag : hyperskill-gradle-spring:8.5 -jdk17
131
131
username : ${{ secrets.REGISTRY_USER }}
132
132
password : ${{ secrets.REGISTRY_PASSWORD }}
133
133
build_hyperskill_java_image :
Original file line number Diff line number Diff line change 1
- FROM gradle:7.3 -jdk17
1
+ FROM gradle:8.5 -jdk17
2
2
3
3
COPY --chown=gradle checker/ /checker/
4
4
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ subprojects {
7
7
8
8
repositories {
9
9
mavenCentral()
10
+ maven { url " https://packages.jetbrains.team/maven/p/hyperskill-hs-test/maven" }
10
11
maven { url " https://jitpack.io" }
11
12
}
12
13
13
14
dependencies {
14
- testImplementation ' com.github.hyperskill:hs-test:v10 .0.3 '
15
+ testImplementation ' com.github.hyperskill:hs-test:12 .0.2 '
15
16
}
16
17
17
18
sourceSets {
@@ -43,7 +44,7 @@ subprojects {
43
44
44
45
project(' :util' ) {
45
46
dependencies {
46
- implementation ' com.github.hyperskill:hs-test:v10 .0.3 '
47
+ implementation ' com.github.hyperskill:hs-test:12 .0.2 '
47
48
}
48
49
}
49
50
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ buildscript {
2
2
apply plugin : ' hyperskill'
3
3
4
4
def javaVersion = Integer . parseInt(JavaVersion . current(). getMajorVersion())
5
- def bootVersion = (javaVersion == 17 ) ? hs. spring. bootVersion : " 2.3.1.RELEASE "
6
- def depsVersion = (javaVersion == 17 ) ? hs. spring. dependencyManagementVersion : " 1.0.9.RELEASE "
5
+ def bootVersion = (javaVersion == 17 ) ? hs. spring. bootVersion : " 3.2.0 "
6
+ def depsVersion = (javaVersion == 17 ) ? hs. spring. dependencyManagementVersion : " 1.1.3 "
7
7
8
8
repositories {
9
9
mavenCentral()
Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
repositories {
3
+ maven { url " https://packages.jetbrains.team/maven/p/hyperskill-hs-test/maven" }
3
4
maven { url ' https://jitpack.io' }
4
5
}
5
6
6
7
dependencies {
7
- classpath ' com.github.hyperskill:hs-gradle-plugin:v1.1 '
8
+ classpath ' com.github.hyperskill:hs-gradle-plugin:1.6 '
8
9
}
9
10
}
10
11
Original file line number Diff line number Diff line change 1
- FROM gradle:7.3-jdk11
1
+ FROM gradle:8.5.0-jdk17
2
2
3
3
COPY --chown=gradle checker/ /checker/
4
4
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' application'
3
- id ' org.jetbrains.kotlin.jvm' version ' 1.5.30 '
3
+ id ' org.jetbrains.kotlin.jvm' version ' 2.0.0 '
4
4
id ' scala'
5
5
}
6
6
7
- sourceCompatibility = 11
7
+ sourceCompatibility = 17
8
8
9
9
repositories {
10
10
mavenCentral()
11
+ maven { url " https://packages.jetbrains.team/maven/p/hyperskill-hs-test/maven" }
11
12
maven { url " https://jitpack.io" }
12
13
}
13
14
14
15
dependencies {
15
16
implementation ' org.jetbrains.kotlin:kotlin-stdlib-jdk8'
16
- implementation ' org.scala-lang:scala-library:2.13.6 '
17
- testImplementation ' com.github.hyperskill:hs-test:v10 .0.3 '
17
+ implementation ' org.scala-lang:scala-library:2.13.12 '
18
+ testImplementation ' com.github.hyperskill:hs-test:12 .0.2 '
18
19
}
19
20
20
21
sourceSets {
Original file line number Diff line number Diff line change 1
- FROM openjdk:17-slim
1
+ FROM openjdk:17-jdk- slim
2
2
3
3
RUN apt-get update && \
4
4
apt-get install --yes python3 unzip curl && \
@@ -11,7 +11,7 @@ RUN mkdir /checker && \
11
11
rm /checker/kotlin.zip
12
12
13
13
RUN curl -L -o /checker/hs-test.jar \
14
- https://github.com/hyperskill/hs-test/releases/download/v10 .0.3 /hs-test-10 .0.3 .jar
14
+ https://github.com/hyperskill/hs-test/releases/download/v12 .0.2 /hs-test-12 .0.2 .jar
15
15
16
16
ENV PATH="/checker/kotlinc/bin:$PATH"
17
17
Original file line number Diff line number Diff line change 1
- FROM stepik /hyperstyle-base:py3.8.11 -java11.0.11-node14.17.3-go1.18.5
1
+ FROM hyperskill.azurecr.io /hyperstyle-base:py3.10.14 -java11.0.11-node14.17.3-go1.18.5
2
2
3
3
ENV ESLINT_VERSION 7.5.0
4
4
@@ -18,7 +18,7 @@ ENV GOLANG_LINT_DIRECTORY ${LINTERS_DIRECTORY}/golangci-lint
18
18
19
19
RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev python3-dev git
20
20
21
- RUN git clone --branch develop https://github.com/hyperskill/hyperstyle.git /review
21
+ RUN git clone --branch main https://github.com/hyperskill/hyperstyle.git /review
22
22
23
23
RUN mkdir -p ${CHECKSTYLE_DIRECTORY} && \
24
24
mkdir -p ${DETEKT_DIRECTORY} && \
@@ -60,10 +60,16 @@ RUN go mod download && \
60
60
rm main.go && \
61
61
chmod ugo-w go.mod go.sum
62
62
63
- RUN pip install -r ./review/requirements-build.txt --verbose
64
- RUN pip install -r ./review/requirements.txt --verbose
65
- RUN pip install -r ./review/requirements-test.txt --verbose
63
+ ARG POETRY_VERSION=1.8.3
64
+ RUN pip install poetry==${POETRY_VERSION} \
65
+ && poetry config virtualenvs.create false \
66
+ && python -m venv /hyperstyle
66
67
67
- RUN pip install ./review --use-feature=in-tree-build
68
+ WORKDIR /review
69
+
70
+ RUN . /hyperstyle/bin/activate \
71
+ && poetry install --no-interaction --no-ansi --no-cache --no-root
72
+
73
+ WORKDIR /
68
74
69
75
CMD ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments