ats

package
v8.164.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigPath = ".ats/main.yaml"

ConfigPath is the canonical, repository-owned ATS configuration file.

Variables

This section is empty.

Functions

func CreateATS

func CreateATS(uv bool) []input.Input

CreateATS returns the inputs for the canonical app-test-suite (ATS) test dependencies. Emission is gated on the chart/app (.HasApp) flavour by the caller (devctl gen circleci) -- the same signal that emits the run-tests-with-ats jobs -- so the files never land in a non-app or non-generated-CI repo.

uv selects the layout: false is the pipenv layout ATS up to 0.15 consumes (tests/ats/Pipfile); true is the uv layout of ATS 1.x (tests/ats/pyproject.toml + uv.lock), which also removes the Pipfile the generator used to emit.

func CreateConfig added in v8.164.0

func CreateConfig(uv bool) input.Input

CreateConfig returns a starter configuration for a repository without ATS scenarios. The file is repository-owned after creation; unlike dependencies, it must never bypass the generator's regeneration check. ATS 1.x gets its cluster from the orb and no longer accepts the legacy per-scenario options.

func HasConfig added in v8.164.0

func HasConfig(dir string) (bool, error)

HasConfig reports whether dir carries either configuration filename ATS accepts. A main.yml must not be shadowed by a generated main.yaml.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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