You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by fa...@apache.org on 2023/04/17 02:41:51 UTC
[incubator-seatunnel] branch dev updated: [Chore][CI/CD] Delete docker.yml and fix wrong cron syntax (#4522)
This is an automated email from the ASF dual-hosted git repository.
fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new bc4c767d5 [Chore][CI/CD] Delete docker.yml and fix wrong cron syntax (#4522)
bc4c767d5 is described below
commit bc4c767d5dbf780ea94908f53553f9ed095d19b5
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Apr 17 10:41:44 2023 +0800
[Chore][CI/CD] Delete docker.yml and fix wrong cron syntax (#4522)
---
.github/workflows/backend.yml | 4 ++-
.github/workflows/codeql.yaml | 2 +-
.github/workflows/docker.yml | 54 ----------------------------------
.github/workflows/schedule_backend.yml | 2 +-
4 files changed, 5 insertions(+), 57 deletions(-)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index f6476917b..7ae9842c9 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -18,6 +18,8 @@
name: Backend
on:
push:
+ branches:
+ - dev
pull_request:
paths-ignore:
- 'docs/**'
@@ -657,4 +659,4 @@ jobs:
run: |
./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false -D"license.skipAddThirdParty"=true --no-snapshot-updates -pl :connector-jdbc-e2e-part-3 -am -Pci
env:
- MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
+ MAVEN_OPTS: -Xmx4096m
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml
index 86a0dc9dc..dc13cd9ad 100644
--- a/.github/workflows/codeql.yaml
+++ b/.github/workflows/codeql.yaml
@@ -17,7 +17,7 @@ name: "CodeQL"
on:
schedule:
- - cron: '0 0 12 * * ?'
+ - cron: '0 0 12 * *'
jobs:
analyze:
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
deleted file mode 100644
index b1354cb48..000000000
--- a/.github/workflows/docker.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# 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: Test Docker Images
-
-on:
- schedule:
- - cron: '0 0 12 * * ?'
-
-jobs:
- check:
- name: Spark
- runs-on: ubuntu-latest
- timeout-minutes: 60
- steps:
- - uses: actions/checkout@v2
- - name: Set up JDK 1.8
- uses: actions/setup-java@v2
- with:
- java-version: 8
- distribution: 'adopt'
- - name: Cache local Maven repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- ${{ runner.os }}-maven-
- - name: Build and Package
- run: |
- ./mvnw -B package \
- -Dmaven.test.skip=true \
- -Dlicense.skipAddThirdParty=true \
- -Dhttp.keepAlive=false \
- -Dmaven.wagon.http.pool=false \
- -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
- -Pdocker \
- --no-snapshot-updates
- - name: Sanity Check Docker Images
- run: docker-compose -f deploy/docker/spark/docker-compose.yaml up
diff --git a/.github/workflows/schedule_backend.yml b/.github/workflows/schedule_backend.yml
index d78d2dc57..bb9bf6e82 100644
--- a/.github/workflows/schedule_backend.yml
+++ b/.github/workflows/schedule_backend.yml
@@ -18,7 +18,7 @@
name: Schedule Backend
on:
schedule:
- - cron: '0 0 03 * * ?'
+ - cron: '0 0 03 * *'
concurrency:
group: backend-${{ github.event.pull_request.number || github.ref }}