You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/01/25 05:47:53 UTC

[skywalking] branch docker/j17 updated (1e129ac -> aed1e73)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch docker/j17
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


 discard 1e129ac  Add Docker images based on 17 and test it
     new aed1e73  Add Docker images based on 17 and test it

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1e129ac)
            \
             N -- N -- N   refs/heads/docker/j17 (aed1e73)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/e2e.jdk-versions.yaml             | 14 ++++----------
 docker/oap/Dockerfile                               |  2 +-
 docker/ui/Dockerfile                                |  2 +-
 test/e2e-v2/cases/meter/docker-compose.yml          |  2 +-
 test/e2e-v2/cases/ttl/es/docker-compose.yml         |  2 +-
 test/e2e-v2/cases/ttl/influxdb/docker-compose.yml   |  2 +-
 test/e2e-v2/cases/ttl/iotdb/docker-compose.yml      |  2 +-
 test/e2e-v2/cases/ttl/postgresql/docker-compose.yml |  2 +-
 test/e2e-v2/cases/ttl/tidb/docker-compose.yml       |  2 +-
 test/e2e-v2/script/dockerfile/Dockerfile.h2         |  4 ++--
 10 files changed, 14 insertions(+), 20 deletions(-)

[skywalking] 01/01: Add Docker images based on 17 and test it

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch docker/j17
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit aed1e737fe5f02ba1ba65d3419189a4e35ddaaba
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Jan 25 13:37:52 2022 +0800

    Add Docker images based on 17 and test it
---
 .github/workflows/e2e.jdk-versions.yaml             | 9 ++++++---
 .github/workflows/publish-docker.yaml               | 6 ++++++
 docker/oap/Dockerfile                               | 2 +-
 docker/ui/Dockerfile                                | 2 +-
 test/e2e-v2/cases/meter/docker-compose.yml          | 2 +-
 test/e2e-v2/cases/ttl/es/docker-compose.yml         | 2 +-
 test/e2e-v2/cases/ttl/influxdb/docker-compose.yml   | 2 +-
 test/e2e-v2/cases/ttl/iotdb/docker-compose.yml      | 2 +-
 test/e2e-v2/cases/ttl/postgresql/docker-compose.yml | 2 +-
 test/e2e-v2/cases/ttl/tidb/docker-compose.yml       | 2 +-
 test/e2e-v2/script/dockerfile/Dockerfile.h2         | 4 ++--
 11 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/e2e.jdk-versions.yaml b/.github/workflows/e2e.jdk-versions.yaml
index 5bf6ea5..e1c45f3 100644
--- a/.github/workflows/e2e.jdk-versions.yaml
+++ b/.github/workflows/e2e.jdk-versions.yaml
@@ -17,6 +17,9 @@
 name: E2E
 
 on:
+  push:
+    branches:
+      - docker/j17
   pull_request:
   schedule:
     - cron: '0 18 * * *'
@@ -33,10 +36,10 @@ jobs:
     timeout-minutes: 90
     strategy:
       matrix:
-        jdk: [ 8, 11, 12, 13, 14, 15, 16 ]
+        jdk: [ 8, 11, 17 ]
     env:
+      SW_OAP_BASE_IMAGE: eclipse-temurin:${{ matrix.jdk }}-jre
       SW_AGENT_JDK_VERSION: ${{ matrix.jdk }}
-      SW_OAP_BASE_IMAGE: adoptopenjdk/openjdk${{ matrix.jdk }}:jre
     steps:
       - uses: actions/checkout@v2
         with:
@@ -44,7 +47,7 @@ jobs:
       - name: Set Up Java
         uses: actions/setup-java@v2
         with:
-          distribution: adopt
+          distribution: temurin
           java-version: ${{ matrix.jdk }}
       - name: Run E2E Test
         uses: ./.github/actions/infra-e2e-test
diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index 559c6f4..47960d9 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -20,6 +20,7 @@ on:
   push:
     branches:
       - master
+      - docker/j17
 
 env:
   SKIP_TEST: true
@@ -58,3 +59,8 @@ jobs:
         uses: docker/setup-buildx-action@v1
       - name: Build and push docker images
         run: make build.all docker.push
