Skip to content

Commit

Permalink
fix workflows (#29009)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreydevyatkin authored Oct 19, 2023
1 parent 423ea23 commit 4f4a58a
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ jobs:
${{ matrix.java_version }}
8
- name: run jar Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:google-cloud-dataflow-java:testJar :runners:google-cloud-dataflow-java:worker:shadowJar
arguments: |
-Dorg.gradle.java.home=$JAVA_HOME_8_X64 \
run: |
./gradlew runners:google-cloud-dataflow-java:testJar :runners:google-cloud-dataflow-java:worker:shadowJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
- name: run validatesRunner Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ jobs:
distribution: 'zulu'
java-version: '8'
- name: run validatesRunner script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:direct-java:validatesRunner
run: ./gradlew :runners:direct-java:validatesRunner
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
if: failure()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ jobs:
${{ matrix.java_version }}
8
- name: run jar Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:direct-java:shadowJar :runners:direct-java:shadowTestJar
arguments: |
-Dorg.gradle.java.home=$JAVA_HOME_8_X64 \
run: |
./gradlew :runners:direct-java:shadowJar :runners:direct-java:shadowTestJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
- name: run validatesRunner Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
large_files: true
commit: '${{ env.prsha || env.GITHUB_SHA }}'
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
files: '**/build/test-results/**/*.xml'
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,9 @@ jobs:
11
8
- name: run jar Java8 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:flink:1.15:jar :runners:flink:1.15:testJar
arguments: |
-Dorg.gradle.java.home=$JAVA_HOME_8_X64 \
run: |
./gradlew :runners:flink:1.15:jar :runners:flink:1.15:testJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
- name: run validatesRunner Java11 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand All @@ -107,6 +105,7 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
large_files: true
commit: '${{ env.prsha || env.GITHUB_SHA }}'
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
files: '**/build/test-results/**/*.xml'
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,9 @@ jobs:
11
8
- name: run jar Java8 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:spark:3:jar :runners:spark:3:testJar
arguments: |
-Dorg.gradle.java.home=$JAVA_HOME_8_X64 \
run: |
./gradlew :runners:spark:3:jar :runners:spark:3:testJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
- name: run validatesRunner Java11 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ jobs:
with:
python-version: '3.8'
- name: run ulrLoopbackValidatesRunner script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:portability:java:ulrLoopbackValidatesRunner
run: ./gradlew :runners:portability:java:ulrLoopbackValidatesRunner
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
if: failure()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
startsWith(github.event.comment.body, 'Run Python Examples_Flink')
runs-on: [self-hosted, ubuntu-20.04, main]
timeout-minutes: 120
timeout-minutes: 240
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
strategy:
fail-fast: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-environment-action
with:
java-version: 8
java-version: |
11
8
python-version: ${{ matrix.python_version }}
- name: Set PY_VER_CLEAN
id: set_py_ver_clean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-environment-action
with:
java-version: 8
java-version: |
11
8
python-version: ${{ matrix.python_version }}
- name: Set PY_VER_CLEAN
id: set_py_ver_clean
Expand Down

0 comments on commit 4f4a58a

Please sign in to comment.