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

Add ecr-credential-provider binary to release assets #568

Conversation

gregfurman
Copy link

What type of PR is this?
/kind feature

What this PR does / why we need it:
This PR updates the project's Github actions in order to build the ecr-credentials-provider binary and add it to new release assets.

This means that users will no longer be required to to compile and distribute the binary themselves. Moreover, Go, Git, or a Go Docker image does not need to be present on the host system in order to compile the binary

Which issue(s) this PR fixes:
Fixes #512

Does this PR introduce a user-facing change?:
NONE

- New releases will contain the compiled binary for the `ecr-credentials-helper`

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Feb 6, 2023
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 6, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 6, 2023
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If cloud-provider-aws contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign m00nf1sh for approval by writing /assign @m00nf1sh in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 6, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @gregfurman. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 6, 2023
@gregfurman gregfurman force-pushed the add-ecr-credential-provider-binary branch from efefd70 to 3baf235 Compare February 6, 2023 09:30
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Feb 6, 2023
@olemarkus
Copy link
Member

We will most likely remove the automated release creation. The asset can be uploaded as part of the release procedure post pushing to staging (thus ensuring that the uploaded asset also match the asset in the prod bucket).

@olemarkus
Copy link
Member

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 6, 2023
@jwitko
Copy link

jwitko commented Feb 20, 2023

We will most likely remove the automated release creation. The asset can be uploaded as part of the release procedure post pushing to staging (thus ensuring that the uploaded asset also match the asset in the prod bucket).

Any reason not to push the binary for now until a final decision / approach is made? The lack of available binary combined with the ECR credential helper being the officially documented kubernetes example is confusing a lot of people if you look on the official slack.

@olemarkus
Copy link
Member

The decision has been made, just not implemented. What needs to happen is the artifact promotion job needs to be fixed.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 13, 2023
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@dims
Copy link
Member

dims commented Apr 16, 2023

For the tag:
https://github.com/kubernetes/cloud-provider-aws/releases/tag/v1.27.0

the ecr-credential-provider is here:
https://artifacts.k8s.io/binaries/cloud-provider-aws/v1.27.0/linux/amd64/ecr-credential-provider-linux-amd64

you can see the other versions/binaries using the gcp console:
https://console.cloud.google.com/storage/browser/k8s-artifacts-prod/binaries/cloud-provider-aws

@cartermckinnon
Copy link
Contributor

Seems like this can be closed, @gregfurman @olemarkus do you disagree?

@sidewinder12s
Copy link

@dims Is that actually the process? It doesn't seem some of the 1.28 releases are in that GCS bucket.

@cartermckinnon
Copy link
Contributor

I think we've missed artifact promotion for the last round of releases. I'll get a PR open. The container images are live, though.

@der-eismann
Copy link
Contributor

Did you open a PR for artifact promotion @cartermckinnon? I only found this after 10 mins of searching on this repo.

@et304383
Copy link

et304383 commented May 21, 2024

Yet another example of how the documentation for this provider is severely lacking and really needs to be prioritized for update and cleanup.

@dims
Copy link
Member

dims commented May 21, 2024

@et304383 awesome thanks for volunteering!

@et304383
Copy link

et304383 commented May 21, 2024

@et304383 awesome thanks for volunteering!

No, this is AWS' job. They (you) are a multi-billion dollar company that provides this essential provider with little to no documentation or instructions. That is not in line with the quality we have come to expect from AWS.

@dims
Copy link
Member

dims commented May 21, 2024

Apologies! my bad, please note the this is a kubernetes community repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/feature Categorizes issue or PR as related to a new feature. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish the ecr-credential-provider binary in Github releases
9 participants