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
2 changes: 1 addition & 1 deletion .github/workflows/known_good_correct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
- name: Check
run: |
scripts/known_good/update_module_from_known_good.py --known known_good.json --output-dir-modules bazel_common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
# *******************************************************************************
name: AutoSD - Build & Integration Test
on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
push:
branches:
- main
workflow_call:
# pull_request:
# types: [opened, reopened, synchronize]
# merge_group:
# types: [checks_requested]
# push:
# branches:
# - main
# Do not flood CI with unneeded previous runs in PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand All @@ -34,7 +35,19 @@ jobs:
- name: Clean disk space
uses: eclipse-score/more-disk-space@v1
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
- name: download known_good.updated.json artifact
if: github.event_name == 'workflow_call'
uses: actions/download-artifact@v4
with:
name: known_good.updated.json
- name: update MODULE.bazel files
if: github.event_name == 'workflow_call'
run: |
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common
cat bazel_common/score_modules_*.MODULE.bazel
echo "::endgroup::"
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.18.0
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
# *******************************************************************************
name: EB corbos Linux for Safety Applications - Build & Integration Test
on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
push:
branches:
- main
workflow_call:
# pull_request:
# types: [opened, reopened, synchronize]
# merge_group:
# types: [checks_requested]
# push:
# branches:
# - main
# Do not flood CI with unneeded previous runs in PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand All @@ -33,7 +34,19 @@ jobs:
- name: Clean disk space
uses: eclipse-score/more-disk-space@v1
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
- name: download known_good.updated.json artifact
if: github.event_name == 'workflow_call'
uses: actions/download-artifact@v4
with:
name: known_good.updated.json
- name: update MODULE.bazel files
if: github.event_name == 'workflow_call'
run: |
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common
cat bazel_common/score_modules_*.MODULE.bazel
echo "::endgroup::"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall this be in repo action so its not copy pasted everywhere ?

- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.18.0
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# *******************************************************************************
name: Linux - Build & Integration Test
on:
workflow_dispatch:
pull_request:
release:
types: [created]
push:
branches:
- main
workflow_call:
# pull_request:
# release:
# types: [created]
# push:
# branches:
# - main
# Do not flood CI with unneeded previous runs in PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand All @@ -32,7 +32,19 @@ jobs:
- name: Clean disk space
uses: eclipse-score/more-disk-space@v1
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
- name: download known_good.updated.json artifact
if: github.event_name == 'workflow_call'
uses: actions/download-artifact@v4
with:
name: known_good.updated.json
- name: update MODULE.bazel files
if: github.event_name == 'workflow_call'
run: |
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common
cat bazel_common/score_modules_*.MODULE.bazel
echo "::endgroup::"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.8.0
- name: Setup Bazel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
# *******************************************************************************
name: QNX8 - Build & Integration Test
on:
pull_request_target:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
push:
branches:
- main
workflow_call:
# pull_request_target:
# types: [opened, reopened, synchronize]
# merge_group:
# types: [checks_requested]
# push:
# branches:
# - main
# Do not flood CI with unneeded previous runs in PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand All @@ -35,10 +36,22 @@ jobs:
- name: Clean disk space
uses: eclipse-score/more-disk-space@v1
- name: Checkout repository (Handle all events)
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
with:
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
- name: download known_good.updated.json artifact
if: github.event_name == 'workflow_call'
uses: actions/download-artifact@v4
with:
name: known_good.updated.json
- name: update MODULE.bazel files
if: github.event_name == 'workflow_call'
run: |
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common
cat bazel_common/score_modules_*.MODULE.bazel
echo "::endgroup::"
- name: Setup Bazel with shared caching
uses: bazel-contrib/setup-bazel@0.18.0
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
# *******************************************************************************
name: "CodeQL - Multi-Repo Source Scan"
on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
push:
branches:
- main
# pull_request:
# types: [opened, reopened, synchronize]
# merge_group:
# types: [checks_requested]
# push:
# branches:
# - main
workflow_call:
release:
types: [created]
workflow_dispatch:
Expand All @@ -39,9 +40,9 @@ jobs:
contents: read
steps:
- name: Checkout central repository
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
- name: Checkout CodeQL Coding Standards scripts
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
with:
repository: github/codeql-coding-standards
path: codeql-coding-standards-repo # Klonen in diesen Ordner
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_integration-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Clean disk space
uses: eclipse-score/more-disk-space@v1
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
with:
repository: ${{ env.REFERENCE_INTEGRATION_REPO }}
ref: ${{ inputs.target_branch || 'main' }}
Expand All @@ -121,7 +121,7 @@ jobs:
echo "::endgroup::"

echo "::group::update score_modules.MODULE.bazel"
python3 scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir bazel_common/
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common
cat bazel_common/score_modules.MODULE.bazel
echo "::endgroup::"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
known_good_updated: ${{ steps.set_known_good.outputs.known_good_updated }}
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
with:
repository: ${{ env.REFERENCE_INTEGRATION_REPO }}
ref: ${{ inputs.target_branch }}
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
with:
repository: ${{ env.REFERENCE_INTEGRATION_REPO }}
ref: ${{ inputs.target_branch }}
Expand Down
Loading
Loading