Unverified Commit aeeddbd5 authored by samz406's avatar samz406 Committed by GitHub
Browse files

Merge pull request #6 from apache/dev

update
parents 6e1dbd89 68e4e5c4
Loading
Loading
Loading
Loading

.asf.yaml

0 → 100644
+10 −0
Original line number Diff line number Diff line
staging:
  profile: ~
  whoami: dev
  foo: trigger

publish:
  whoami: dev

github:
  description: “Dolphin Scheduler is a distributed and easy-to-extend visual DAG workflow scheduling system, dedicated to solving the complex dependencies in data processing, making the scheduling system out of the box for data processing.(分布式易扩展的可视化工作流任务调度)”
 No newline at end of file
+15 −3
Original line number Diff line number Diff line
@@ -45,17 +45,29 @@ jobs:
  Compile-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - name: Set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Compile
        run: mvn -U -B -T 1C clean install -Prelease -Dmaven.compile.fork=true -Dmaven.test.skip=true
        run: mvn -B clean compile package -Prelease -Dmaven.test.skip=true
  License-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - name: Set up JDK 1.8
        uses: actions/setup-java@v1
        with:
+8 −4
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
# limitations under the License.
#

on: ["push", "pull_request"]
on: ["pull_request"]
env:
  DOCKER_DIR: ./docker
  LOG_DIR: /tmp/dolphinscheduler
@@ -29,9 +29,13 @@ jobs:
    runs-on: ubuntu-latest
    steps:

      - uses: actions/checkout@v1
        with:
          submodules: true
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - uses: actions/cache@v1
        with:
          path: ~/.m2/repository
+14 −2
Original line number Diff line number Diff line
@@ -34,7 +34,13 @@ jobs:
      matrix:
        os: [ubuntu-latest, macos-latest]
    steps:
      - uses: actions/checkout@v1
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - name: Set up Node.js
        uses: actions/setup-node@v1
        with:
@@ -49,7 +55,13 @@ jobs:
  License-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - name: Set up JDK 1.8
        uses: actions/setup-java@v1
        with:
+16 −4
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
# limitations under the License.
#

on: ["push", "pull_request"]
on: ["pull_request", "push"]
env:
  DOCKER_DIR: ./docker
  LOG_DIR: /tmp/dolphinscheduler
@@ -29,9 +29,13 @@ jobs:
    runs-on: ubuntu-latest
    steps:

      - uses: actions/checkout@v1
        with:
          submodules: true
      - uses: actions/checkout@v2
      # In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
      - name: checkout submodules
        shell: bash
        run: |
          git submodule sync --recursive
          git -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - uses: actions/cache@v1
        with:
          path: ~/.m2/repository
@@ -48,7 +52,15 @@ jobs:
        run: |
          export MAVEN_OPTS='-Dmaven.repo.local=.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
          mvn test -B -Dmaven.test.skip=false
      - name: Upload coverage report to codecov
        if: github.event_name == 'pull_request'
        run: |
          CODECOV_TOKEN="09c2663f-b091-4258-8a47-c981827eb29a" bash <(curl -s https://codecov.io/bash)
      - name: Git fetch unshallow
        run: |
          git fetch --unshallow
          git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
          git fetch origin
      - name: Run SonarCloud Analysis
        run: >
          mvn verify --batch-mode
Loading