Skip to content
Draft
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
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ name: QNX Rust Build Test

on: workflow_dispatch

defaults:
run:
shell: bash

jobs:
qnx-rust-build:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
image: ghcr.io/eclipse-score/devcontainer:v1.2.0

There is a new release with the Rust and LLVM features removed to reduce the image size

Copy link
Contributor

Choose a reason for hiding this comment

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

However I heard Rust bindgen needs LLVM installed on the host / container

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI the main tag of the devcontianer has LLVM reintroduced

environment: workflow-approval
steps:
- name: Checkout repository
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ defaults:
jobs:
cargo-build:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- uses: actions/checkout@v4

Expand All @@ -42,6 +44,8 @@ jobs:

cargo-miri:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
env:
MIRIFLAGS: "-Zmiri-disable-isolation"
steps:
Expand All @@ -63,6 +67,8 @@ jobs:

cargo-coverage:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- uses: actions/checkout@v4

Expand All @@ -81,6 +87,8 @@ jobs:

rust-bazel:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -105,6 +113,8 @@ jobs:

cpp-bazel:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ on:
merge_group:
types: [checks_requested]

defaults:
run:
shell: bash

jobs:
bazel-clippy:
uses: eclipse-score/cicd-workflows/.github/workflows/static-analysis.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/static-analysis.yml@dcalavrezo_containerized
with:
bazel-targets: "//src/rust/..."
bazel-config: "lint"
6 changes: 6 additions & 0 deletions .github/workflows/component_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ on:
types: [checks_requested]
workflow_call:

defaults:
run:
shell: bash

jobs:
component-integration-tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
defaults:
run:
shell: bash
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
merge_group:
types: [checks_requested]

defaults:
run:
shell: bash

jobs:
copyright-check:
uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@dcalavrezo_containerized
6 changes: 5 additions & 1 deletion .github/workflows/docs-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight UTC

defaults:
run:
shell: bash

jobs:
docs-cleanup:
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@dcalavrezo_containerized
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ on:
release:
types: [created]

defaults:
run:
shell: bash

jobs:
docs-verify:
uses: eclipse-score/cicd-workflows/.github/workflows/docs-verify.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/docs-verify.yml@dcalavrezo_containerized
permissions:
pull-requests: write
contents: read
Expand All @@ -46,7 +50,7 @@ jobs:
build-docs:
needs: [docs-verify, cit-tests] # Test reports are needed for traceability links
if: ${{ always() && needs.docs-verify.result == 'success' }}
uses: eclipse-score/cicd-workflows/.github/workflows/docs.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/docs.yml@dcalavrezo_containerized
permissions:
contents: write
pages: write
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
merge_group:
types: [checks_requested]

defaults:
run:
shell: bash

jobs:
formatting-check:
uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@dcalavrezo_containerized
6 changes: 6 additions & 0 deletions .github/workflows/gitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ on:
pull_request:
types: [opened, synchronize, reopened]

defaults:
run:
shell: bash

jobs:
lint-commits:
name: check-commit-messages
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ on:
merge_group:
types: [checks_requested]

defaults:
run:
shell: bash

permissions:
pull-requests: write
issues: write


jobs:
license-check:
uses: eclipse-score/cicd-workflows/.github/workflows/license-check.yml@main
uses: eclipse-score/cicd-workflows/.github/workflows/license-check.yml@dcalavrezo_containerized
with:
repo-url: "${{ github.server_url }}/${{ github.repository }}"
secrets:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/qnx_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ name: QNX Integration Test

on: workflow_dispatch

defaults:
run:
shell: bash

jobs:
qnx-kvs-test:
name: Build & Run QNX Integration Scenario
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0

steps:
- name: Checkout repository
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ on:
release:
types: [created]

defaults:
run:
shell: bash

jobs:
release-verification:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
permissions:
contents: write # required to upload release assets

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ on:
types: [opened, reopened, synchronize]
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
rust_coverage:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:v1.1.0
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
Expand Down
Loading