Skip to content

Commit

Permalink
Merge pull request coreos#2104 from mike-nguyen/verbs
Browse files Browse the repository at this point in the history
gangplank: use consistent verbs and tenses in yaml
  • Loading branch information
mike-nguyen authored Mar 30, 2021
2 parents 056d558 + cb40234 commit 9b2f161
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/gangplank/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ To illustrate this, consider:
- oscontainer
request_cache_repo: true
request_cache: true
returns_cache: true
returns_cache_repo: true
return_cache: true
return_cache_repo: true
- id: oscontainer
build_artifacts:
- ostree
requires_cache: true
requires_cache_repo: true
require_cache: true
require_cache_repo: true
- id: clouds
concurrent_execution: true
build_artifacts:
Expand Down
2 changes: 1 addition & 1 deletion gangplank/ocp/bc.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ binary build interface.`)

l := log.WithFields(log.Fields{
"stage": s.ID,
"required_artifacts": s.RequireArtifacts,
"require_artifacts": s.RequireArtifacts,
})

cpod, err := NewCosaPodder(podCtx, apiBuild, idx)
Expand Down
4 changes: 2 additions & 2 deletions gangplank/spec/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ type Stage struct {
// required artifact is missing (per the meta.json), the stage
// will not be executed. RequireArticts _implies_ sending builds/builds.json
// and builds/<BUILDID>/meta.json.
RequireArtifacts []string `yaml:"requires_artifacts,flow,omitempty" json:"requires_artifacts,omitempty"`
RequireArtifacts []string `yaml:"require_artifacts,flow,omitempty" json:"require_artifacts,omitempty"`

// RequestArtifacts are files that are provided if they are there. Examples include
// 'caches' for `/srv/cache` and `/srv/tmp/repo` tarballs or `ostree` which are really useful
// for base builds.
RequestArtifacts []string `yaml:"optional_artifacts,flow,omitempty" json:"optional_artifacts,omitempty"`
RequestArtifacts []string `yaml:"request_artifacts,flow,omitempty" json:"request_artifacts,omitempty"`

// BuildArtifacts produces "known" artifacts. The special "base"
// will produce an OSTree and QCOWs.
Expand Down

0 comments on commit 9b2f161

Please sign in to comment.