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

Migrate release job to GitHub Actions #5600

Merged
merged 4 commits into from
Nov 2, 2022

Conversation

beni0888
Copy link
Collaborator

@beni0888 beni0888 commented Nov 2, 2022

Signed-off-by: Jesús Benito Calzada [email protected]

Description of the change

This PR contains the migration of the release job to GitHub actions. A new workflow called Release Pipeline has been created. It calls the reusable kubeapps-general.yml workflow passing the parameter run_gke_tests with the value true, and is triggered only on new version tags.

Benefits

The release job has been migrated to GHA, so releases can be properly handled by the GitHub Actions pipeline.

Possible drawbacks

  • We can not test this job until a new release is triggered, so we cannot anticipate possible errors/bugs.
  • In addition, as we cannot afford to trigger the very same release twice (one from CircleCi and another one from GHA), while DEV_MODE env var is equal to true (as it is right now) the GitHub CLI call for actually triggering the release on GitHub is skipped and an informative message is printed instead.

Applicable issues

Signed-off-by: Jesús Benito Calzada <[email protected]>
@netlify
Copy link

netlify bot commented Nov 2, 2022

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 17b99cb
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/636298fa2319200008b7428f

@beni0888 beni0888 self-assigned this Nov 2, 2022
@beni0888 beni0888 added component/ci Issue related to kubeapps ci system github_actions Pull requests that update GitHub Actions code labels Nov 2, 2022
@beni0888 beni0888 added this to the Migrate CI to GitHub Actions milestone Nov 2, 2022
@beni0888 beni0888 marked this pull request as ready for review November 2, 2022 15:12
Signed-off-by: Jesús Benito Calzada <[email protected]>
Copy link
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

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

Thanks! +1, but before merging, please refer to my previous comment (#5590 (review)) about the EOF new lines.

@beni0888
Copy link
Collaborator Author

beni0888 commented Nov 2, 2022

Thanks! +1, but before merging, please refer to my previous comment (#5590 (review)) about the EOF new lines.

ouch! I overlooked that comment, I'll fix it in this PR before merging it.

Jesús Benito Calzada added 2 commits November 2, 2022 17:19
Signed-off-by: Jesús Benito Calzada <[email protected]>
Signed-off-by: Jesús Benito Calzada <[email protected]>
@beni0888 beni0888 merged commit 7adaa90 into vmware-tanzu:main Nov 2, 2022
@beni0888 beni0888 deleted the migrate-release branch November 2, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required component/ci Issue related to kubeapps ci system github_actions Pull requests that update GitHub Actions code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants