Skip to content

Conversation

@sonoransun
Copy link
Contributor

This is a draft attempt at a tag based Live deployment workflow for Presto.

One remaining question mark is how to tie the image to the tag, as we currently have master and specific revision shas as identifier options; no tag names.

We could just deploy master when tagged, as it should always be the latest that we deploy? But that's hacky and will have unintended side effects at some point in the future. I'll look at this again once I've got a bit more brain to apply...

@sonoransun sonoransun requested a review from dmou December 17, 2023 19:39
@sonoransun sonoransun marked this pull request as draft December 17, 2023 19:39
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.SYSOPS_RW_GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/meedan/sysops/actions/workflows/deploy_${{ github.event.repository.name }}.yml/dispatches \
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this trigger script to look at the tagged repository and redeploy all of the associated services? Are we assuming that the workflow is "merge to main, run in QA for a while, then tag to trigger live release?" i.e. the images to be deployed are already build and pushed to ECR?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants