Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ This repository uses Go build tags extensively to control which tests run in dif
3. **Test tier tags**: `sanity`, `extended`, `stress`
4. **PIT (Platform Interoperability Testing) tags**:
* `pit.daily`: Tests that run daily
* `pit.elemental`: Daily tests for Harvester setup
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the elemental tests also harvester tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they are not. I’m updating the description

* `pit.harvester.daily`: Daily tests for Harvester setup
* `pit.weekly`: Tests that run weekly
* `pit.event`: Tests that run on Alpha/RC releases
Expand Down
3 changes: 3 additions & 0 deletions TAG_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ The pit tags organizes Go tests using **build tags**. These tags define when and
##### pit.harvester.daily
- Tests that should run **every day** on a harvester setup

##### pit.elemental
- Tests that should run on a elemetal setup

##### pit.weekly
- Tests that should run **once per week**

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/alerting_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.any || cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/appco/istio_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || extended || pit.daily) && !sanity && !stress
//go:build (validation || infra.any || cluster.any || extended || pit.daily || pit.elemental) && !sanity && !stress

package appco

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/cis_benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.any || cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/istio_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.rke1 || cluster.any || stress || pit.daily) && !infra.any && !infra.aks && !infra.eks && !infra.gke && !infra.rke2k3s && !sanity && !extended
//go:build (validation || infra.rke1 || cluster.any || stress || pit.daily || pit.elemental) && !infra.any && !infra.aks && !infra.eks && !infra.gke && !infra.rke2k3s && !sanity && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/logging_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.any || cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/monitoring_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.rke1 || cluster.any || stress || pit.daily) && !infra.any && !infra.aks && !infra.eks && !infra.gke && !infra.rke2k3s && !sanity && !extended
//go:build (validation || infra.rke1 || cluster.any || stress || pit.daily || pit.elemental) && !infra.any && !infra.aks && !infra.eks && !infra.gke && !infra.rke2k3s && !sanity && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/charts/neuvector_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || i.cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.any || i.cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package charts

Expand Down
114 changes: 0 additions & 114 deletions validation/elemental/schemas/elemental_schemas.yaml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this deleted?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because elemental_schema.yaml is a test suite, while the Elemental tests are actually a test plan

This file was deleted.

2 changes: 1 addition & 1 deletion validation/fleet/public_gitrepo_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build validation || sanity || pit.daily || pit.harvester.daily
//go:build validation || sanity || pit.daily || pit.elemental || pit.harvester.daily

package fleet

Expand Down
2 changes: 1 addition & 1 deletion validation/fleet/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || extended || pit.daily) && !sanity && !stress
//go:build (validation || infra.any || cluster.any || extended || pit.daily || pit.elemental) && !sanity && !stress

package upgrade

Expand Down
2 changes: 1 addition & 1 deletion validation/longhorn/chartinstall/installation_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build validation || pit.daily
//go:build validation || pit.daily || pit.elemental

package longhorn

Expand Down
2 changes: 1 addition & 1 deletion validation/longhorn/longhorn_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build validation || pit.daily || pit.harvester.daily
//go:build validation || pit.daily || pit.elemental || pit.harvester.daily

package longhorn

Expand Down
2 changes: 1 addition & 1 deletion validation/networking/connectivity/network_policy_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.rke2k3s || cluster.any || sanity || pit.daily || pit.harvester.daily) && !stress && !extended
//go:build (validation || infra.rke2k3s || cluster.any || sanity || pit.daily || pit.elemental || pit.harvester.daily) && !stress && !extended

package connectivity

Expand Down
2 changes: 1 addition & 1 deletion validation/networking/connectivity/port_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.rke2k3s || cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.rke2k3s || cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package connectivity

Expand Down
2 changes: 1 addition & 1 deletion validation/neuvector/neuvector_hardened_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || i.cluster.any || sanity || pit.daily) && !stress && !extended
//go:build (validation || infra.any || i.cluster.any || sanity || pit.daily || pit.elemental) && !stress && !extended

package charts

Expand Down
2 changes: 1 addition & 1 deletion validation/upgrade/workload_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build validation || pit.daily
//go:build validation || pit.daily || pit.elemental

package upgrade

Expand Down
2 changes: 1 addition & 1 deletion validation/workloads/workload_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build (validation || infra.any || cluster.any || sanity || pit.daily || pit.harvester.daily) && !stress && !extended
//go:build (validation || infra.any || cluster.any || sanity || pit.daily || pit.elemental || pit.harvester.daily) && !stress && !extended

package workloads

Expand Down
Loading