Release / Build image (amd64) (push) Successful in 10m49s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 20m40s
CI / Format and clippy (push) Successful in 5m43s
CI / Tests (Linux) (push) Successful in 16m5s
CI / Dependency audit (push) Successful in 11s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Successful in 7m34s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
Renames the whole project, after the harpy eagle: crates (xexeu-core/xexeu-cli -> harpia-core/harpia-cli), binary (xexeu -> harpia), admin token env var (XEXEU_ADMIN_TOKEN -> HARPIA_ADMIN_TOKEN), compose env vars (XEXEU_* -> HARPIA_*), container image (ciberfauna/xexeu -> ciberfauna/harpia) and the Gitea repository (ciberfauna/xexeu -> ciberfauna/harpia). Logo updated to the new brand artwork. All docs (EN/PT-BR), CI workflows, scripts, GUI strings and the openspec change history updated to match. BREAKING CHANGE: binary, crate, env var and image names all changed; existing .env files, scripts and deployments referencing the old xexeu/XEXEU names must be updated. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8cd6jzwpJM9cS1oGjy
62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
name: Weekly
|
|
|
|
# Checks that do not depend on a push: a new RustSec advisory can land on a
|
|
# dependency while the code stands still, and fuzzing finds more the longer
|
|
# its corpus grows. The corpus lives on the persistent runner volume, so every
|
|
# run starts where the last one stopped.
|
|
on:
|
|
schedule:
|
|
- cron: '17 6 * * 1'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: weekly
|
|
cancel-in-progress: false
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_HOME: /opt/hostedtoolcache/cargo
|
|
RUSTUP_HOME: /opt/hostedtoolcache/rustup
|
|
|
|
jobs:
|
|
audit:
|
|
name: Dependency audit
|
|
runs-on: linux-arm64
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- name: cargo audit
|
|
run: |
|
|
command -v cargo-audit >/dev/null || cargo install cargo-audit --locked
|
|
cargo audit
|
|
|
|
fuzz:
|
|
name: Fuzz (${{ matrix.target }})
|
|
runs-on: linux-arm64
|
|
env:
|
|
CARGO_TARGET_DIR: /opt/hostedtoolcache/cargo-target/harpia-fuzz
|
|
strategy:
|
|
fail-fast: false
|
|
max-parallel: 1
|
|
matrix:
|
|
target: [der_certificate, service_banner, vuln_feeds, operator_input]
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
- name: cargo-fuzz
|
|
run: command -v cargo-fuzz >/dev/null || cargo install cargo-fuzz --locked
|
|
- name: Fuzz for 10 minutes
|
|
run: |
|
|
corpus=/opt/hostedtoolcache/fuzz-corpus/harpia/${{ matrix.target }}
|
|
mkdir -p "$corpus"
|
|
cargo +nightly fuzz run "${{ matrix.target }}" "$corpus" -- -max_total_time=600
|
|
# A crash fails the job; its input is printed here so it can be replayed
|
|
# with `cargo +nightly fuzz run <target> <file>` and turned into a test.
|
|
- name: Crash input
|
|
if: failure()
|
|
run: |
|
|
for f in fuzz/artifacts/${{ matrix.target }}/*; do
|
|
[ -f "$f" ] || continue
|
|
echo "== $f"; base64 -w0 "$f"; echo
|
|
done
|