Skip to content

Conversation

@deansheather
Copy link
Member

@deansheather deansheather commented Oct 2, 2025

Relates to https://github.com/coder/dogfood/pull/189
Relates to 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

(cherry picked from commit e5c8c9b)

Relates to coder/dogfood#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`

(cherry picked from commit e5c8c9b)
@deansheather deansheather changed the title chore: pin dogfood to release branch during release freeze (#20028) chore: backport release freeze workflow to 2.27 Oct 2, 2025
@deansheather deansheather changed the base branch from main to release/2.27 October 2, 2025 02:17
@deansheather deansheather marked this pull request as ready for review October 2, 2025 02:45
@deansheather deansheather merged commit c2414d5 into release/2.27 Oct 2, 2025
36 of 38 checks passed
@deansheather deansheather deleted the dean/release-freeze-backport branch October 2, 2025 02:45
@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

3 participants