Skip to content
Open
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
9 changes: 8 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ build --tool_java_runtime_version=remotejdk_17

build:_common --@score_baselibs//score/json:base_library=nlohmann
build:_common --@score_baselibs//score/memory/shared/flags:use_typedshmd=False
build:_common --@score_communication//score/mw/com/flags:tracing_library=stub
build:_common --@score_baselibs_rust//src/log:safety_level=qm
build:_common --@score_communication//score/mw/com/flags:tracing_library=@score_baselibs//score/analysis/tracing/generic_trace_library/stub_implementation
build:_common --cxxopt=-Wno-error=mismatched-new-delete
build:_common --host_platform=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix
build:_common --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu
Expand Down Expand Up @@ -69,6 +70,12 @@ test:ferrocene-coverage --run_under=@score_tooling//coverage:llvm_profile_wrappe
# Coverage needs to have all intermediate .rlibs to be able to proceed
build:ferrocene-coverage --remote_download_all

# Persistency specific flags
build:ferrocene-coverage-per --config=ferrocene-coverage
build:ferrocene-coverage-per --@score_baselibs_rust//src/log:safety_level=qm
build:ferrocene-coverage-per --@score_baselibs//score/json:base_library=nlohmann
build:ferrocene-coverage-per --@score_logging//score/mw/log/flags:KRemote_Logging=False

# Output only failed test logs
test --test_output=errors

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_and_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test_and_docs:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: write # required to upload release assets
pull-requests: write
Expand Down
6 changes: 3 additions & 3 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ docs(
"@score_persistency//:needs_json",
"@score_orchestrator//:needs_json",
"@score_kyron//:needs_json",
"@score_baselibs//:needs_json",
# "@score_baselibs//:needs_json", # score_tooling is dev_dependency
"@score_baselibs_rust//:needs_json",
# "@score_communication//:needs_json", # no docs_sources
# "@score_lifecycle_health//:needs_json", # unreadable images - relative paths issue
# "@score_logging//:needs_json", # duplicated labels
"@score_logging//:needs_json",
"@score_logging//:needs_json", # duplicated labels
# Tools
"@score_platform//:needs_json",
"@score_process//:needs_json",
"@score_docs_as_code//:needs_json",
],
known_good = "known_good.json",
source_dir = "docs",
)

Expand Down
21 changes: 17 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# *******************************************************************************
module(
name = "score_ref_int",
version = "0.6.0",
version = "0.7.0",
compatibility_level = 0,
)

Expand Down Expand Up @@ -47,10 +47,23 @@ archive_override(
urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz"],
)

# Implicit dependencies for score_communication
bazel_dep(name = "download_utils", version = "1.2.2")

download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")

download_archive(
name = "json_schema_validator",
build = "//third_party/json_schema_validator:json_schema_validator.BUILD",
dev_dependency = True,
strip_prefix = "json-schema-validator-2.1.0",
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
)

# Implicit dependencies for score_tooling
bazel_dep(name = "aspect_rules_lint", version = "2.0.0")
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
bazel_dep(name = "score_rust_policies", version = "0.0.3")
bazel_dep(name = "aspect_rules_lint", version = "2.3.0")
bazel_dep(name = "buildifier_prebuilt", version = "8.5.1")
bazel_dep(name = "score_rust_policies", version = "0.0.5")

# TRLC dependency for requirements traceability
bazel_dep(name = "trlc")
Expand Down
1,134 changes: 403 additions & 731 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions bazel_common/score_gcc_toolchains.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.0")
git_override(
module_name = "score_bazel_cpp_toolchains",
commit = "eba6b8c4b2d1d410a7f0cf8aae8b7938320bf6c8",
remote = "https://github.com/eclipse-score/bazel_cpp_toolchains.git",
)
bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.1")