+      - name: Build and push docker images based on Java 17
+        env:
+          SW_OAP_BASE_IMAGE: eclipse-temurin:17-jre
+          TAG: ${{ github.sha }}-java17
+        run: make build.all docker.push
diff --git a/docker/oap/Dockerfile b/docker/oap/Dockerfile
index c6742ca..9f9a581 100644
--- a/docker/oap/Dockerfile
+++ b/docker/oap/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG BASE_IMAGE='adoptopenjdk/openjdk11:jre'
+ARG BASE_IMAGE='eclipse-temurin:11-jre'
 
 ARG SKYWALKING_CLI_VERSION
 
diff --git a/docker/ui/Dockerfile b/docker/ui/Dockerfile
index 904e593..a7cbbca 100644
--- a/docker/ui/Dockerfile
+++ b/docker/ui/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM adoptopenjdk/openjdk11:jre
+FROM eclipse-temurin:11-jre
 
 ENV JAVA_OPTS=" -Xms256M " \
     SW_OAP_ADDRESS="http://127.0.0.1:12800"
diff --git a/test/e2e-v2/cases/meter/docker-compose.yml b/test/e2e-v2/cases/meter/docker-compose.yml
index 7590a7d..7bb194b 100644
--- a/test/e2e-v2/cases/meter/docker-compose.yml
+++ b/test/e2e-v2/cases/meter/docker-compose.yml
@@ -40,7 +40,7 @@ services:
       - 9090
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/cases/ttl/es/docker-compose.yml b/test/e2e-v2/cases/ttl/es/docker-compose.yml
index 25841f5..426a4b1 100644
--- a/test/e2e-v2/cases/ttl/es/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/es/docker-compose.yml
@@ -48,7 +48,7 @@ services:
     - 12800
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/cases/ttl/influxdb/docker-compose.yml b/test/e2e-v2/cases/ttl/influxdb/docker-compose.yml
index 4d7e906..f83fa12 100644
--- a/test/e2e-v2/cases/ttl/influxdb/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/influxdb/docker-compose.yml
@@ -43,7 +43,7 @@ services:
     - 12800
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/cases/ttl/iotdb/docker-compose.yml b/test/e2e-v2/cases/ttl/iotdb/docker-compose.yml
index 2a5c238..131c72f 100644
--- a/test/e2e-v2/cases/ttl/iotdb/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/iotdb/docker-compose.yml
@@ -43,7 +43,7 @@ services:
     - 12800
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/cases/ttl/postgresql/docker-compose.yml b/test/e2e-v2/cases/ttl/postgresql/docker-compose.yml
index 3b16806..dad2729 100644
--- a/test/e2e-v2/cases/ttl/postgresql/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/postgresql/docker-compose.yml
@@ -47,7 +47,7 @@ services:
     - 12800
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/cases/ttl/tidb/docker-compose.yml b/test/e2e-v2/cases/ttl/tidb/docker-compose.yml
index 344cd02..3b5654e 100644
--- a/test/e2e-v2/cases/ttl/tidb/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/tidb/docker-compose.yml
@@ -49,7 +49,7 @@ services:
     - 12800
 
   sender:
-    image: "adoptopenjdk/openjdk8:alpine-jre"
+    image: "eclipse-temurin:8-jre"
     volumes:
       - ./../../../java-test-service/e2e-mock-sender/target/e2e-mock-sender-2.0.0.jar:/e2e-mock-sender-2.0.0.jar
     command: [ "java", "-jar", "/e2e-mock-sender-2.0.0.jar" ]
diff --git a/test/e2e-v2/script/dockerfile/Dockerfile.h2 b/test/e2e-v2/script/dockerfile/Dockerfile.h2
index b77f407..7efd795 100644
--- a/test/e2e-v2/script/dockerfile/Dockerfile.h2
+++ b/test/e2e-v2/script/dockerfile/Dockerfile.h2
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM adoptopenjdk/openjdk8:alpine
+FROM eclipse-temurin:11-jre
 
 WORKDIR /h2
 
@@ -21,4 +21,4 @@ VOLUME /h2/data
 
 ADD https://repo.maven.apache.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.jar /h2
 
-CMD ["sh", "-c", "java -cp /h2/*.jar org.h2.tools.Server -tcp -tcpAllowOthers -tcpPort 1521 -ifNotExists -baseDir /h2/data"]
\ No newline at end of file
+CMD ["sh", "-c", "java -cp /h2/*.jar org.h2.tools.Server -tcp -tcpAllowOthers -tcpPort 1521 -ifNotExists -baseDir /h2/data"]