test: add airgap.daily build tag for daily airgap CI#770
Open
floatingman wants to merge 1 commit into
Open
Conversation
Introduce a new `airgap.daily` build tag to define a curated set of
pit.daily suites that run daily against an airgap cluster. Each suite
was validated against a live airgap RKE2 cluster (Rancher v2.14.2,
custom ansible-provisioned nodes).
Included (cleared, || airgap.daily):
- validation/workloads TestWorkloadTestSuite (13/13 pass)
Excluded (&& !airgap.daily) — verified unsuitable for airgap:
- networking/connectivity requires node-driver SSH (custom airgap
nodes carry none; no external IPs)
- fleet/public_gitrepo clones public GitHub (no egress)
- fleet/upgrade node SSH + public GitHub
- upgrade/workload upgrade-flow test (needs real cluster
upgrade between pre/post phases)
- charts/{alerting,cis,istio,logging,monitoring,neuvector},
charts/appco/istio, longhorn/{longhorn,chartinstall}
blocked by catalog-apps watch instability
(reproduced on CI) + external-node-IP deps
Under -tags=airgap.daily only TestWorkloadTestSuite compiles; under
-tags=pit.daily all 15 suites remain intact.
floatingman
requested review from
hamistao,
khushboo-rancher,
lscalabrini01 and
slickwarren
July 17, 2026 21:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a new `airgap.daily` build tag that defines a curated set of `pit.daily` suites to run daily against an airgap cluster. Each suite was validated against a live airgap RKE2 cluster (Rancher v2.14.2, custom ansible-provisioned nodes) — suites either passed and were tagged `|| airgap.daily`, or were verified unsuitable for airgap and excluded with `&& !airgap.daily`.
The tag doubles as both the CI gate and a visual audit trail of which suites work in which environment.
Matrix (all 15 `pit.daily` suites)
Verification
Run the daily airgap job
```bash
CATTLE_TEST_CONFIG=$(pwd)/cattle-config.yaml go test -tags=airgap.daily ./validation/workloads/...
```
(Scoped to the `workloads` package because two non-`pit.daily` files with negative-only build constraints also compile under `airgap.daily`.)
Confirmed airgap-environment constraints on this cluster
Follow-ups (to re-enable the chart/longhorn suites)
`cattle-config.yaml` is intentionally not committed (contains credentials).