gcc = use_extension("@score_bazel_cpp_toolchains//extensions:gcc.bzl", "gcc", dev_dependency = True)
gcc.toolchain(
Expand Down
2 changes: 1 addition & 1 deletion bazel_common/score_images.MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bazel_dep(name = "rules_oci", version = "2.2.7")
bazel_dep(name = "rules_oci", version = "2.3.0")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
Expand Down
46 changes: 18 additions & 28 deletions bazel_common/score_modules_target_sw.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,65 +15,55 @@
# Do not edit manually - use scripts/known_good/update_module_from_known_good.py

bazel_dep(name = "score_baselibs")
git_override(
single_version_override(
module_name = "score_baselibs",
commit = "158fe6a7b791c58f6eac5f7e4662b8db0cf9ac6e",
patch_strip = 1,
patches = [
"//patches/baselibs:003-acl-fixes-for-aarch64.patch",
],
remote = "https://github.com/eclipse-score/baselibs.git",
version = "0.2.7",
)

bazel_dep(name = "score_baselibs_rust")
git_override(
single_version_override(
module_name = "score_baselibs_rust",
commit = "0eba2934fa8b0e1a343ec6bf6f7ff00cec27d81c",
remote = "https://github.com/eclipse-score/baselibs_rust.git",
version = "0.1.2",
)

bazel_dep(name = "score_communication")
git_override(
single_version_override(
module_name = "score_communication",
commit = "56448a5589a5f7d3921b873e8127b824a8c1ca95",
patch_strip = 1,
patches = [
"//patches/communication:001-expose-comm-examples.patch",
"//patches/communication:002-tests-visibility.patch",
"//patches/communication:003-module-deps-visibility.patch",
],
remote = "https://github.com/eclipse-score/communication.git",
version = "0.2.1",
)

bazel_dep(name = "score_persistency")
git_override(
single_version_override(
module_name = "score_persistency",
commit = "438bf9b5c447fd41ad43b321679dd3d1b3a6c737",
remote = "https://github.com/eclipse-score/persistency.git",
version = "0.3.2",
)

bazel_dep(name = "score_orchestrator")
git_override(
single_version_override(
module_name = "score_orchestrator",
commit = "600fdd8186305ffbf495e4fc788195c077de79ac",
remote = "https://github.com/eclipse-score/orchestrator.git",
version = "0.1.1",
)

bazel_dep(name = "score_kyron")
git_override(
single_version_override(
module_name = "score_kyron",
commit = "5acfb1a593ec65cf4f64424f581c6ddd04813ee7",
remote = "https://github.com/eclipse-score/kyron.git",
version = "0.1.2",
)

bazel_dep(name = "score_lifecycle_health")
git_override(
single_version_override(
module_name = "score_lifecycle_health",
commit = "757d17d4968ae3aebf6cd6981f8aeb875653a592",
remote = "https://github.com/eclipse-score/lifecycle.git",
version = "0.2.0",
)

bazel_dep(name = "score_logging")
git_override(
single_version_override(
module_name = "score_logging",
commit = "80feaae8ffaa2448c3872011b724e1668ad2930e",
remote = "https://github.com/eclipse-score/logging.git",
version = "0.2.1",
)
40 changes: 16 additions & 24 deletions bazel_common/score_modules_tooling.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,49 @@
# Do not edit manually - use scripts/known_good/update_module_from_known_good.py

bazel_dep(name = "score_crates")
git_override(
single_version_override(
module_name = "score_crates",
commit = "90539da0fd3e7e23e01f2b4de1679f7dfadd3b6b",
remote = "https://github.com/eclipse-score/score-crates.git",
version = "0.0.9",
)

bazel_dep(name = "score_itf")
git_override(
single_version_override(
module_name = "score_itf",
commit = "1276f1818f926e2eb9cf234b61ff51d0c1da1e30",
remote = "https://github.com/eclipse-score/itf.git",
version = "0.3.0",
)

bazel_dep(name = "score_tooling")
git_override(
single_version_override(
module_name = "score_tooling",
commit = "1159dcf9d35981ac4877265eff7a1e7a24452161",
remote = "https://github.com/eclipse-score/tooling.git",
version = "1.1.2",
)

bazel_dep(name = "score_platform")
git_override(
single_version_override(
module_name = "score_platform",
commit = "bf8502071d750cb70d88f1cb5cfbf5e5e7407f27",
remote = "https://github.com/eclipse-score/score.git",
version = "0.5.5",
)

bazel_dep(name = "score_bazel_platforms")
git_override(
single_version_override(
module_name = "score_bazel_platforms",
commit = "b72a5c3510ca423efc71fef9a93d82f974b089a4",
remote = "https://github.com/eclipse-score/bazel_platforms.git",
version = "0.1.2",
)

bazel_dep(name = "score_test_scenarios")
git_override(
single_version_override(
module_name = "score_test_scenarios",
commit = "c3d385c8e5562b594a409e92a8f493207b53b49d",
remote = "https://github.com/eclipse-score/testing_tools.git",
version = "0.4.1",
)

bazel_dep(name = "score_docs_as_code")
git_override(
single_version_override(
module_name = "score_docs_as_code",
commit = "c1207676afe6cafd25c35d420e73279a799515d8",
remote = "https://github.com/eclipse-score/docs-as-code.git",
version = "4.0.3",
)

bazel_dep(name = "score_process")
git_override(
single_version_override(
module_name = "score_process",
commit = "fbe68f10041eb34fb791f08e31006afce8c9564a",
remote = "https://github.com/eclipse-score/process_description.git",
version = "1.5.4",
)
10 changes: 2 additions & 8 deletions bazel_common/score_rust_toolchains.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
bazel_dep(name = "rules_rust", version = "0.61.0")
bazel_dep(name = "rules_rust", version = "0.68.1-score")

bazel_dep(name = "score_toolchains_rust", version = "0.4.0", dev_dependency = True)

git_override(
module_name = "rules_rust",
commit = "293337fd6402ec3dfbeb8f2d589f38ad9124dadd",
remote = "https://github.com/pawelrutkaq/rules_rust.git", # To be fixed once rule_rust is in score bazel registry
)
bazel_dep(name = "score_toolchains_rust", version = "0.8.0", dev_dependency = True)

ferrocene = use_extension(
"@score_toolchains_rust//extensions:ferrocene_toolchain_ext.bzl",
Expand Down
14 changes: 2 additions & 12 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,7 @@ Reference Integration Documentation
Newest Release Notes
--------------------

.. needlist::
import re

all_release_notes = []

for need in needs:
if "wp__platform_sw_release_note" in need["realizes"]:
all_release_notes.append(need)

newest_release_note = max(all_release_notes, key=lambda s: int(re.search(r'v(\d+)', s["id"]).group(1)))
results = [newest_release_note]
:doc:`release_notes/score_07`

Current Integration Status Overview
-----------------------------------
Expand All @@ -46,7 +36,6 @@ Explore the documentation
_collections/score_persistency/docs/index
_collections/score_orchestrator/docs/index
_collections/score_kyron/docs/index
_collections/score_baselibs/docs/index
_collections/score_baselibs_rust/docs/index
_collections/score_logging/docs/index

Expand All @@ -70,4 +59,5 @@ Explore the documentation
:hidden:
:glob:

release_notes/*
verification/*
Loading
Loading