platform

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package platform checks a reference deployment end to end: artifactweave started against a scenario that platform-scenarios.yml has just applied (decision 0030).

Role

Acceptance suite for the reference deployments, outside the modules. Scenario runs are evidence that a deployment works, not coverage.

Inputs

TestAccScenario runs only when ARTIFACTWEAVE_SCENARIO names the scenario, so go test ./... passes over it. The TestUnit tests of the suite's own helpers run without it; make test's package list leaves test/platform out, so they run with go test ./test/platform/... and in every scenario run. The workflow sets:

ARTIFACTWEAVE_SCENARIO               <cloud>/<scenario>, for example gcp/single-bucket
ARTIFACTWEAVE_SCENARIO_CONFIG        the scenario's artifactweave_config output (YAML)
ARTIFACTWEAVE_SCENARIO_STORAGE_HOST  the scenario's storage_host output
ARTIFACTWEAVE_SCENARIO_OUTPUTS       every output, as terraform output -json writes them
ARTIFACTWEAVE_BIN                    the artifactweave binary built in the job
ARTIFACTWEAVE_JF_BIN                 the pinned jf, for the CDN download check

Outputs

  • TestAccScenario's result: the generic checks, then the scenario's own (the mirror's copies, drain and repair, the cloud's replica, and the CDN or Front Door edge), stopping at the first failure because later checks build on earlier ones.

References

Status

Implemented P4b.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL