diff --git a/.github/workflows/integration-test-setup/action.yaml b/.github/workflows/integration-test-setup/action.yaml deleted file mode 100644 index 64f7bc0..0000000 --- a/.github/workflows/integration-test-setup/action.yaml +++ /dev/null @@ -1,8 +0,0 @@ -name: Cluster Setup -description: Cluster setup for integration test - -runs: - using: "composite" - steps: - - name: Create kind cluster - uses: helm/kind-action@v1.2.0 diff --git a/.github/workflows/test1.yaml b/.github/workflows/test1.yaml index b5c3d85..d7de4a9 100644 --- a/.github/workflows/test1.yaml +++ b/.github/workflows/test1.yaml @@ -1,29 +1,17 @@ name: test workflow on: - push: - -defaults: - run: - # reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell - shell: bash --noprofile --norc -eo pipefail -x {0} + release: + types: + - "published" jobs: - TestCephHelmSuite: + test_release_published: runs-on: ubuntu-20.04 strategy: - fail-fast: false matrix: - kubernetes-versions : ['v1.23.0'] + value: ${{ github.event.release.assets }} steps: - - name: checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: setup cluster resources - uses: ./.github/workflows/integration-test-setup - - - name: setup tmate session for debugging when event is PR - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 120 + - name: Dump trigger event + run: | + echo '${{ matrix.value.browser_download_url }}'