Skip to content

Incorporate VA Holiday Checker into any Github Actions workflows that need them #19910

Closed
@timcosgrove

Description

@timcosgrove

User Story or Problem Statement

We want any workflows that need to respect VA code freeze to disable and reenable automatically, so that we don't need to disable and reenable workflows manually.

Description or Additional Context

We discovered on Nov 19, 2024 that Content Release was failing. The root cause turned out to be that the Content Release Daily Production Tag workflow was disabled, and content-build and vets-website was out of sync to the point that failures occurred.

Example failed workflow: https://github.com/department-of-veterans-affairs/content-build/actions/runs/11920720253/job/33223328191

The above was attempted on Nov 19, 2024 with this checkout, nearly two weeks old at the time: https://github.com/department-of-veterans-affairs/content-build/commits/v0.0.3634/

We resolved this by reenabling the workflow and running it manually to generate a new tag with updated code.

Steps for Implementation

VA has an existing workflow which checks for whether we are in a holiday period: https://github.com/department-of-veterans-affairs/vsp-github-actions/tree/main/holiday-checker

This can be used as a pre-check on important workflows. If we are in a holiday, the rest of the workflow does not run.

An example of this in use is the Reverse Proxy deploy workflow: https://github.com/department-of-veterans-affairs/vsp-platform-revproxy/blob/main/.github/workflows/deploy.yaml

Acceptance Criteria

  • Identify which scheduled workflows need to be subject to code freeze
  • These workflows will not run if the VA is in a holiday period with code freeze
  • The holiday freeze can be overridden from the GHA interface if necessary

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMS TeamCMS Product team that manages both editor exp and devopsDevOpsCMS team practice area

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions