Skip to content

Commit

Permalink
Temporarily test with local-base images
Browse files Browse the repository at this point in the history
  • Loading branch information
Bownairo committed Oct 21, 2024
1 parent 57d0eca commit 1770c55
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ic-os/guestos/envs/local-base-dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ icos_build(
image_deps_func = image_deps,
tags = ["manual"],
upload_prefix = None, # Do not upload locally built base images
visibility = ["//rs:ic-os-pkg"],
visibility = [
"//rs:ic-os-pkg",
"//rs:system-tests-pkg",
],
)
2 changes: 1 addition & 1 deletion ic-os/setupos/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def image_deps(mode, _malicious = False):
# child images, depending on this build variant.
def _custom_partitions(mode):
if mode == "dev":
guest_image = Label("//ic-os/guestos/envs/dev:disk-img.tar.zst")
guest_image = Label("//ic-os/guestos/envs/local-base-dev:disk-img.tar.zst")
host_image = Label("//ic-os/hostos/envs/dev:disk-img.tar.zst")
nns_url = "https://wiki.internetcomputer.org"
elif mode == "local-base-dev":
Expand Down
2 changes: 1 addition & 1 deletion rs/tests/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ MACRO_DEPENDENCIES = [
"@crate_index//:strum_macros",
]

GUESTOS_DEV_VERSION = "//ic-os/guestos/envs/dev:version.txt"
GUESTOS_DEV_VERSION = "//ic-os/guestos/envs/local-base-dev:version.txt"

GUESTOS_RUNTIME_DEPS = [
GUESTOS_DEV_VERSION,
Expand Down
2 changes: 1 addition & 1 deletion rs/tests/system_tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def system_test(

_env_deps = {}

_guestos = "//ic-os/guestos/envs/dev:"
_guestos = "//ic-os/guestos/envs/local-base-dev:"
_hostos = "//ic-os/hostos/envs/dev:"
_setupos = "//ic-os/setupos/envs/dev:"

Expand Down

0 comments on commit 1770c55

Please sign in to comment.