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 rules_oci #7568

Merged
merged 3 commits into from
Sep 30, 2024
Merged

Add rules_oci #7568

merged 3 commits into from
Sep 30, 2024

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Sep 26, 2024

Add rules_oci and build an example image with it to test it's compatibility with our current rules_docker usage.

@sluongng sluongng force-pushed the sluongng/init-rules-oci branch from 5ec358c to 4cdaeab Compare September 26, 2024 12:43
@sluongng sluongng changed the title sluongng/init rules oci Add rules_oci Sep 26, 2024
@sluongng sluongng force-pushed the sluongng/init-rules-oci branch 2 times, most recently from e27a7cc to e2be71b Compare September 26, 2024 14:08
@sluongng sluongng requested review from bduffany and fmeum September 26, 2024 15:58
@sluongng sluongng marked this pull request as ready for review September 26, 2024 15:58
@sluongng sluongng force-pushed the sluongng/init-rules-oci branch 2 times, most recently from ae1c79d to eb69d65 Compare September 27, 2024 15:43
@sluongng sluongng force-pushed the sluongng/init-rules-oci branch from eb69d65 to 27ca19a Compare September 27, 2024 15:44
Copy link
Contributor

@fmeum fmeum left a comment

Choose a reason for hiding this comment

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

Looks good to me (and pretty clean)!

deployment/BUILD Outdated Show resolved Hide resolved
@@ -130,3 +132,27 @@ container_image(
tags = ["manual"],
visibility = ["//visibility:public"],
)

# TODO(sluongng): Verify the layering of the image.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Worth noting: I am aware that the current pkg_tar setup is wrong.

  • It does not pull in the much-needed runfiles of the go binaries
  • There are also some layout changes on the final oci image vs the old image that we should address.

Since this PR is already fairly sized and does not break anything, I will be merging this as-is. A subsequent PR will be sent to correct the rules_pkg usage and oci image layout.

@sluongng sluongng merged commit 5430f7a into master Sep 30, 2024
15 checks passed
@sluongng sluongng deleted the sluongng/init-rules-oci branch September 30, 2024 13:16
sluongng added a commit that referenced this pull request Sep 30, 2024
This reverts commit 5430f7a.

Break current release flow.
sluongng added a commit that referenced this pull request Sep 30, 2024
This reverts commit 5430f7a.

Break current release flow.
sluongng added a commit that referenced this pull request Oct 1, 2024
sluongng added a commit that referenced this pull request Oct 1, 2024
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