Fix remaining Forgejo compatibility issues
Some checks failed
Build apt-ostree Package / Build apt-ostree Package (push) Failing after 1m46s
Comprehensive CI / test (Debian Stable (aarch64), aarch64-unknown-linux-gnu) (push) Failing after 2s
Comprehensive CI / test (Debian Stable (x86_64), x86_64-unknown-linux-gnu) (push) Failing after 2s
Comprehensive CI / security (push) Failing after 1s
Comprehensive CI / benchmark (push) Failing after 1s
Comprehensive CI / docs (push) Failing after 1s
Comprehensive CI / debian-package (push) Failing after 1s
Comprehensive CI / ostree-integration (push) Failing after 1s
Comprehensive CI / coverage (push) Failing after 1s
Test apt-ostree Build / Test apt-ostree Build (with existing libostree) (push) Failing after 1m14s
Comprehensive CI / status (push) Successful in 1s
Some checks failed
Build apt-ostree Package / Build apt-ostree Package (push) Failing after 1m46s
Comprehensive CI / test (Debian Stable (aarch64), aarch64-unknown-linux-gnu) (push) Failing after 2s
Comprehensive CI / test (Debian Stable (x86_64), x86_64-unknown-linux-gnu) (push) Failing after 2s
Comprehensive CI / security (push) Failing after 1s
Comprehensive CI / benchmark (push) Failing after 1s
Comprehensive CI / docs (push) Failing after 1s
Comprehensive CI / debian-package (push) Failing after 1s
Comprehensive CI / ostree-integration (push) Failing after 1s
Comprehensive CI / coverage (push) Failing after 1s
Test apt-ostree Build / Test apt-ostree Build (with existing libostree) (push) Failing after 1m14s
Comprehensive CI / status (push) Successful in 1s
- Update context variables from github.* to forge.* syntax - Simplify matrix strategy to remove unsupported os/rust variables - Standardize runs-on to ubuntu-latest for all jobs - Add summary creation steps for better workflow feedback - Ensure all workflows use pure Forgejo-compatible syntax
This commit is contained in:
parent
34af5d5c0d
commit
1936849be9
4 changed files with 43 additions and 32 deletions
|
|
@ -355,9 +355,9 @@ jobs:
|
||||||
|
|
||||||
## Build Information
|
## Build Information
|
||||||
- **Build Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
- **Build Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||||
- **Build ID**: ${{ github.run_id }}
|
- **Build ID**: ${{ forge.run_number }}
|
||||||
- **Commit**: ${{ github.sha }}
|
- **Commit**: ${{ forge.sha }}
|
||||||
- **Branch**: ${{ github.ref_name }}
|
- **Branch**: ${{ forge.ref_name }}
|
||||||
|
|
||||||
## Build Status
|
## Build Status
|
||||||
- **Status**: ✅ SUCCESS
|
- **Status**: ✅ SUCCESS
|
||||||
|
|
|
||||||
|
|
@ -19,18 +19,13 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "Debian Stable (x86_64)"
|
- name: "Debian Stable (x86_64)"
|
||||||
os: ubuntu-22.04
|
|
||||||
rust: stable
|
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
container: debian:latest
|
|
||||||
- name: "Debian Stable (aarch64)"
|
- name: "Debian Stable (aarch64)"
|
||||||
os: ubuntu-22.04
|
|
||||||
rust: stable
|
|
||||||
target: aarch64-unknown-linux-gnu
|
target: aarch64-unknown-linux-gnu
|
||||||
container: debian:latest
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
container: ${{ matrix.container }}
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -118,10 +113,16 @@ jobs:
|
||||||
cargo clippy --target ${{ matrix.target }} -- -D warnings
|
cargo clippy --target ${{ matrix.target }} -- -D warnings
|
||||||
cargo fmt --target ${{ matrix.target }} -- --check
|
cargo fmt --target ${{ matrix.target }} -- --check
|
||||||
|
|
||||||
|
- name: Create test summary
|
||||||
|
run: |
|
||||||
|
echo "Test completed successfully for target: ${{ matrix.target }}"
|
||||||
|
echo "Test completed successfully! 🎉"
|
||||||
|
|
||||||
# Security and quality checks
|
# Security and quality checks
|
||||||
security:
|
security:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -187,10 +188,16 @@ jobs:
|
||||||
. ~/.cargo/env
|
. ~/.cargo/env
|
||||||
cargo audit --deny warnings
|
cargo audit --deny warnings
|
||||||
|
|
||||||
|
- name: Create security summary
|
||||||
|
run: |
|
||||||
|
echo "Security audit completed successfully!"
|
||||||
|
echo "Security checks completed! 🎉"
|
||||||
|
|
||||||
# Performance benchmarking
|
# Performance benchmarking
|
||||||
benchmark:
|
benchmark:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -263,8 +270,9 @@ jobs:
|
||||||
|
|
||||||
# Documentation build
|
# Documentation build
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -337,8 +345,9 @@ jobs:
|
||||||
|
|
||||||
# Debian package build
|
# Debian package build
|
||||||
debian-package:
|
debian-package:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -433,8 +442,9 @@ jobs:
|
||||||
|
|
||||||
# Integration testing with real OSTree
|
# Integration testing with real OSTree
|
||||||
ostree-integration:
|
ostree-integration:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -518,8 +528,9 @@ jobs:
|
||||||
|
|
||||||
# Code coverage
|
# Code coverage
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
container: debian:latest
|
container:
|
||||||
|
image: debian:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -609,9 +620,9 @@ jobs:
|
||||||
|
|
||||||
## Build Information
|
## Build Information
|
||||||
- **Build Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
- **Build Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||||
- **Build ID**: ${{ github.run_id }}
|
- **Build ID**: ${{ forge.run_number }}
|
||||||
- **Commit**: ${{ github.sha }}
|
- **Commit**: ${{ forge.sha }}
|
||||||
- **Branch**: ${{ github.ref_name }}
|
- **Branch**: ${{ forge.ref_name }}
|
||||||
|
|
||||||
## CI Status
|
## CI Status
|
||||||
- **Container**: debian:latest
|
- **Container**: debian:latest
|
||||||
|
|
|
||||||
|
|
@ -182,9 +182,9 @@ jobs:
|
||||||
|
|
||||||
## Test Information
|
## Test Information
|
||||||
- **Test Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
- **Test Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||||
- **Test ID**: ${{ github.run_id }}
|
- **Test ID**: ${{ forge.run_number }}
|
||||||
- **Commit**: ${{ github.sha }}
|
- **Commit**: ${{ forge.sha }}
|
||||||
- **Branch**: ${{ github.ref_name }}
|
- **Branch**: ${{ forge.ref_name }}
|
||||||
|
|
||||||
## Test Status
|
## Test Status
|
||||||
- **Status**: ✅ SUCCESS
|
- **Status**: ✅ SUCCESS
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Get current date and workflow run ID
|
# Get current date and workflow run ID
|
||||||
BUILD_DATE=$(date '+%Y-%m-%d %H:%M:%S UTC')
|
BUILD_DATE=$(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||||
WORKFLOW_RUN_ID=${{ github.event.workflow_run.id }}
|
WORKFLOW_RUN_ID=${{ forge.run_number }}
|
||||||
|
|
||||||
echo "Updating README with workflow run ID: $WORKFLOW_RUN_ID"
|
echo "Updating README with workflow run ID: $WORKFLOW_RUN_ID"
|
||||||
|
|
||||||
|
|
@ -135,7 +135,7 @@ jobs:
|
||||||
|
|
||||||
# Add and commit changes
|
# Add and commit changes
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "Update README with download links for build ${{ github.event.workflow_run.id }}"
|
git commit -m "Update README with download links for build ${{ forge.run_number }}"
|
||||||
|
|
||||||
# Push changes
|
# Push changes
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
@ -150,7 +150,7 @@ jobs:
|
||||||
|
|
||||||
## Update Information
|
## Update Information
|
||||||
- **Update Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
- **Update Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||||
- **Triggered by**: Build workflow ${{ github.event.workflow_run.id }}
|
- **Triggered by**: Build workflow ${{ forge.run_number }}
|
||||||
- **Status**: ✅ SUCCESS
|
- **Status**: ✅ SUCCESS
|
||||||
|
|
||||||
## Changes Made
|
## Changes Made
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue