Skip to content

infra: add logic to only trigger stage build on odd weeks #2060

@ldetmer

Description

@ldetmer

currently google cloud scheduler doesn't allow you to trigger bi weekly builds. So we will set the cron to every thursday, but we should add logic to stage worker (trigger.go) to only trigger stage builds if its an odd week.

Additionally we should add a new flag as an input into trigger.go forceRun. This should default to false, but if its set to true we should ignore the week and always run the stage builds

Acceptance criteria: run stage worker manually, if its an even week, it shouldn't kick off any stage builds, if its an odd week it should. If forceRun flag is set to true and its an even week it should still kick off stage builds

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions