Skip to content

Commit

Permalink
Merge pull request #1106 from data-integrations/gcp-modules-2
Browse files Browse the repository at this point in the history
Split GCP Plugins into multiple modules
  • Loading branch information
fernst authored Aug 15, 2022
2 parents 26d3999 + 595e03c commit 8c64373
Show file tree
Hide file tree
Showing 496 changed files with 4,088 additions and 959 deletions.
90 changes: 46 additions & 44 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,47 +47,49 @@ jobs:
- uses: actions/[email protected]
with:
path: plugin
- uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'
id: filter
with:
working-directory: plugin
filters: |
e2e-test:
- '**/e2e-test/**'
- name: Checkout e2e test repo
uses: actions/[email protected]
with:
repository: cdapio/cdap-e2e-tests
path: e2e
- name: Cache
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ github.workflow }}
- name: Run required e2e tests
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunnerRequired.java
- name: Run all e2e tests
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunner.java
- name: Upload report
uses: actions/[email protected]
if: always()
with:
name: Cucumber report - ${{ matrix.tests }}
path: ./plugin/target/cucumber-reports
- name: Upload debug files
uses: actions/[email protected]
if: always()
with:
name: Debug files - ${{ matrix.tests }}
path: ./**/target/e2e-debug
- name: Upload files to GCS
uses: google-github-actions/upload-cloud-storage@v0
if: always()
with:
path: ./plugin/target/cucumber-reports
destination: e2e-tests-cucumber-reports/${{ github.event.repository.name }}/${{ github.ref }}
# TODO: uncomment once we have added support to load submodules as dependencies to
# Sandbox instance for integration tests.
# - uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
# if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'
# id: filter
# with:
# working-directory: plugin
# filters: |
# e2e-test:
# - '**/e2e-test/**'
# - name: Checkout e2e test repo
# uses: actions/[email protected]
# with:
# repository: cdapio/cdap-e2e-tests
# path: e2e
# - name: Cache
# uses: actions/[email protected]
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-${{ github.workflow }}
# - name: Run required e2e tests
# if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
# run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunnerRequired.java
# - name: Run all e2e tests
# if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
# run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunner.java
# - name: Upload report
# uses: actions/[email protected]
# if: always()
# with:
# name: Cucumber report - ${{ matrix.tests }}
# path: ./plugin/target/cucumber-reports
# - name: Upload debug files
# uses: actions/[email protected]
# if: always()
# with:
# name: Debug files - ${{ matrix.tests }}
# path: ./**/target/e2e-debug
# - name: Upload files to GCS
# uses: google-github-actions/upload-cloud-storage@v0
# if: always()
# with:
# path: ./plugin/target/cucumber-reports
# destination: e2e-tests-cucumber-reports/${{ github.event.repository.name }}/${{ github.ref }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 8c64373

Please sign in to comment.