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

Adding Binary to Release #1553

Merged

Conversation

webfinesse
Copy link
Contributor

@webfinesse webfinesse commented Oct 13, 2024

This pull request includes updates to several GitHub Actions workflows to enhance their functionality and permissions. The most important changes involve modifying permissions and adding steps to upload binaries to releases.

Permissions updates:

  • Changed contents permission from read to write in .github/workflows/release-layer-collector.yml, .github/workflows/release-layer-java.yml, .github/workflows/release-layer-nodejs.yml, .github/workflows/release-layer-python.yml, and .github/workflows/release-layer-ruby.yml to allow for writing content. [1] [2] [3] [4] [5]

Job updates:

  • Added a step to upload the binary to the release in .github/workflows/release-layer-collector.yml.
  • Added a step to upload the binary to the release in .github/workflows/release-layer-java.yml.
  • Added a step to upload the binary to the release in .github/workflows/release-layer-nodejs.yml.
  • Added a step to upload the binary to the release in .github/workflows/release-layer-python.yml.
  • Added a step to upload the binary to the release in .github/workflows/release-layer-ruby.yml.

resolves #1548

  • Assumes that secrets.GITHUB_TOKEN is set. If this is setup differently, please let me know.

@webfinesse webfinesse requested a review from a team as a code owner October 13, 2024 01:28
Copy link

linux-foundation-easycla bot commented Oct 13, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@webfinesse
Copy link
Contributor Author

One of the issues I am having is I am not sure how to test this change. I do not have the infrastructure setup in my fork to test the workflows.

Does anyone have any suggestions on how to test this workflow change?

@webfinesse
Copy link
Contributor Author

webfinesse commented Oct 15, 2024

Okay, you can see releases using this code here: https://github.com/webfinesse/opentelemetry-lambda/releases

I want to delete these releases as they are obviously unofficial, however it shows that my changes work.

Workflow runs can be seen here: https://github.com/webfinesse/opentelemetry-lambda/actions

@webfinesse webfinesse closed this Oct 17, 2024
@webfinesse webfinesse reopened this Oct 17, 2024
@tylerbenson tylerbenson merged commit 17ae75b into open-telemetry:main Oct 18, 2024
16 checks passed
@tylerbenson
Copy link
Member

Thanks for the contribution. We'll wait for the next release to see how well this works.

@tylerbenson tylerbenson added the github_actions Pull requests that update GitHub Actions code label Oct 18, 2024
@tylerbenson
Copy link
Member

Thanks for adding this. It worked great! https://github.com/open-telemetry/opentelemetry-lambda/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide guidance on how to integrate with AWS Signer
3 participants