ci: run canary tests nightly
Run the canary test suites with nightly CI so that we can detect incoming issues with Ceph devel versions. Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
This commit is contained in:
2 files changed
+14
-62
No files matched your search
@@ -13,11 +13,12 @@ on:
|
||||
paths-ignore:
|
||||
- "Documentation/**"
|
||||
- "design/**"
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ceph-image:
|
||||
description: 'Ceph image for creating Ceph cluster'
|
||||
default: 'quay.io/ceph/ceph:v18'
|
||||
type: string
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -1359,7 +1360,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
@@ -1386,7 +1386,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
@@ -1419,7 +1418,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
@@ -1501,7 +1499,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
|
||||
@@ -2,6 +2,7 @@ name: Daily nightly jobs
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *" # every day at midnight
|
||||
workflow_dispatch: {}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -394,64 +395,18 @@ jobs:
|
||||
name: ceph-upgrade-suite-quincy-artifact
|
||||
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
|
||||
|
||||
rgw-multisite-test-with-ceph-devel:
|
||||
if: github.repository == 'rook/rook'
|
||||
runs-on: ubuntu-20.04
|
||||
# run default canary suite
|
||||
canary-tests:
|
||||
uses: ./.github/workflows/canary-integration-test.yml
|
||||
secrets: inherit
|
||||
|
||||
# run canary suite with relevant ceph devel versions
|
||||
canary-tests-devel:
|
||||
uses: ./.github/workflows/canary-integration-test.yml
|
||||
strategy:
|
||||
matrix:
|
||||
ceph-image-tag:
|
||||
["latest-main-devel", "latest-quincy-devel", "latest-reef-devel"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
|
||||
- name: run RGW multisite test
|
||||
uses: ./.github/workflows/rgw-multisite-test
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
ceph-image: quay.io/ceph/daemon-base:${{ matrix.ceph-image-tag }}
|
||||
|
||||
- name: upload test result
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: rgw-multisite-testing-ceph-${{ matrix.ceph-image-tag }}
|
||||
path: test
|
||||
|
||||
encryption-pvc-kms-ibm-kp:
|
||||
if: github.repository == 'rook/rook'
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
|
||||
- name: run encryption KMS IBM Key Protect
|
||||
uses: ./.github/workflows/encryption-pvc-kms-ibm-kp
|
||||
if: "env.IBM_KP_SERVICE_INSTANCE_ID != '' && env.IBM_KP_SERVICE_API_KEY != ''"
|
||||
env:
|
||||
IBM_KP_SERVICE_INSTANCE_ID: ${{ secrets.IBM_INSTANCE_ID }}
|
||||
IBM_KP_SERVICE_API_KEY: ${{ secrets.IBM_SERVICE_API_KEY }}
|
||||
with:
|
||||
ibm-instance-id: ${{ secrets.IBM_INSTANCE_ID }}
|
||||
ibm-service-api-key: ${{ secrets.IBM_SERVICE_API_KEY }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: upload test result
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: encryption-pvc-kms-ibm-kp
|
||||
path: test
|
||||
with:
|
||||
ceph-image: quay.io/ceph/daemon-base:${{ matrix.ceph-image-tag }}
|
||||
secrets: inherit
|
||||
Reference in new issue
Block a user