Skip to content

Commit

Permalink
ci: adds expiration tag for e2e runs (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq authored Mar 14, 2024
1 parent aad96fd commit 469376a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ func RunE2e(buildOS, buildConfig, buildInfra string, dryRun bool) error {
args = append(args, buildPath)
// skip creating image
if dryRun {
overrideFlagForCmd = append(
overrideFlagForCmd,
fmt.Sprintf("--overrides=%s/%s", overrideDirName, "runtags.yaml"))
args = append(args, dryRunFlag)
} else {
releaseOverrideFile, err := getReleaseOverride(buildConfig)
Expand Down
4 changes: 4 additions & 0 deletions overrides/runtags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packer:
run_tags:
expiration: 2h
owner: konvoy-e2e

0 comments on commit 469376a

Please sign in to comment.