Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

bazel: bump rules_{oci,pkg} #60510

Merged
merged 3 commits into from
Apr 8, 2024
Merged

bazel: bump rules_{oci,pkg} #60510

merged 3 commits into from
Apr 8, 2024

Conversation

Strum355
Copy link
Contributor

@Strum355 Strum355 commented Feb 14, 2024

Test plan

CI

@Strum355 Strum355 added the bazel label Feb 14, 2024
@Strum355 Strum355 requested a review from a team February 14, 2024 13:18
@Strum355 Strum355 self-assigned this Feb 14, 2024
@cla-bot cla-bot bot added the cla-signed label Feb 14, 2024
@Strum355 Strum355 enabled auto-merge (squash) February 14, 2024 13:20
WORKSPACE Outdated
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
Copy link
Contributor

Choose a reason for hiding this comment

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

Went through the changelog, LGTM

bazel-contrib/rules_go#3838 is interesting btw

url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.3/rules_oci-v1.4.3.tar.gz",
sha256 = "cf6b8be82cde30daef18a09519d75269650317e40d917c8633cf8e3ab5645ea5",
strip_prefix = "rules_oci-1.7.2",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.2/rules_oci-v1.7.2.tar.gz",
Copy link
Contributor

Choose a reason for hiding this comment

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

Went through the changelog LGTM

"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.8.1/rules_pkg-0.8.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.8.1/rules_pkg-0.8.1.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.10.1/rules_pkg-0.10.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.10.1/rules_pkg-0.10.1.tar.gz",
Copy link
Contributor

Choose a reason for hiding this comment

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

Went through the changelog, LGTM

@@ -18,6 +18,7 @@ def container_dependencies(targets):
name = "tar_{}".format(name),
srcs = [target],
remap_paths = {"/{}".format(name): "/usr/local/bin/{}".format(name)},
modes = {"/usr/local/bin/{}".format(name): "0555"},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently broken due to bazelbuild/rules_pkg#822, hence tests are failing with files being 0o755 instead of 0o555

@jhchabran
Copy link
Contributor

@Strum355 what's the status on that PR ?

@Strum355
Copy link
Contributor Author

@Strum355 what's the status on that PR ?

rules_go has been bumped separately already as part of moving to 1.22
rules_oci still outstanding, no issues discovered at the time of this PR
rules_tar also outstanding but blocked on the issue here https://github.com/sourcegraph/sourcegraph/pull/60510#discussion_r1489794982

@Strum355 Strum355 changed the title bazel: bump rules_{go,oci,pkg} bazel: bump rules_{oci,pkg} Apr 8, 2024
@Strum355 Strum355 merged commit 1ee85c2 into main Apr 8, 2024
16 checks passed
@Strum355 Strum355 deleted the nsc/bazel-workspace-bump branch April 8, 2024 12:54
Strum355 added a commit that referenced this pull request Apr 10, 2024
jamesmcnamara pushed a commit that referenced this pull request Apr 10, 2024
Revert "bazel: bump rules_{go,oci,pkg} (#60510)"

This reverts commit 1ee85c2.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants