Skip to content

Conversation

@erickgonzalez
Copy link
Member

Changes:

  • Introduced update_server job to initiate cluster shutdown with rolling restart.
  • Configured job to run after critical phases in the workflow.
  • Added STAGING_TRUNK_API_TOKEN for secured API request handling.

ref: #33769

…rkflow

### Changes:
- Introduced `update_server` job to initiate cluster shutdown with rolling restart.
- Configured job to run after critical phases in the workflow.
- Added `STAGING_TRUNK_API_TOKEN` for secured API request handling.

ref: #33769
@erickgonzalez erickgonzalez requested a review from a team as a code owner November 10, 2025 18:31
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

# Update Server job - triggers cluster shutdown with rolling restart
update_server:
Copy link
Contributor

Choose a reason for hiding this comment

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

This job should not really go at the end here. There are specific phases in these workflows that are common and finalize and report should always be at the end as they capture errors in any of the other jobs. This step should really be part of the "deployment" phase e.g. in ./.github/workflows/cicd_comp_deployment-phase.yml and go after the steps that do the push to dockerhub a flag can be set to allow it to be run or not passed in the deployment.with in this workflow but not passed from others. when moving it to ./.github/workflows/cicd_comp_deployment-phase.yml

It would be best to make this a little more general if putting into ./.github/workflows/cicd_comp_deployment-phase.yml e.g. by passing the domain we are calling as a parameter from this workflow. You may also need to double check how secrets are passed into these reusable workflows from other examples as they are not automatically visible.

Eventually we need to look in a more general way to indicate that a new image is available and preferably update the actual version that rather rely on the mutable tag, but that is for later and this is a good solution for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we put this at the end of the cicd_comp_deployment-phase.yml then if it fails everything else will still have completed, it could still fail the workflow. If we do not want a failure of calling the server from failing the workflow e.g. if the server is already down we can make the step always return success.

@erickgonzalez erickgonzalez marked this pull request as draft November 25, 2025 13:14
@github-actions
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants