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

redis: add prefetched dependencies, hermetic builds and unit tests #131

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

lance
Copy link
Member

@lance lance commented Jan 31, 2024

  • Updates the redis pipeline to use cachi2 and hermetic builds.
  • Removes unit tests from the redis pipeline as that is not required for changes to the Dockerfile.
  • Simplifies prefetch since we don't need to actually fetch anything.
  • Finally, the cachi2 binary cannot handle go 1.21 yet. The apache/beam project recently reverted the use of 1.21 language features in [Go SDK] Don't depend on the go 1.21 standard lib yet apache/beam#30120 which should make it possible to run prefetched dependencies in the pipeline.

Updates the redis pipeline to use cachi2 and hermetic builds.

Signed-off-by: Lance Ball <[email protected]>
Copy link

openshift-ci bot commented Jan 31, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lance

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

lance added 2 commits January 31, 2024 16:26
Removes unit tests from the redis pipeline as that is not required for changes
to the Dockerfile.

Simplifies prefetch since we don't need to actually fetch anything.

Signed-off-by: Lance Ball <[email protected]>
The cachi2 binary cannot handle go 1.21 yet. The apache/beam project
recently reverted the use of 1.21 language features in
apache/beam#30120 which should make it possible
to run prefetched dependencies in the pipeline.

Signed-off-by: Lance Ball <[email protected]>
@lance lance force-pushed the test-redis-prefetch branch from 8e61389 to edf5def Compare January 31, 2024 21:29
@lance lance merged commit a3fa4f7 into main Jan 31, 2024
9 of 10 checks passed
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.

1 participant