-
Notifications
You must be signed in to change notification settings - Fork 240
ci: support AWS lambda when a tag release is created #2585
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
Conversation
.ci/Makefile
Outdated
| release \ | ||
| create $(BRANCH_NAME) \ | ||
| --title '$(BRANCH_NAME)' \ | ||
| --generate-notes \ |
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.
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.
Agreed. I think it would be better to point to the published release notes, e.g. https://www.elastic.co/guide/en/apm/agent/nodejs/current/release-notes-3.x.html#release-notes-3.29.0, at the top of the release section, if possible.
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.
https://github.com/elastic/apm-agent-nodejs/pull/2585/files#diff-bf80150258607c1e440ef8c2f2b828b033f7d11998cfd62e1f0716b9020acfbdR15 is the implementation and the URL is calculated on the fly based on the TAG version.
https://github.com/elastic/apm-agent-nodejs/releases/tag/untagged-67f14d7ca86fb8fa5e49
|
I just added a few more changes to:
I tested it locally by just running the make goals and https://github.com/v1v/apm-agent-nodejs/releases/tag/v3.29.0 has been just created. How does it look? If it's fine, I'd like to give a go with the |
.ci/Jenkinsfile
Outdated
| OPBEANS_REPO = 'opbeans-node' | ||
| GITHUB_CHECK = 'true' | ||
| RELEASE_URL_MESSAGE = "(<https://github.com/elastic/${env.REPO}/releases/tag/${env.TAG_NAME}|${env.TAG_NAME}>)" | ||
| SLACK_CHANNEL = '#apm-agent-nodejs' |
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.
Just a heads up -- for the test builds we didn't see a message sent to our slack channel.
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.
That's right, I didn't enable notifications from the PullRequest but from Tags, I'm gonna proceed with a new release simulation that should also send notifications, if no issues from your side.
As stated in #2585 (comment), I'd like to give another go, therefore the new ARNs will be ending in 2.
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.
Agreed, not a problem at all.
Sounds good to me -- test away! |
|
#2588 is now running again in the CI, (disabled all the stages but the AWS publishing) and enabled the slack/email notifications with the outcome for the AWS automation. Let's see how it goes in the CI |
Status updatehttps://github.com/elastic/apm-agent-nodejs/releases/tag/untagged-67f14d7ca86fb8fa5e49 was generated (caused by #2588) |
Co-authored-by: Trent Mick <trentm@gmail.com>
| dist: validate-branch-name build | ||
| rm -f $(BRANCH_NAME).zip || true | ||
| cd $(AWS_FOLDER) ; \ | ||
| zip -r $(BRANCH_NAME).zip nodejs |
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.
Status updatehttps://github.com/v1v/apm-agent-nodejs/releases/tag/v3.29.0 has been created by running the make goals locally. @trentm , you can now move on with the code review 🙏 |




What
Tests
Create zip file
produced:
List regions:
produces:
Publish
produces:
Create ARN markdown
produces:
Create Release Notes
produces:
https://github.com/v1v/apm-agent-nodejs/releases/tag/untagged-5bcf4f0a0e61061a3f8f