Skip to content

Commit

Permalink
Add decommission test (minio#1959)
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz authored Feb 1, 2024
1 parent fb8586a commit 1936f74
Show file tree
Hide file tree
Showing 9 changed files with 730 additions and 2 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/kubernetes-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,29 @@ jobs:
- name: Test PolicyBinding CRD and sts call on kind
run: |
"${GITHUB_WORKSPACE}/testing/test-policy-binding.sh"
test-decommission:
timeout-minutes: 30
needs:
- operator
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.21.x ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v3
name: Operator Binary Cache
with:
path: |
./minio-operator
key: ${{ runner.os }}-binary-${{ github.run_id }}
- name: Decommission Test
run: |
"${GITHUB_WORKSPACE}/testing/decommission-test.sh"
helm:
timeout-minutes: 30
# The type of runner that the job will run on
Expand Down Expand Up @@ -321,3 +343,4 @@ jobs:
chmod +x kubectl
mv kubectl /usr/local/bin
"${GITHUB_WORKSPACE}/testing/check-helm.sh"
Loading

0 comments on commit 1936f74

Please sign in to comment.