Skip to content

Commit

Permalink
Test release published event
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyjf committed Jun 2, 2022
1 parent d53c8b9 commit 9e7e4cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/integration-test-setup/action.yaml

This file was deleted.

28 changes: 8 additions & 20 deletions .github/workflows/test1.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 9e7e4cf

Please sign in to comment.