Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First attempt at tag based deploy workflow. #50

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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...

-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.

None yet

2 participants