You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/05/06 10:53:29 UTC

[flink-docker] branch dev-1.15 updated (17bcbe4 -> 88264cd)

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

chesnay pushed a change to branch dev-1.15
in repository https://gitbox.apache.org/repos/asf/flink-docker.git


    from 17bcbe4  Merge adjacent RUN commands to avoid too much levels
     new 8c7e70e  [hotfix] Remove unused variables
     new 88264cd  [FLINK-27488][ci] Migrate to GHA

The 2 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/ci.yml    | 30 ++++++++++++++++++++++++++++++
 .travis.yml                 | 14 --------------
 testing/run_tests.sh        | 16 ++++++++++++++++
 testing/run_travis_tests.sh | 27 ---------------------------
 4 files changed, 46 insertions(+), 41 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 delete mode 100644 .travis.yml
 create mode 100755 testing/run_tests.sh
 delete mode 100755 testing/run_travis_tests.sh


[flink-docker] 01/02: [hotfix] Remove unused variables

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

chesnay pushed a commit to branch dev-1.15
in repository https://gitbox.apache.org/repos/asf/flink-docker.git

commit 8c7e70e98cf9103a9594c727de440215050af746
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed May 4 15:36:32 2022 +0200

    [hotfix] Remove unused variables
---
 testing/run_travis_tests.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/testing/run_travis_tests.sh b/testing/run_travis_tests.sh
index 464c822..7ff7ce6 100755
--- a/testing/run_travis_tests.sh
+++ b/testing/run_travis_tests.sh
@@ -4,12 +4,6 @@ SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
 
 . "${SCRIPT_DIR}/testing_lib.sh"
 
-IS_PULL_REQUEST=
-if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
-  IS_PULL_REQUEST=1
-fi
-
-BRANCH="$TRAVIS_BRANCH"
 
 test_docker_entrypoint
 


[flink-docker] 02/02: [FLINK-27488][ci] Migrate to GHA

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

chesnay pushed a commit to branch dev-1.15
in repository https://gitbox.apache.org/repos/asf/flink-docker.git

commit 88264cd1a5f6111a1ef5bab8249ba8e1d6b8c62c
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed May 4 15:36:38 2022 +0200

    [FLINK-27488][ci] Migrate to GHA
---
 .github/workflows/ci.yml    | 30 ++++++++++++++++++++++++++++++
 .travis.yml                 | 14 --------------
 testing/run_tests.sh        | 16 ++++++++++++++++
 testing/run_travis_tests.sh | 21 ---------------------
 4 files changed, 46 insertions(+), 35 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..6aaf266
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: "CI"
+
+on: [push, pull_request]
+
+jobs:
+  ci:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - name: "Build images"
+        run: |
+          ./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.15-SNAPSHOT-bin-scala_2.12.tgz" -j 8 -n test-java8
+          ./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.15-SNAPSHOT-bin-scala_2.12.tgz" -j 11 -n test-java11
+      - name: "Test images"
+        run: testing/run_tests.sh
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 6f58f78..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-os: linux
-dist: bionic
-language: java
-jdk: "openjdk8"
-
-cache:
-  directories:
-    - $HOME/.m2
-
-services:
-- docker
-
-script:
-- testing/run_travis_tests.sh
diff --git a/testing/run_tests.sh b/testing/run_tests.sh
new file mode 100755
index 0000000..764eaa0
--- /dev/null
+++ b/testing/run_tests.sh
@@ -0,0 +1,16 @@
+#!/bin/bash -e
+
+SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
+
+. "${SCRIPT_DIR}/testing_lib.sh"
+
+
+test_docker_entrypoint
+
+smoke_test_all_images
+smoke_test_one_image_non_root
+
+
+echo "Test successfully finished"
+
+# vim: et ts=2 sw=2
diff --git a/testing/run_travis_tests.sh b/testing/run_travis_tests.sh
deleted file mode 100755
index 7ff7ce6..0000000
--- a/testing/run_travis_tests.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash -e
-
-SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
-
-. "${SCRIPT_DIR}/testing_lib.sh"
-
-
-test_docker_entrypoint
-
-./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.15-SNAPSHOT-bin-scala_2.12.tgz" -j 8 -n test-java8
-
-# test Flink with Java11 image as well
-./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.15-SNAPSHOT-bin-scala_2.12.tgz" -j 11 -n test-java11
-
-smoke_test_all_images
-smoke_test_one_image_non_root
-
-
-echo "Test successfully finished"
-
-# vim: et ts=2 sw=2