Skip to content

Commit e5a1d83

Browse files
authored
Merge branch 'main' into nira_migration_ifs
2 parents b1f0bdb + e4af2d2 commit e5a1d83

11 files changed

Lines changed: 8543 additions & 13 deletions

.github/CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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

.github/workflows/build_and_test_autosd.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@ on:
1919
push:
2020
branches:
2121
- main
22+
# Do not flood CI with unneeded previous runs in PR
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
25+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2226
jobs:
2327
build:
2428
name: x86_64
2529
runs-on: ubuntu-latest
30+
env:
31+
AIB_SCRIPT_URL: https://gitlab.com/CentOS/automotive/src/automotive-image-builder/-/raw/main/auto-image-builder.sh?ref_type=heads
32+
AIB_CONTAINER_IMAGE: quay.io/centos-sig-automotive/automotive-image-builder:latest
2633
steps:
2734
- name: Clean disk space
2835
uses: eclipse-score/more-disk-space@v1
@@ -41,33 +48,33 @@ jobs:
4148
sudo apt-get install -y podman curl qemu-system createrepo-c
4249
- name: Build Showcases
4350
run: |
44-
bazel build --config autosd-x86_64 //images/autosd_x86_64:score-showcases
51+
bazel build --lockfile_mode=error --config autosd-x86_64 //images/autosd_x86_64:score-showcases
4552
- name: Copy showcases folder
4653
run: |
4754
set -e
4855
ls ./bazel-bin/showcases/showcases/showcases
4956
cp -R ./bazel-bin/showcases/showcases/showcases ./images/autosd_x86_64/build/files/reference_integration/
5057
- name: Install AIB Tools
5158
run: |
52-
curl -o auto-image-builder.sh "https://gitlab.com/CentOS/automotive/src/automotive-image-builder/-/raw/main/auto-image-builder.sh?ref_type=heads"
59+
curl -o auto-image-builder.sh "$AIB_SCRIPT_URL"
5360
chmod +x auto-image-builder.sh
5461
working-directory: ./images/autosd_x86_64/build
5562
- name: Build AutoSD QEMU (x86_64)
5663
run: |
5764
export AIB_LOCAL_CONTAINER_STORAGE=$PWD/_build/containers-storage
5865
5966
mkdir -p _build/containers-storage
60-
sudo -E ./auto-image-builder.sh build-builder --distro=autosd10-sig
67+
sudo -E ./auto-image-builder.sh -c $AIB_CONTAINER_IMAGE build-builder --distro=autosd10-sig
6168
62-
sudo -E ./auto-image-builder.sh build \
69+
sudo -E ./auto-image-builder.sh -c $AIB_CONTAINER_IMAGE --verbose build \
6370
--distro=autosd10-sig \
6471
--target=qemu \
6572
--define-file vars.yml \
6673
--define-file vars-devel.yml \
6774
image.aib.yml \
6875
localhost/score:latest
6976
70-
sudo -E ./auto-image-builder.sh to-disk-image localhost/score:latest _build/disk.qcow2
77+
sudo -E ./auto-image-builder.sh -c $AIB_CONTAINER_IMAGE --verbose to-disk-image localhost/score:latest _build/disk.qcow2
7178
7279
sudo chown $(id -u):$(id -u) _build/disk.qcow2
7380
working-directory: ./images/autosd_x86_64/build

.github/workflows/build_and_test_ebclfsa.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
push:
2020
branches:
2121
- main
22+
# Do not flood CI with unneeded previous runs in PR
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
25+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2226
jobs:
2327
build:
2428
name: aarch64
@@ -39,7 +43,7 @@ jobs:
3943
cache-save: ${{ github.event_name == 'push' }}
4044
- name: Build for EB corbos Linux for Safety Applications and run tests
4145
run: |
42-
bazel build --config=eb-aarch64 //images/ebclfsa_aarch64/scrample_integration:run
46+
bazel build --lockfile_mode=error --config=eb-aarch64 //images/ebclfsa_aarch64/scrample_integration:run
4347
- name: Upload test logs
4448
uses: actions/upload-artifact@v5
4549
with:

