Skip to content
Merged
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
34 changes: 17 additions & 17 deletions .github/workflows/advanced-ci-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ jobs:
id: changes
with:
filters: |
core:
- 'src/**'
- 'meson.build'
- 'meson_options.txt'
- 'units/**'
android:
- 'android/**'
- 'scripts/android_**'
scripts:
- 'scripts/**'
docs:
- 'docs/**'
- '*.md'
workflows:
- '.github/**'
core:
- 'src/**'
- 'meson.build'
- 'meson_options.txt'
- 'units/**'
android:
- 'android/**'
- 'scripts/android_**'
scripts:
- 'scripts/**'
docs:
- 'docs/**'
- '*.md'
workflows:
- '.github/**'

matrix-build:
needs: detect-changes
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:

- name: Run Tests
if: >
github.event.inputs.run_tests != 'false' &&
(github.event.inputs.run_tests != 'false' && github.event.inputs.run_tests != false) &&
matrix.arch == 'x86_64'
run: |
meson test -C build --print-errorlogs
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ jobs:
- { COMPILER: "clang", COMPILER_VERSION: "18", LINKER: "lld" }
include:
- env: { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "bfd" }
runner: [ ubuntu-24.04-ppc64le ]
runner: ubuntu-24.04-ppc64le
python-version: ''
- env: { COMPILER: "gcc", COMPILER_VERSION: "13", LINKER: "mold" }
runner: [ ubuntu-24.04-arm ]
runner: ubuntu-24.04-arm
python-version: ''
- env: { COMPILER: "clang", COMPILER_VERSION: "18", LINKER: "lld" }
runner: [ ubuntu-24.04-s390x ]
runner: ubuntu-24.04-s390x
python-version: ''
# Do one run with the oldest supported python version to ensure there are no regressions
# It is only available on Jammy, which is useful as it will also provide a build check for
# older glibc
- env: { COMPILER: "gcc", COMPILER_VERSION: "12", LINKER: "bfd", CUSTOM_PYTHON: "1" }
runner: [ ubuntu-22.04 ]
runner: ubuntu-22.04
python-version: '3.7'
env: ${{ matrix.env }}
steps:
Expand All @@ -57,4 +57,4 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Build check
run: .github/workflows/build-test.sh
run: .github/workflows/build-test.sh
4 changes: 3 additions & 1 deletion .github/workflows/crda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:

- name: Check out repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

# *******************************************************************
# Required: Instructions to setup project
Expand Down Expand Up @@ -123,4 +125,4 @@ jobs:
with:
crda_key: ${{ secrets.CRDA_KEY }} # Either use crda_key or snyk_token
# snyk_token: ${{ secrets.SNYK_TOKEN }}
# upload_artifact: false # Set this to false to skip artifact upload
# upload_artifact: false # Set this to false to skip artifact upload
5 changes: 1 addition & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fetch-depth: 0

- name: Lint Code Base
uses: super-linter/super-linter/slim@88ea3923a7e1f89dd485d864c5c6d69d40bcc8db
uses: super-linter/super-linter/slim@v5.7.2
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -66,9 +66,6 @@ jobs:
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@dd551ce780d8af741f8cd8bab6982667b906b457
with:
# exclude all `.in` files because they may contain unsupported syntax, and they have to be preprocessed first
# TEMPORARY: exclude bash completion files, they would generate too many defects in Code scanning dashboard (600+)
# exclude zsh completion files, zsh is not supported by ShellCheck
exclude-path: |
'**/*.in'
'shell-completion/bash/*'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ jobs:
TEST_NO_QEMU=${{ matrix.no_qemu }} \
TEST_NO_KVM=${{ matrix.no_kvm }} \
TEST_RUNNER=${{ matrix.runner }} \
timeout ${timeout_multiplier:-1}h \
meson test \
-C build \
--timeout-multiplier="${timeout_multiplier:-1}" \
Expand All @@ -318,4 +319,4 @@ jobs:
path: |
build/test/journal/*.journal
build/meson-logs/*
retention-days: 7
retention-days: 7
43 changes: 1 addition & 42 deletions .github/workflows/release-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,45 +404,4 @@ jobs:
2. Extract: `tar -xzf filesystemds-v${{ needs.prepare-release.outputs.version }}-linux-*.tar.gz`
3. Run: `./filesystemds-*/scripts/platform_launcher.sh init`

#### Container
```bash
docker run --rm -it ghcr.io/${{ github.repository }}:${{ needs.prepare-release.outputs.version }}
```

### 🛡️ Security

All release artifacts are built from the same source code and have passed:
- Automated security scanning
- Dependency vulnerability checks
- Code quality analysis
- Cross-platform compatibility testing

For security issues, please see our [Security Policy](https://github.com/${{ github.repository }}/security/policy).

---

**Full Changelog**: https://github.com/${{ github.repository }}/compare/v${{ needs.prepare-release.outputs.version }}...v${{ needs.prepare-release.outputs.version }}
draft: ${{ github.event.inputs.create_draft == 'true' }}
prerelease: >
${{ contains(needs.prepare-release.outputs.version, 'rc') ||
contains(needs.prepare-release.outputs.version, 'beta') ||
contains(needs.prepare-release.outputs.version, 'alpha') }}

- name: Upload Release Assets
run: |
for file in *.tar.gz *.apk; do
if [ -f "$file" ]; then
gh release upload v${{ needs.prepare-release.outputs.version }} \
"$file"
fi
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update Latest Release Badge
if: github.event_name == 'push'
run: |
echo "Release v${{ needs.prepare-release.outputs.version }} created successfully!"
echo "## 🎉 Release Published" >> $GITHUB_STEP_SUMMARY
echo "Version: v${{ needs.prepare-release.outputs.version }}" >> $GITHUB_STEP_SUMMARY
echo "Download: [GitHub Releases](https://github.com/${{ github.repository }}/releases/latest)" >> $GITHUB_STEP_SUMMARY
#### Container
4 changes: 1 addition & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
runner: [ ubuntu-24.04 ]
run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_RELEASE, CLANG_ASAN_UBSAN, CLANG_ASAN_UBSAN_NO_DEPS]
include:
- run_phase: GCC
- run_phase: GCC
runner: ubuntu-24.04-arm
- run_phase: GCC
runner: ubuntu-24.04-ppc64le
- run_phase: GCC
runner: ubuntu-24.04-s390x
- run_phase: CLANG
- run_phase: CLANG
runner: ubuntu-24.04-arm
- run_phase: CLANG
Expand All @@ -50,4 +48,4 @@ jobs:
# the already existing XDG_* stuff on the "other side"
sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit-tests.sh SETUP
- name: Build & test
run: sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit-tests.sh RUN_${{ matrix.run_phase }}
run: sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit-tests.sh RUN_${{ matrix.run_phase }}
Loading