-
Notifications
You must be signed in to change notification settings - Fork 14
chore(ci): add automated node integration workflow #509
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
base: main
Are you sure you want to change the base?
Conversation
hseeberger
left a comment
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.
Does this PR also create the "node data", i.e. does it run generate-node-data.sh? If not, it needs to be extended.
| @@ -0,0 +1,31 @@ | |||
| # Node Integration Automation | |||
|
|
|||
| **Jira**: [TPM-774](https://shielded.atlassian.net/browse/TPM-774) | |||
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.
Please remoce the Jira link which is not accessible for the community; remember, this is an open source project.
|
|
||
| steps: | ||
| - name: Checkout indexer repository | ||
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
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.
Does Dependabot update the comment (version number)? If not, please remove it.
| - name: Check if branch already exists | ||
| id: check_branch | ||
| run: | | ||
| BRANCH="feat/integrate-node-${{ steps.version.outputs.node_version }}" |
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.
Here comes a tricky question: Is this a feature? Or a dependency update? IMHO the answer depends ... once we support multiple node versions, e.g. 0.18 and 0.19, only supporting a new node version is a feature.
Also, do we want to automatically integrate with EVERY node release?
Closes : TPM-774
Summary
Automates creation of integration PRs when midnight-node publishes new releases.
Changes
Workflow (
.github/workflows/auto-integrate-node-release.yaml):repository_dispatchfrom midnight-node or manual workflow_dispatchDocumentation (
docs/automation/node-integration-automation.md):Testing
Related