-
Notifications
You must be signed in to change notification settings - Fork 14
49 lines (40 loc) · 1.28 KB
/
set_rook_ceph_cluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Plugin Go test
on:
pull_request:
branches:
- main
- release-*
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}
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
rook-ceph-cluster:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: consider debugging
uses: ./.github/workflows/tmate_debug
with:
use-tmate: ${{ secrets.USE_TMATE }}
- name: Setup Minikube
run: |
test/scripts/github-action-helper.sh install_minikube_with_none_driver v1.28.4
- name: print k8s cluster status
run: |
minikube status
kubectl get nodes
- name: use local disk
run: test/scripts/github-action-helper.sh use_local_disk
- name: deploy rook cluster
run: test/scripts/github-action-helper.sh deploy_rook