Help us shape the future of Go! Take the 2026 Go Developer Survey

ci

package
v1.233.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package ci provides CI/CD integration commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidateCommand added in v1.224.0

func NewValidateCommand() *cobra.Command

NewValidateCommand creates the GitHub Actions validation command. It is mounted at both `atmos ci validate` and the validation-oriented alias `atmos validate ci`.

func RunValidateFiles added in v1.224.0

func RunValidateFiles(cmd *cobra.Command, paths []string) error

RunValidateFiles validates the provided workflow files. A nil paths list retains whole-directory validation and is used by aggregate validation when an actionlint configuration change can affect every workflow.

func RunValidateFilesExcluding added in v1.224.0

func RunValidateFilesExcluding(cmd *cobra.Command, paths []string, excludes []string) error

RunValidateFilesExcluding validates workflow files while excluding paths matched by repository-relative glob patterns.

Types

type CICommandProvider

type CICommandProvider struct{}

CICommandProvider implements the CommandProvider interface.

func (*CICommandProvider) GetAliases

func (c *CICommandProvider) GetAliases() []internal.CommandAlias

GetAliases returns command aliases. CI command has no aliases.

func (*CICommandProvider) GetCommand

func (c *CICommandProvider) GetCommand() *cobra.Command

GetCommand returns the ci command.

func (*CICommandProvider) GetCompatibilityFlags

func (c *CICommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

GetCompatibilityFlags returns compatibility flags for this command. CI command has no compatibility flags.

func (*CICommandProvider) GetFlagsBuilder

func (c *CICommandProvider) GetFlagsBuilder() flags.Builder

GetFlagsBuilder returns the flags builder for this command. CI command has no flags at the parent level.

func (*CICommandProvider) GetGroup

func (c *CICommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*CICommandProvider) GetName

func (c *CICommandProvider) GetName() string

GetName returns the command name.

func (*CICommandProvider) GetPositionalArgsBuilder

func (c *CICommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

GetPositionalArgsBuilder returns the positional args builder for this command. CI command has no positional arguments.

func (*CICommandProvider) IsExperimental

func (c *CICommandProvider) IsExperimental() bool

IsExperimental reports whether CI commands require experimental opt-in.

Directories

Path Synopsis
Package cache implements the `atmos ci cache` subcommand group (restore/save/list/delete) for the CI build cache.
Package cache implements the `atmos ci cache` subcommand group (restore/save/list/delete) for the CI build cache.

Jump to

Keyboard shortcuts

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