Skip to content

Commit

Permalink
ci: fix macos test
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Dec 4, 2024
1 parent 7b342e2 commit e5f7dc0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions examples/debian_snapshot/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load("@aspect_bazel_lib//lib:tar.bzl", "tar")
load("@aspect_bazel_lib//lib:transitions.bzl", "platform_transition_filegroup")
load("@container_structure_test//:defs.bzl", "container_structure_test")
load("@rules_distroless//distroless:defs.bzl", "cacerts", "group", "passwd")
load("@rules_oci//oci:defs.bzl", "oci_image", "oci_load")
load("@rules_oci//oci:defs.bzl", "oci_image")

passwd(
name = "passwd",
Expand Down Expand Up @@ -62,6 +62,7 @@ oci_image(
"SSL_CERT_FILE": "/etc/ssl/certs/ca-certificates.crt",
},
os = "linux",
tags = ["manual"],
tars = [
# This target contains all the installed packages.
"@bullseye//:bullseye",
Expand Down Expand Up @@ -97,13 +98,13 @@ platform_transition_filegroup(
}),
)

oci_load(
name = "tarball",
image = ":image_platform",
repo_tags = [
"distroless/test:latest",
],
)
# oci_load(
# name = "tarball",
# image = ":image_platform",
# repo_tags = [
# "distroless/test:latest",
# ],
# )

container_structure_test(
name = "test",
Expand Down

0 comments on commit e5f7dc0

Please sign in to comment.