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

ci: Optimized the lambda layers and k8s init containers post release workflow #2915

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

bizob2828
Copy link
Member

@bizob2828 bizob2828 commented Jan 29, 2025

Description

In #2848 we moved the publishing of github releases of newrelic-lambda-layers and newrelic-agent-init-container to a post release workflow, instead of a lambda cron that checked if any new releases of agent existed. I overlooked when I first reviewed that it doesn't check if Create Release was a success so I added that logic. I also removed some unnecessary jobs to setup node, install deps and configure git. The reason is Node.js isn't being used here, we just cat the package.json to get the version and then rely on gh to create releases. Also since it auths to gh cli with a token we don't have to set up the username/email.

@bizob2828 bizob2828 added the dev:automation Indicates CI automation label Jan 29, 2025
@bizob2828 bizob2828 changed the title ci: Optimized the lambda layers and k8s init containers post release … ci: Optimized the lambda layers and k8s init containers post release workflow Jan 29, 2025
@bizob2828 bizob2828 merged commit 4be1099 into newrelic:main Jan 31, 2025
19 checks passed
@bizob2828 bizob2828 deleted the tweak-layers-init-job branch January 31, 2025 18:00
@github-actions github-actions bot mentioned this pull request Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:automation Indicates CI automation
Projects
Status: Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

2 participants