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: Move init container release from lambda to GHA #2848

Merged
merged 5 commits into from
Jan 27, 2025

Conversation

hmstepanek
Copy link
Contributor

@hmstepanek hmstepanek commented Dec 19, 2024

Description

We are getting rid of the internal auto-layer-releases repo and moving creating of the release tags into each agent's GHA deploy flow.

@CLAassistant
Copy link

CLAassistant commented Dec 19, 2024

CLA assistant check
All committers have signed the CLA.

@hmstepanek hmstepanek force-pushed the move-release-from-lambda-to-gha branch from 0c58738 to f8bd739 Compare December 19, 2024 00:12
@hmstepanek hmstepanek changed the title Move init container release from lambda to GHA ci: move init container release from lambda to GHA Dec 19, 2024
@hmstepanek hmstepanek changed the title ci: move init container release from lambda to GHA ci: Move init container release from lambda to GHA Dec 19, 2024
@bizob2828
Copy link
Member

@hmstepanek I know this is in draft but do you mind linking what this is replacing?

@hmstepanek hmstepanek force-pushed the move-release-from-lambda-to-gha branch from ff8d07b to 47824cb Compare January 14, 2025 23:38
@hmstepanek hmstepanek marked this pull request as ready for review January 14, 2025 23:42
Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

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

I'm not convinced the new job belongs in this workflow. We will have occasion to run this workflow manually in order to regenerate our docs (either in the local repo, the main NR docs repo, or both). The way this new job is configured, by its if clause, will have it running whenever this workflow is triggered. Is that desired? I have a hunch that it is not desired. I am thinking that this job deserves its own workflow.

@@ -65,3 +65,34 @@ jobs:
GITHUB_TOKEN: ${{ secrets.NODE_AGENT_GH_TOKEN }}
GITHUB_USER: ${{ vars.NODE_AGENT_CI_USER_NAME }}
GITHUB_EMAIL: ${{ vars.NODE_AGENT_CI_USER_EMAIL }}

release-tags:
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this job changes the description of the workflow on line 7, at the very least.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not a GHA expert so forgive me. Which line in this is causing it to override the description? Line 69 is just the name of the job so that shouldn't override the description as far as I know.
I can certainly make this it's own workflow. I can understand wanting to run the docs separately on occasion.

Copy link
Contributor

@jsumners-nr jsumners-nr Jan 23, 2025

Choose a reason for hiding this comment

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

I'm not saying that your addition is overriding the description. I'm saying that the changes are not in line with the description, aka changes the stated purpose of the workflow.

jsumners-nr
jsumners-nr previously approved these changes Jan 23, 2025
Copy link
Contributor

@jsumners-nr jsumners-nr 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 to me.

@bizob2828
Copy link
Member

bizob2828 commented Jan 24, 2025

@hmstepanek I'm not sure why the CLA isn't auto-acknowledging you as an employee but can you sign it? Also, where is the value of the GH_RELEASE_TOKEN, can you share it with our team in 1Password so we can add it to our secrets?

@hmstepanek
Copy link
Contributor Author

@hmstepanek I'm not sure why the CLA isn't auto-acknowledging you as an employee but can you sign it? Also, where is the value of the GH_RELEASE_TOKEN, can you share it with our team in 1Password so we can add it to our secrets?

The value of the token is shared in the 1password agent shared credentials area as Github token for layer and init container tags.

@jsumners-nr
Copy link
Contributor

When is this supposed to be merged?

@bizob2828
Copy link
Member

I added secret to repo

@bizob2828 bizob2828 merged commit 8d8608d into newrelic:main Jan 27, 2025
15 checks passed
@hmstepanek hmstepanek deleted the move-release-from-lambda-to-gha branch January 27, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

4 participants