-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: add automated version tagging for CI/CD pipeline #229
base: master
Are you sure you want to change the base?
feat: add automated version tagging for CI/CD pipeline #229
Conversation
to support changelog integration and versioned builds.
…mputeHorde into feature/auto-tagging-setup
- replaced the use of a personal access token (PAT) with GITHUB_TOKEN to enhance security. - removed the input from the workflow configuration.
In the tagging workflow, I have replaced the use of the personal access token ( Important Note:
I think this repo has already this setting based on current workflow. |
] | ||
|
||
[tool.towncrier] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is towncrier part of this task scope? if not please clean it up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
atm, the towncrier part is not used due to some conflict
but it's useful in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mzukowski-reef what do you think?
…awa/ComputeHorde into feature/auto-tagging-setup
How to Use
|
Overview
This PR introduces a new GitHub Actions workflow,
common_tagging.yml
, that automates the tagging process for our CI/CD pipeline. The automated version tagging ensures consistent version management and supports changelog integration across different components of the Compute Horde monorepo. The tagging format follows<year>.<month>.<day>-<index>
, incrementing if multiple releases occur on the same day.Key Changes
New Workflow:
common_tagging.yml
added to handle common tagging tasks.DIST_VERSION_PREFIX
: Prefix for the distribution (e.g.,executor-preprod
).Updates to Existing Workflows:
executor_cd_preprod.yml
have been updated to utilize the new tagging workflow by callingcommon_tagging.yml
.Important Note:
ACTIONS_PAT
SecretThe
ACTIONS_PAT
secret is critical for the new tagging workflow to function correctly. It is a Personal Access Token (PAT) that allows the GitHub Actions runner to:Setting Up
ACTIONS_PAT
Generate a Personal Access Token (PAT):
repo
(Full control of private repositories).workflow
(Update GitHub Actions workflows).Add the
ACTIONS_PAT
Secret to the Repository:ACTIONS_PAT
and paste the copied token.