Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,266 changes: 1,221 additions & 45 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bazel_common/score_modules_target_sw.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ git_override(
bazel_dep(name = "score_lifecycle_health")
git_override(
module_name = "score_lifecycle_health",
commit = "b72edf3a1c94fdf07295205b5cfa34576aab9235",
commit = "757d17d4968ae3aebf6cd6981f8aeb875653a592",
remote = "https://github.com/eclipse-score/lifecycle.git",
)

Expand Down
2 changes: 1 addition & 1 deletion known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"score_lifecycle_health": {
"repo": "https://github.com/eclipse-score/lifecycle.git",
"hash": "b72edf3a1c94fdf07295205b5cfa34576aab9235",
"hash": "757d17d4968ae3aebf6cd6981f8aeb875653a592",
"metadata": {
"code_root_path": "//src/..."
}
Expand Down
59 changes: 7 additions & 52 deletions showcases/simple_lifecycle/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@score_lifecycle_health//:defs.bzl", "launch_manager_config")
load("//bazel_common:bundlers.bzl", "score_pkg_bundle")

launch_manager_config(
name = "lifecycle_configs",
config = "//showcases/simple_lifecycle/configs:launch_manager_config.json",
)

score_pkg_bundle(
name = "simple_lifecycle",
bins = [
Expand All @@ -26,57 +32,6 @@ score_pkg_bundle(
"//showcases/simple_lifecycle:simple_lifecycle.score.json",
],
custom_layout = {
":lm_demo.bin": "etc/lm_demo.bin",
":hm_demo.bin": "etc/hm_demo.bin",
":cpp_supervised_app_demo.bin": "etc/cpp_supervised_app_demo.bin",
":rust_supervised_app_demo.bin": "etc/rust_supervised_app_demo.bin",
":lifecycle_configs": "etc/",
},
)

genrule(
name = "gen_lm_demo.bin",
srcs = [
"@score_lifecycle_health//src/launch_manager_daemon:lm_flatcfg_fbs",
"//showcases/simple_lifecycle/configs:lm_demo.json",
],
outs = ["lm_demo.bin"],
cmd = "$(location @flatbuffers//:flatc) --binary $(SRCS) && mv lm_demo.bin $(location lm_demo.bin)",
tools = ["@flatbuffers//:flatc"],
visibility = ["//visibility:public"],
)

genrule(
name = "gen_hm_demo.bin",
srcs = [
"@score_lifecycle_health//src/launch_manager_daemon/health_monitor_lib:hm_flatcfg_fbs",
"//showcases/simple_lifecycle/configs:hm_demo.json",
],
outs = ["hm_demo.bin"],
cmd = "$(location @flatbuffers//:flatc) --binary $(SRCS) && mv hm_demo.bin $(location hm_demo.bin)",
tools = ["@flatbuffers//:flatc"],
visibility = ["//visibility:public"],
)

genrule(
name = "gen_cpp_supervised_app_demo.bin",
srcs = [
"@score_lifecycle_health//src/launch_manager_daemon/health_monitor_lib:hm_flatcfg_fbs",
"//showcases/simple_lifecycle/configs:cpp_supervised_app_demo.json",
],
outs = ["cpp_supervised_app_demo.bin"],
cmd = "$(location @flatbuffers//:flatc) --binary $(SRCS) && mv cpp_supervised_app_demo.bin $(location cpp_supervised_app_demo.bin)",
tools = ["@flatbuffers//:flatc"],
visibility = ["//visibility:public"],
)

genrule(
name = "gen_rust_supervised_app_demo.bin",
srcs = [
"@score_lifecycle_health//src/launch_manager_daemon/health_monitor_lib:hm_flatcfg_fbs",
"//showcases/simple_lifecycle/configs:rust_supervised_app_demo.json",
],
outs = ["rust_supervised_app_demo.bin"],
cmd = "$(location @flatbuffers//:flatc) --binary $(SRCS) && mv rust_supervised_app_demo.bin $(location rust_supervised_app_demo.bin)",
tools = ["@flatbuffers//:flatc"],
visibility = ["//visibility:public"],
)
5 changes: 1 addition & 4 deletions showcases/simple_lifecycle/configs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
exports_files([
"hm_demo.json",
"lm_demo.json",
"cpp_supervised_app_demo.json",
"rust_supervised_app_demo.json",
"launch_manager_config.json",
])
14 changes: 0 additions & 14 deletions showcases/simple_lifecycle/configs/cpp_supervised_app_demo.json

This file was deleted.

165 changes: 0 additions & 165 deletions showcases/simple_lifecycle/configs/hm_demo.json

This file was deleted.

Loading
Loading