Skip to content

Commit 0ba3b57

Browse files
committed
codeql: removing the coding-standard repo
adding conditional jq chore: extend codeowners list (#175) * chore: extend codeowners list * fix: no commas Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Alexander Lanin <alex@lanin.de> --------- Signed-off-by: Alexander Lanin <alex@lanin.de> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Integrates datarouter (#178) * Integrates datarouter - Deploys datarouetr in linux x86_64 and qnx_x86_64 image - Multicast route added to qnx guest in network_setup_dhcp.sh required for capturing DLTs. - dlt_config added for x86_64 and qnx x86_64 targets that includes the vlan_address updated for dlt_receive to capture untagged ethernet frames on tap0 interface * Adds datarouter test_remote_logging integration test - Adds test_remote_logging integration test that verifies remote logging of datarouter and network config. of the linux x86_64 and qnx qemu image by capturing DLT logs on the host. Use py_itf_test rule with select support (#177) - Update score_itf to 44c75de and score_bazel_platforms to b72a5c3 in known_good.json and MODULE.bazel overrides - Add explicit bazel_dep on platforms 1.0.0 (required by new config_settings) - Merge the two py_itf_test targets (linux_x86_64, qnx_x86_64) in feature_integration_tests/itf/BUILD into a single 'itf' target that uses config_setting + select() to switch args/data/plugins per platform; keep backward-compatible aliases for the old target names - Upgrade rules_oci from 1.8.0 to 2.2.7; adapt docker images to use oci_load (replacing the removed oci_tarball) and add the platform-specific repo variants revert the filters to test adding jd check and filter regex matches relative path
1 parent e4af2d2 commit 0ba3b57

26 files changed

Lines changed: 625 additions & 621 deletions

.bazelrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ build --tool_java_language_version=17
1313
build --java_runtime_version=remotejdk_17
1414
build --tool_java_runtime_version=remotejdk_17
1515

16-
build:_common --@score_baselibs//score/mw/log/flags:KRemote_Logging=False
1716
build:_common --@score_baselibs//score/json:base_library=nlohmann
1817
build:_common --@score_baselibs//score/memory/shared/flags:use_typedshmd=False
1918
build:_common --@score_communication//score/mw/com/flags:tracing_library=stub
@@ -22,6 +21,14 @@ build:_common --host_platform=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-p
2221
build:_common --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu
2322
build:_common --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux-gcc_12.2.0-posix
2423

24+
# Flags needed by datarouter
25+
build:_common --@score_logging//score/datarouter/build_configuration_flags:persistent_logging=False
26+
build:_common --@score_logging//score/datarouter/build_configuration_flags:persistent_config_feature_enabled=False
27+
build:_common --@score_logging//score/datarouter/build_configuration_flags:enable_nonverbose_dlt=False
28+
build:_common --@score_logging//score/datarouter/build_configuration_flags:enable_dynamic_configuration=False
29+
build:_common --@score_logging//score/datarouter/build_configuration_flags:file_transfer=False
30+
build:_common --@score_logging//score/datarouter/build_configuration_flags:use_local_vlan=True
31+
2532
build:qnx-x86_64 --config=_common
2633
build:qnx-x86_64 --noexperimental_merged_skyframe_analysis_execution
2734
build:qnx-x86_64 --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1

.github/CODEOWNERS

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
# GitHub CODEOWNERS file is a simple way to automate review system on github,
2-
# by automatically assigning owners to a pull request based on which files
3-
# were modified. All directories should have a proper codeowner
4-
# Syntax: https://help.github.com/articles/about-codeowners/
5-
6-
# default owners
7-
# @kgraeper to come once he is commiter
8-
* @pawelrutkaq @PiotrKorkus
1+
# 👋 Code owners help maintain this repository and keep it aligned with our technical vision.
2+
# You're responsible for reviewing changes, ensuring quality, and guiding contributors.
3+
# You're also encouraged to help triage issues and keep discussions constructive and focused.
4+
# Ownership can be shared, delegated, or updated as the project evolves.
5+
6+
# For more information about CODEOWNERS, see:
7+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
8+
9+
10+
# This repository is maintained by the following individuals, who are responsible for reviewing and approving changes to the codebase:
11+
# * @pawelrutkaq @PiotrKorkus @kgraeper
12+
# Note: @kgraeper is currently mid-committer-election process, but is already actively maintaining this repository (in an unofficial capacity).
13+
14+
# However as this would create quite a bottleneck, we also want to cast a wider net and encourage the following individuals to also review and approve changes to the codebase.
15+
# PLEASE LEAVE CRITICAL DECISIONS TO THE FIRST GROUP, BUT FEEL FREE TO APPROVE ANYTHING ELSE.
16+
* @pawelrutkaq @PiotrKorkus @kgraeper @nradakovic @dcalavrezo-qorix @AlexanderLanin @MaximilianSoerenPollak @opajonk @lurtz @antonkri @FScholPer

.github/workflows/build_and_test_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
bazel build --lockfile_mode=error --config=linux-x86_64 //images/linux_x86_64:image
4848
- name: Integration tests
4949
run: |
50-
bazel test --lockfile_mode=error --config=linux-x86_64 //feature_integration_tests/itf:linux_x86_64
50+
bazel test --lockfile_mode=error --config=linux-x86_64 //feature_integration_tests/itf

.github/workflows/build_and_test_qnx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
bazel build --lockfile_mode=error --config qnx-x86_64 //images/qnx_x86_64:image
7474
- name: Run integration tests
7575
run: |
76-
bazel test --lockfile_mode=error --config=itf-qnx-x86_64 //feature_integration_tests/itf:qnx_x86_64
76+
bazel test --lockfile_mode=error --config=itf-qnx-x86_64 //feature_integration_tests/itf
7777
- name: Cleanup QNX license
7878
if: always()
7979
run: sudo rm -rf /opt/score_qnx

MODULE.bazel.lock

Lines changed: 182 additions & 546 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bazel_common/score_basic_bazel.MODULE.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13+
14+
bazel_dep(name = "platforms", version = "1.0.0")
1315
bazel_dep(name = "rules_shell", version = "0.6.0")
1416
bazel_dep(name = "rules_cc", version = "0.2.16")
1517
bazel_dep(name = "rules_pkg", version = "1.2.0")

bazel_common/score_images.MODULE.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
bazel_dep(name = "rules_oci", version = "1.8.0")
1+
bazel_dep(name = "rules_oci", version = "2.2.7")
22

33
oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
44
oci.pull(
@@ -15,4 +15,5 @@ oci.pull(
1515
platforms = ["linux/amd64"],
1616
tag = "stream10",
1717
)
18-
use_repo(oci, "centos_stream10", "ubuntu_22_04")
18+
use_repo(oci, "centos_stream10", "centos_stream10_linux_amd64")
19+
use_repo(oci, "ubuntu_22_04", "ubuntu_22_04_linux_amd64")

bazel_common/score_modules_tooling.MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ git_override(
2424
bazel_dep(name = "score_itf")
2525
git_override(
2626
module_name = "score_itf",
27-
commit = "e1243f3818fd78b72f79741082016fd3d7c85329",
27+
commit = "44c75debab696a9c967455110a2c32f201159cdd",
2828
remote = "https://github.com/eclipse-score/itf.git",
2929
)
3030

@@ -45,7 +45,7 @@ git_override(
4545
bazel_dep(name = "score_bazel_platforms")
4646
git_override(
4747
module_name = "score_bazel_platforms",
48-
commit = "2286de89c35d5660ad183906a6f010b33fcac8db",
48+
commit = "b72a5c3510ca423efc71fef9a93d82f974b089a4",
4949
remote = "https://github.com/eclipse-score/bazel_platforms.git",
5050
)
5151

feature_integration_tests/configs/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# *******************************************************************************
1313
exports_files(
1414
[
15+
"dlt_config_qnx_x86_64.json",
16+
"dlt_config_x86_64.json",
1517
"qemu_bridge_config.json",
1618
],
1719
)
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
14+
exports_files([
15+
"etc/logging.json",
16+
"etc/log-channels.json",
17+
])
18+
19+
filegroup(
20+
name = "etc_configs",
21+
srcs = [
22+
"etc/log-channels.json",
23+
"etc/logging.json",
24+
],
25+
visibility = ["//visibility:public"],
26+
)

0 commit comments

Comments
 (0)