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

improve: refactor release workflow #2889

Merged
merged 3 commits into from
Aug 11, 2022
Merged

improve: refactor release workflow #2889

merged 3 commits into from
Aug 11, 2022

Conversation

mxyng
Copy link
Collaborator

@mxyng mxyng commented Aug 9, 2022

Summary

Add a release workflow which will create a Github release based on some inputs. Release notes are populated from docs/changelog/*.md. This action uses workflow_dispatch which can be triggered manually from the Github Actions UI. The deploy itself is pretty simple. It uses infra to setup a Kubernetes context and ArgoCD Image Updater to update the image backing the deployment. ArgoCD Image Updater can piggyback on the context infra creates so no additional configurations is required.

This also adds workflow_run which allows the configured workflows to trigger off other workflows. It's particularly useful for build and deploy which can trigger of CI tests and CD builds respectively.

.github/workflows/release.yaml Outdated Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:05 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:12 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:23 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:24 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:58 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 19:59 Inactive
@vercel vercel bot temporarily deployed to Preview August 9, 2022 20:08 Inactive
Base automatically changed from workflows-refactor-4 to main August 10, 2022 01:39
@mxyng mxyng force-pushed the workflows-refactor-5 branch 2 times, most recently from b4feadb to 341f06b Compare August 10, 2022 19:08
@mxyng mxyng changed the base branch from main to mxyng/fix-helm-cd August 10, 2022 19:09
.github/actions/setup-argocd-image-updater/action.yml Outdated Show resolved Hide resolved
.github/actions/setup-argocd-image-updater/index.js Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
Base automatically changed from mxyng/fix-helm-cd to main August 10, 2022 20:00
@mxyng mxyng merged commit 463e8a4 into main Aug 11, 2022
@mxyng mxyng deleted the workflows-refactor-5 branch August 11, 2022 19:15
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