generated from eclipse-score/module_template
-
Notifications
You must be signed in to change notification settings - Fork 6
infra: add CI workflows #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pawelrutkaq
merged 5 commits into
eclipse-score:main
from
qorix-group:arkjedrz_align-repo-state
Jan 6, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
de4222d
Initial commit
eclipse-otterdog[bot] f4d33e9
Log backend for rust frontend (#1)
pawelrutkaq 70ce7fa
repo: align dependecies to newest S-CORE state (#5)
pawelrutkaq fcd11d0
infra: add CI workflows
arkjedrz 1e6349c
infra: post-review fixes
arkjedrz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| name: Bug report | ||
| about: Create a report for a bug | ||
| title: 'Bug: Your bug title' | ||
| labels: 'bug' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| ### Describe the bug: | ||
| <!-- A clear and concise description of what the bug is. --> | ||
|
|
||
| ### Steps to reproduce the behavior: | ||
| 1. | ||
| 2. | ||
|
|
||
| ### Observed behavior: | ||
|
|
||
| ### Expected behavior | ||
|
|
||
| ### Occurrence: | ||
| <!-- Sporadic / Always --> | ||
|
|
||
| ### Attachments / Logs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| <!-- markdownlint-disable MD013 Line breaks on the bullet list lines are also present on the github renderer, therefore no line length limitation --> | ||
| <!-- markdownlint-disable MD041 On the github PR template we want to start with '## Headline' --> | ||
|
|
||
| ## Notes for Reviewer | ||
| <!-- Items in addition to the checklist below that the reviewer should look for --> | ||
|
|
||
| ## Pre-Review Checklist for the PR Author | ||
|
|
||
| * [ ] PR title is short, expressive and meaningful | ||
| * [ ] Commits are properly organized | ||
| * [ ] Relevant issues are linked in the [References](#references) section | ||
| * [ ] Tests are conducted | ||
| * [ ] Unit tests are added | ||
|
|
||
| ## Checklist for the PR Reviewer | ||
|
|
||
| * [ ] Commits are properly organized and messages are according to the guideline | ||
| * [ ] Unit tests have been written for new behavior | ||
| * [ ] Public API is documented | ||
| * [ ] PR title describes the changes | ||
|
|
||
| ## Post-review Checklist for the PR Author | ||
|
|
||
| * [ ] All open points are addressed and tracked via issues | ||
|
|
||
| ## References | ||
|
|
||
| <!-- Use either 'Closes #123' or 'Relates to #123' to reference the corresponding issue. --> | ||
|
|
||
| Closes # <!-- Add issue number after '#' --> | ||
|
|
||
| <!-- markdownlint-enable MD041 --> | ||
| <!-- markdownlint-enable MD013 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: Bazel Build | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| merge_group: | ||
| types: [checks_requested] | ||
|
|
||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| SCORE_QNX_USER: ${{ secrets.SCORE_QNX_USER }} | ||
| SCORE_QNX_PASSWORD: ${{ secrets.SCORE_QNX_PASSWORD }} | ||
| SCORE_QNX_LICENSE: ${{ secrets.SCORE_QNX_LICENSE }} | ||
| jobs: | ||
| build: | ||
| name: Build Bazel Code | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4.2.2 | ||
|
|
||
| - name: Setup Bazel | ||
| uses: bazel-contrib/setup-bazel@0.15.0 | ||
| with: | ||
| bazelisk-version: 1.26.0 # newest LTS before 1 Jun 2025 | ||
| disk-cache: true | ||
| repository-cache: true | ||
| bazelisk-cache: true | ||
|
|
||
| - name: Bazel info (discover paths) | ||
| id: bazel-info | ||
| run: | | ||
| echo "BAZEL_OUTPUT_BASE=$(bazel info output_base)" >> $GITHUB_ENV | ||
| echo "BAZEL_USER_ROOT=$(bazel info output_user_root)" >> $GITHUB_ENV | ||
| echo "BAZEL_REPO_CACHE=$(bazel info repository_cache)" >> $GITHUB_ENV | ||
| bazel info | ||
|
|
||
| - name: Cache Bazel output base | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ${{ env.BAZEL_OUTPUT_BASE }}/action_cache | ||
| ${{ env.BAZEL_OUTPUT_BASE }}/bazel-out | ||
| ${{ env.BAZEL_OUTPUT_BASE }}/external | ||
| ${{ env.BAZEL_OUTPUT_BASE }}/execroot | ||
| key: bazel-ob-v2-${{ runner.os }}-${{ hashFiles('.bazelversion', 'MODULE.bazel', 'MODULE.bazel.lock', '**/*.bzl') }} | ||
| restore-keys: | | ||
| bazel-ob-v2-${{ runner.os }}- | ||
|
|
||
| - name: Build with Bazel | ||
| run: | | ||
| bazel build //... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: QNX8 Build | ||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened, synchronize] | ||
| merge_group: | ||
| types: [checks_requested] | ||
| jobs: | ||
| qnx-build: | ||
| if: false # temporarily disable QNX builds | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/qnx-build.yml@main | ||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| with: | ||
| bazel-target: "//score/... //src/..." | ||
| bazel-config: "build_qnx8" | ||
| credential-helper: "scripts/internal/qnx_creds.py" | ||
| environment-name: "workflow-approval" | ||
| secrets: | ||
| score-qnx-license: ${{ secrets.SCORE_QNX_LICENSE }} | ||
| score-qnx-user: ${{ secrets.SCORE_QNX_USER }} | ||
| score-qnx-password: ${{ secrets.SCORE_QNX_PASSWORD }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: Copyright checks | ||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| merge_group: | ||
| types: [checks_requested] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| jobs: | ||
| copyright-check: | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main | ||
| with: | ||
| bazel-target: "run //:copyright.check" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: Documentation Cleanup | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: "0 0 * * *" # Runs every day at midnight UTC | ||
|
|
||
| jobs: | ||
| docs-cleanup: | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@main | ||
| secrets: | ||
| token: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: Formatting checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| merge_group: | ||
| types: [checks_requested] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| jobs: | ||
| formatting-check: | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@main | ||
| with: | ||
| bazel-target: "test //:format.check" # optional, this is the default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: Gitlint check | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| jobs: | ||
| lint-commits: | ||
| name: check-commit-messages | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Run Gitlint Action | ||
| if: ${{ github.event_name == 'pull_request' }} | ||
| uses: ./.github/actions/gitlint | ||
| with: | ||
| pr-number: ${{ github.event.number }} | ||
| base-branch: ${{ github.event.pull_request.base.ref }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| name: License check preparation | ||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened, synchronize] | ||
| merge_group: | ||
| types: [checks_requested] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| pull-requests: write | ||
| issues: write | ||
|
|
||
| jobs: | ||
| license-check: | ||
| if: ${{ github.repository == 'eclipse-score/logging' }} | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/license-check.yml@main | ||
| with: | ||
| repo-url: "${{ github.server_url }}/${{ github.repository }}" | ||
| secrets: | ||
| dash-api-token: ${{ secrets.ECLIPSE_GITLAB_API_TOKEN }} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have 3 days here but
docs-cleanup.ymlruns dailyThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double checked, those are 2 different things being cleaned. Not valid anymore