From 5fefd748be8a917a712c3a09c07fa045caf954e8 Mon Sep 17 00:00:00 2001 From: Santosh Date: Tue, 17 Mar 2026 21:31:39 +0530 Subject: [PATCH] ci: fix ceph_preview tags use ceph_preview tag at the top-level env rather than job level env in the integration-test-on-release.yaml Signed-off-by: Santosh --- .github/workflows/daily-nightly-jobs.yml | 6 ++++++ .github/workflows/integration-test-mgr-suite.yaml | 6 ++++++ .github/workflows/integration-tests-on-release.yaml | 11 ++++++----- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/daily-nightly-jobs.yml b/.github/workflows/daily-nightly-jobs.yml index 9d48c6411..d5a0ef691 100644 --- a/.github/workflows/daily-nightly-jobs.yml +++ b/.github/workflows/daily-nightly-jobs.yml @@ -12,6 +12,12 @@ defaults: 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: canary-arm64: runs-on: [ubuntu-22.04-arm] diff --git a/.github/workflows/integration-test-mgr-suite.yaml b/.github/workflows/integration-test-mgr-suite.yaml index 1d5ffa868..1d7c47220 100644 --- a/.github/workflows/integration-test-mgr-suite.yaml +++ b/.github/workflows/integration-test-mgr-suite.yaml @@ -20,6 +20,12 @@ concurrency: 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 diff --git a/.github/workflows/integration-tests-on-release.yaml b/.github/workflows/integration-tests-on-release.yaml index 12afe9220..0542549bc 100644 --- a/.github/workflows/integration-tests-on-release.yaml +++ b/.github/workflows/integration-tests-on-release.yaml @@ -15,6 +15,12 @@ defaults: 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: TestCephHelmSuite: runs-on: ubuntu-22.04 @@ -213,11 +219,6 @@ jobs: TestCephObjectSuite: runs-on: ubuntu-22.04 - 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" strategy: fail-fast: false matrix: