diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index f6476917b2b..7ae9842c9ed 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 86a0dc9dc4b..dc13cd9add0 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 b1354cb4871..00000000000 --- 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 d78d2dc570a..bb9bf6e82d7 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 }}