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

Execute CI with a new release #745

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Execute CI with a new release #745

merged 2 commits into from
Jul 11, 2023

Conversation

Tansito
Copy link
Member

@Tansito Tansito commented Jul 7, 2023

Summary

Now that we are starting to release more often I wanted to improve our DX. With this PR the idea is that once time we publish a release all the required workloads run automatically, without an action from our part.

@Tansito Tansito marked this pull request as ready for review July 10, 2023 10:00
Comment on lines +43 to +46
- name: Set version from tag
if : github.event_name == 'release' && github.event.action == 'published'
id: set-version-from-tag
run: echo "VERSION=${GITHUB_REF_NAME/v}" >> $GITHUB_OUTPUT
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: should we set this in the build and push images action? (just a thought, might make it easier to follow the flow, but I could go either way...)

Copy link
Member Author

Choose a reason for hiding this comment

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

I see you point. Mmm... Right now in the action we have and input called tag that can have different values. We are using latest and the specific release version as values on it, depending of the action. I would say in this case at least from my point of view I would prefer the reusability that we have that introduce that value in the action (totally my opinion).

Copy link
Member

@IceKhan13 IceKhan13 left a comment

Choose a reason for hiding this comment

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

Looks good :)

@Tansito Tansito merged commit bf1505c into main Jul 11, 2023
@Tansito Tansito deleted the ci-improvements branch July 11, 2023 09: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.

4 participants