Skip to content

Commit

Permalink
test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyjf committed May 19, 2022
1 parent 192e086 commit d53c8b9
Show file tree
Hide file tree
Showing 4 changed files with 581 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integration-test-setup/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Cluster Setup
description: Cluster setup for integration test

runs:
using: "composite"
steps:
- name: Create kind cluster
uses: helm/[email protected]
29 changes: 29 additions & 0 deletions .github/workflows/test1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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}

jobs:
TestCephHelmSuite:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
kubernetes-versions : ['v1.23.0']
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
Loading

0 comments on commit d53c8b9

Please sign in to comment.