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 1.22 bundles #184

Merged
merged 1 commit into from
May 6, 2022
Merged

adding 1.22 bundles #184

merged 1 commit into from
May 6, 2022

Conversation

jonahjon
Copy link
Contributor

@jonahjon jonahjon commented May 6, 2022

Signed-off-by: jonahjon jonahjones094@gmail.com

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: jonahjon <jonahjones094@gmail.com>
@eks-distro-bot eks-distro-bot added approved size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 6, 2022
@@ -45,7 +45,7 @@ ${BASE_DIRECTORY}/generatebundlefile/bin/generatebundlefile \
--input ${BASE_DIRECTORY}/generatebundlefile/data/input_121.yaml \
--release-profile ${PROFILE}

# Create the prod bundle
# Create the prod bundle for 1.21
${BASE_DIRECTORY}/generatebundlefile/bin/generatebundlefile \
Copy link
Member

Choose a reason for hiding this comment

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

{BASE_DIRECTORY}/generatebundlefile/generatebundlefile instead? I don't see bin folder generated on my side.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Make build creates a bin folder

Copy link
Contributor

@ewollesen ewollesen left a comment

Choose a reason for hiding this comment

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

/lgtm

${BASE_DIRECTORY}/bin/oras push -u AWS -p "${ECR_PASSWORD}" "${IMAGE_REGISTRY}/eks-anywhere-packages-bundles:v1-21-latest" bundle.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

This kind of cut and paste isn't very sustainable long term.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea Agree, a list of version is probably better.


cd ${BASE_DIRECTORY}/generatebundlefile/output
${BASE_DIRECTORY}/bin/oras push -u AWS -p "${ECR_PASSWORD}" "${IMAGE_REGISTRY}/eks-anywhere-packages-bundles:v1-22-${CODEBUILD_BUILD_NUMBER}" bundle.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

We're exposing passwords to the process table here.

Copy link
Contributor

Choose a reason for hiding this comment

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

There are lots of these. I'm making a ticket to deal with this asap after the release. At least these tokens are short-lived and only visible on AWS-controlled machines (and well, the machine of anyone silly enough to clone and run this code).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is an issue about using the ORAS with docker cred helper, but never figured it out.

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ewollesen, jonahjon

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

The pull request process is described 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm 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.

None yet

4 participants