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: auto update binary dependencies #664

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ginglis13
Copy link
Contributor

Issue #, if available:

Description of changes:

This PR adds automation to support upgrading SOCI and ECR Cred helper dependencies to their latest versions. Finch hardcodes the SHA of the ECR Credential Helper binary for the arm64 architecture to be used in checking for if it has been Installed(). However, this logic likely needs to be reworked as Finch supports both x86_64 and ARM architectures. Checking for previously installed ECR cred helper can be done in a separate PR.

Issue opened to track ECR cred helper hash refactor: #663

This PR makes use of the Get Latest Release action

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This PR adds automation to support upgrading SOCI and ECR Cred helper
dependencies to their latest versions. Finch hardcodes the SHA of the
ECR Credential Helper binary for the arm64 architecture to be used in
checking for if it has been `Installed()`. However, this logic likely
needs to be reworked as Finch supports both x86_64 and ARM
architectures. Checking for previously installed ECR cred helper can be
done in a separate PR.

Signed-off-by: Gavin Inglis <[email protected]>
@ginglis13 ginglis13 requested a review from a team as a code owner October 26, 2023 22:44
Copy link
Member

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

Overall, LGTM.

@@ -46,6 +46,34 @@ jobs:
run: |
./deps/finch-core/bin/update-rootfs.sh -d ${{ secrets.DEPENDENCY_BUCKET_NAME }}

- name: Check for latest SOCI version
id: soci-version-check
uses: pozetroninc/github-action-get-latest-release@d1dafdb6e338bdab109e6afce581a01858680dfb
Copy link
Member

Choose a reason for hiding this comment

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

nit: can we add comment for the tagged version? e.g. # v0.7.0


- name: Check for latest ECR credential helper version
id: ecr-credential-helper-version-check
uses: pozetroninc/github-action-get-latest-release@d1dafdb6e338bdab109e6afce581a01858680dfb
Copy link
Member

Choose a reason for hiding this comment

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

same here

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.

2 participants