Skip to content

Conversation

@deansheather
Copy link
Member

@deansheather deansheather commented Sep 30, 2025

Relates to https://github.com/coder/dogfood/pull/189
Closes coder/internal#1021

  • Adds new script scripts/should_deploy.sh which implements the algorithm in the linked issue
  • Changes the ci.yaml workflow to run on release branches
  • Moves the deployment steps out of ci.yaml into a new workflow deploy.yaml for concurrency limiting purposes
  • Changes the behavior of image tag pushing slightly:
    • Versioned tags will no longer have a main- prefix
    • main branch will still push the main and latest tags
    • release/x.y branches will now push release-x.y tags
  • The deploy job will exit early if should_deploy.sh returns false
  • The deploy job will now retag whatever image it's about to deploy as dogfood

TODO:

  • Test the workflow out a bit, will require a lot of commenting out

Copy link
Member

@ethanndickson ethanndickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, will approve once you remove the testing checks

@deansheather deansheather marked this pull request as ready for review October 1, 2025 13:04
@deansheather deansheather merged commit e5c8c9b into main Oct 2, 2025
27 of 29 checks passed
@deansheather deansheather deleted the dean/release-freeze branch October 2, 2025 02:12
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dogfood upcoming release during code freeze

4 participants