ci: add option to download artifacts in canary test
this commit add option to download artifacts in canary integration test for better debug. Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
1 parent
4e151a7e78
commit
fcd1529b23
2 files changed
+84
-20
No files matched your search
@@ -77,6 +77,7 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh
|
||||
kubectl -n rook-ceph get pods
|
||||
|
||||
@@ -92,6 +93,14 @@ jobs:
|
||||
# copy the test file
|
||||
# execute the test file
|
||||
|
||||
- name: Upload canary test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: canary
|
||||
path: test
|
||||
|
||||
|
||||
pvc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -160,9 +169,17 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
|
||||
- name: Upload pvc test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: pvc
|
||||
path: test
|
||||
|
||||
pvc-db:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -239,9 +256,17 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
|
||||
- name: Upload pvc-db test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: pvc-db
|
||||
path: test
|
||||
|
||||
pvc-db-wal:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -320,8 +345,16 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
|
||||
- name: Upload pvc-db-wal test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: pvc-db-wal
|
||||
path: test
|
||||
|
||||
encryption-pvc:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -387,10 +420,18 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
kubectl -n rook-ceph get secrets
|
||||
sudo lsblk
|
||||
kubectl -n rook-ceph get secrets
|
||||
sudo lsblk
|
||||
|
||||
- name: Upload encryption-pvc test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: encryption-pvc
|
||||
path: test
|
||||
|
||||
encryption-pvc-db:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -469,9 +510,17 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
kubectl -n rook-ceph get secrets
|
||||
kubectl -n rook-ceph get secrets
|
||||
|
||||
- name: Upload encryption-pvc-db test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: encryption-pvc-db
|
||||
path: test
|
||||
|
||||
encryption-pvc-db-wal:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -548,9 +597,17 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
kubectl -n rook-ceph get secrets
|
||||
kubectl -n rook-ceph get secrets
|
||||
|
||||
- name: Upload encryption-pvc-db-wal test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: encryption-pvc-db-wal
|
||||
path: test
|
||||
|
||||
encryption-pvc-kms-vault-token-auth:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -623,10 +680,19 @@ jobs:
|
||||
|
||||
- name: wait for ceph to be ready
|
||||
run: |
|
||||
mkdir test
|
||||
tests/scripts/validate_cluster.sh osd
|
||||
kubectl -n rook-ceph get pods
|
||||
kubectl -n rook-ceph get secrets
|
||||
|
||||
- name: validate vault
|
||||
run: |
|
||||
tests/scripts/deploy-validate-vault.sh validate
|
||||
sudo lsblk
|
||||
tests/scripts/deploy-validate-vault.sh validate
|
||||
sudo lsblk
|
||||
|
||||
- name: Upload encryption-pvc-kms-vault-token-auth test result
|
||||
uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
name: encryption-pvc-kms-vault-token-auth
|
||||
path: test
|
||||
Reference in new issue
Block a user