This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch dev-1.14 in repository https://gitbox.apache.org/repos/asf/flink-docker.git
commit 56566d7d94958f28d0f6c55e78d9e1b9a1973214 Author: Chesnay Schepler <ches...@apache.org> AuthorDate: Wed May 4 15:36:38 2022 +0200 [FLINK-27488][ci] Migrate to GHA --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++ .travis.yml | 14 ------------- testing/{run_travis_tests.sh => run_tests.sh} | 2 -- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f355ae4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +# 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-version.sh -r 1.14 -f 1.14.0 + - 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_travis_tests.sh b/testing/run_tests.sh similarity index 86% rename from testing/run_travis_tests.sh rename to testing/run_tests.sh index c87772a..764eaa0 100755 --- a/testing/run_travis_tests.sh +++ b/testing/run_tests.sh @@ -5,8 +5,6 @@ SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) . "${SCRIPT_DIR}/testing_lib.sh" -./add-version.sh -r 1.14 -f 1.14.3 - test_docker_entrypoint smoke_test_all_images