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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

webfinesse
Copy link

@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
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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide guidance on how to integrate with AWS Signer
1 participant