test: remove CephMgrSuite integration test and CI workflow
CephMgrSuite (ceph_mgr_test.go) exercised the Rook orchestrator mgr module through `ceph orch` commands. Remove the suite together with its GitHub Actions workflow (integration-test-mgr-suite.yaml), whose sole purpose was to run this suite, gated behind the run-mgr-suite label and a nightly cron. No other code references the deleted suite. Its helpers (logBytesInfo, the defaultTries constant, and the host/service/serviceStatus types) were all local to the file, so nothing is left orphaned. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
This commit is contained in:
1 parent
7593f2db18
commit
1c8ec71edb
2 files changed
-397
No files matched your search
@@ -1,79 +0,0 @@
|
||||
name: Integration test CephMgrSuite
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "Documentation/**"
|
||||
- "design/**"
|
||||
schedule:
|
||||
- cron: "0 0 * * *" # every day at midnight
|
||||
|
||||
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
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
# Required for go-ceph rgw/admin account APIs which are gated behind
|
||||
# the ceph_preview build tag. Can be removed when go-ceph promotes
|
||||
# the account API out of preview.
|
||||
GOFLAGS: "-tags=ceph_preview"
|
||||
|
||||
jobs:
|
||||
TestCephMgrSuite:
|
||||
runs-on: ubuntu-22.04
|
||||
if: "contains(github.event.pull_request.labels.*.name, 'run-mgr-suite')"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
kubernetes-version: ["v1.35.5"]
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider (pre-job) debugging
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
debug-ci: ${{ contains(github.event.pull_request.labels.*.name, 'debug-ci') }}
|
||||
|
||||
- name: setup cluster resources
|
||||
uses: ./.github/workflows/integration-test-setup-cluster-resources
|
||||
with:
|
||||
kubernetes-version: ${{ matrix.kubernetes-version }}
|
||||
|
||||
- name: TestCephMgrSuite
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh collect_udev_logs_in_background
|
||||
DEVICE_FILTER=$(tests/scripts/github-action-helper.sh find_extra_block_dev)
|
||||
export DEVICE_FILTER
|
||||
go test -v -timeout 1800s -failfast -run CephMgrSuite github.com/rook/rook/tests/integration
|
||||
|
||||
- name: collect common logs
|
||||
if: always()
|
||||
run: |
|
||||
export LOG_DIR="/home/runner/work/rook/rook/tests/integration/_output/tests/"
|
||||
export CLUSTER_NAMESPACE="mgr-ns"
|
||||
export OPERATOR_NAMESPACE="mgr-ns-system"
|
||||
tests/scripts/collect-logs.sh
|
||||
|
||||
- name: Artifact
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if: failure()
|
||||
with:
|
||||
name: ceph-mgr-suite-artifact-${{ matrix.kubernetes-version }}
|
||||
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
|
||||
|
||||
- name: consider (post-job) debugging
|
||||
uses: ./.github/workflows/upterm_debug
|
||||
with:
|
||||
debug-ci: ${{ contains(github.event.pull_request.labels.*.name, 'debug-ci') }}
|
||||
Reference in new issue
Block a user