.github/workflows/build_and_test_linux.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
push:
2020
branches:
2121
- main
22+
# Do not flood CI with unneeded previous runs in PR
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
25+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2226
jobs:
2327
x86_64:
2428
runs-on: ubuntu-latest
@@ -40,7 +44,7 @@ jobs:
4044
cache-save: ${{ github.event_name == 'push' }}
4145
- name: Build image
4246
run: |
43-
bazel build --config=linux-x86_64 //images/linux_x86_64:image
47+
bazel build --lockfile_mode=error --config=linux-x86_64 //images/linux_x86_64:image
4448
- name: Integration tests
4549
run: |
46-
bazel test --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:linux_x86_64

.github/workflows/build_and_test_qnx.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
push:
2020
branches:
2121
- main
22+
# Do not flood CI with unneeded previous runs in PR
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
25+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2226
jobs:
2327
qnx-build-x86_64:
2428
name: x86_64
@@ -66,10 +70,10 @@ jobs:
6670
SCORE_QNX_USER: ${{ secrets.SCORE_QNX_USER }}
6771
SCORE_QNX_PASSWORD: ${{ secrets.SCORE_QNX_PASSWORD }}
6872
run: |
69-
bazel build --config qnx-x86_64 //images/qnx_x86_64:image
73+
bazel build --lockfile_mode=error --config qnx-x86_64 //images/qnx_x86_64:image
7074
- name: Run integration tests
7175
run: |
72-
bazel test --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:qnx_x86_64
7377
- name: Cleanup QNX license
7478
if: always()
7579
run: sudo rm -rf /opt/score_qnx

.github/workflows/bzlmod-lock.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2025 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+
name: Bzlmod Lockfile Check
14+
on:
15+
pull_request:
16+
types: [opened, reopened, synchronize]
17+
merge_group:
18+
types: [checks_requested]
19+
push:
20+
branches:
21+
- main
22+
jobs:
23+
bzlmod-lock:
24+
uses: eclipse-score/cicd-workflows/.github/workflows/bzlmod-lock-check.yml@main
25+
with:
26+
working-directory: .

.github/workflows/codeql-multiple-repo-scan.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
workflow_dispatch:
2525
permissions:
2626
contents: write
27+
# Do not flood CI with unneeded previous runs in PR
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
30+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2731
jobs:
2832
analyze-repos:
2933
name: Analyze Multiple Repositories

.github/workflows/test_and_docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
types: [checks_requested]
2727
release:
2828
types: [created]
29+
# Do not flood CI with unneeded previous runs in PR
30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
32+
cancel-in-progress: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
2933
jobs:
3034
test_and_docs:
3135
runs-on: ubuntu-22.04
@@ -81,7 +85,7 @@ jobs:
8185
run: |
8286
mkdir -p artifacts
8387
find bazel-testlogs/external -name 'test.xml' -print0 | xargs -0 -I{} cp --parents {} artifacts/
84-
cp -r "$(bazel info bazel-bin)/coverage/rust-tests" artifacts/rust
88+
cp -r "$(bazel info --lockfile_mode=error bazel-bin)/coverage/rust-tests" artifacts/rust
8589
zip -r ${{ github.event.repository.name }}_test_reports.zip artifacts/
8690
shell: bash
8791
- name: Upload release asset (attach ZIP to GitHub Release)
@@ -99,6 +103,7 @@ jobs:
99103
- name: Build documentation
100104
run: |
101105
bazel --output_base="/home/runner/.cache/bazel/output_base" run \
106+
--lockfile_mode=error \
102107
--repo_contents_cache="/home/runner/.cache/bazel/repo_contents" \
103108
--repository_cache="/home/runner/.cache/bazel/repo" \
104109
--disk_cache="/home/runner/.cache/bazel/disk" \

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Bazel
22
bazel-*
3-
MODULE.bazel.lock
43
user.bazelrc
54

65
_logs

0 commit comments

Comments
 (0)