Browse Source

Expose server version to build cache.

Original pull request: #4633
Closes: #4631
pull/4655/head
Christoph Strobl 2 years ago committed by Mark Paluch
parent
commit
1ca64d9052
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 1
      ci/openjdk17-mongodb-4.4/Dockerfile
  2. 1
      ci/openjdk17-mongodb-5.0/Dockerfile
  3. 1
      ci/openjdk17-mongodb-6.0/Dockerfile
  4. 1
      ci/openjdk17-mongodb-7.0/Dockerfile
  5. 1
      ci/openjdk21-mongodb-6.0/Dockerfile
  6. 1
      ci/openjdk21-mongodb-7.0/Dockerfile
  7. 2
      spring-data-mongodb/pom.xml

1
ci/openjdk17-mongodb-4.4/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

1
ci/openjdk17-mongodb-5.0/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

1
ci/openjdk17-mongodb-6.0/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

1
ci/openjdk17-mongodb-7.0/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

1
ci/openjdk21-mongodb-6.0/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

1
ci/openjdk21-mongodb-7.0/Dockerfile

@ -5,6 +5,7 @@ ARG MONGODB
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_VERSION=${MONGODB}
RUN set -eux; \ RUN set -eux; \
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \

2
spring-data-mongodb/pom.xml

@ -379,6 +379,8 @@
<exclude>**/ReactivePerformanceTests.java</exclude> <exclude>**/ReactivePerformanceTests.java</exclude>
</excludes> </excludes>
<systemPropertyVariables> <systemPropertyVariables>
<mongo.client>${mongo}</mongo.client>
<mongo.server>${env.MONGO_VERSION}</mongo.server>
<java.util.logging.config.file> <java.util.logging.config.file>
src/test/resources/logging.properties src/test/resources/logging.properties
</java.util.logging.config.file> </java.util.logging.config.file>

Loading…
Cancel
Save