Skip to content

Commit

Permalink
chore: Update gradle version in integration-test (omegat-org#777)
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr authored Oct 19, 2023
1 parent 415fc8f commit 9f28fd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test-integration/docker/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FROM debian:bullseye-slim
ARG CAVER=1.0.2-1
ARG JAVA=11
ARG JDKVER=jdk_11.0.20.1.0+1
ARG GRADLE=8.3
ARG GRADLE=8.4
RUN apt-get -y update && apt-get upgrade -y && apt-get install -y openssh-client git inotify-tools curl subversion unzip rsync \
java-common libasound2 libfontconfig1 libfreetype6 libxi6 libxrender1 libxtst6 p11-kit
RUN adduser --disabled-password --gecos "" --home /home/omegat --shell /bin/bash omegat && mkdir -p /home/omegat/.ssh
Expand All @@ -42,7 +42,7 @@ RUN curl -LO https://packages.adoptium.net/artifactory/deb/pool/main/a/adoptium-
&& dpkg -i adoptium-ca-certificates_${CAVER}_all.deb temurin-${JAVA}-${JDKVER}_amd64.deb \
&& rm -f adoptium-ca-certificates_${CAVER}_all.deb temurin-${JAVA}-${JDKVER}_amd64.deb
RUN (cd /opt && curl -LO https://services.gradle.org/distributions/gradle-${GRADLE}-bin.zip \
&& unzip -q gradle-${GRADLE}-bin.zip && rm -f gradle-${GRADLE}-bin.zip)
&& unzip -q gradle-${GRADLE}-bin.zip && rm -f gradle-${GRADLE}-bin.zip) && mv /opt/gradle-${GRADLE} /opt/gradle

USER omegat

Expand Down
2 changes: 1 addition & 1 deletion test-integration/docker/client/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ chmod 600 /home/omegat/.ssh/id_rsa
ssh-keyscan -H server > /home/omegat/.ssh/known_hosts

cd /workdir
exec /opt/gradle-8.3/bin/gradle testIntegration \
exec /opt/gradle/bin/gradle testIntegration \
-Djava.util.logging.config.file=/workdir/test-integration/logger.properties \
-Domegat.test.duration=${DURATION} -Domegat.test.repo=${REPO} \
-Domegat.test.repo.alt=${REPO2} -Domegat.test.map.repo=http://server/ -Domegat.test.map.file=README

0 comments on commit 9f28fd9

Please sign in to comment.