Menu
Public repository / 54e252bb8ef81aab2ef9033bff0874b8afe40922
AkurAI-Drive / .akurai.yml
Latest change cf8bdd9f849b5bcae439fd06ac518d362dd38f67 - fix: use --manifest-path instead of cd in CI pipeline by Ólafur Búi Ólafsson
version: 1
jobs:
- name: verify
executor: native
branches: [master]
run:
- RUSTUP_HOME=/home/olafurbui/.rustup CARGO_HOME=/home/olafurbui/.cargo PATH=/home/olafurbui/.cargo/bin:/usr/bin:/bin cargo fmt --manifest-path backend/Cargo.toml --all -- --check
- RUSTUP_HOME=/home/olafurbui/.rustup CARGO_HOME=/home/olafurbui/.cargo PATH=/home/olafurbui/.cargo/bin:/usr/bin:/bin cargo clippy --manifest-path backend/Cargo.toml --all-targets --all-features -- -D warnings
- RUSTUP_HOME=/home/olafurbui/.rustup CARGO_HOME=/home/olafurbui/.cargo PATH=/home/olafurbui/.cargo/bin:/usr/bin:/bin cargo test --manifest-path backend/Cargo.toml --all
- name: package
needs: [verify]
executor: native
branches: [master]
run: RUSTUP_HOME=/home/olafurbui/.rustup CARGO_HOME=/home/olafurbui/.cargo PATH=/home/olafurbui/.cargo/bin:/usr/bin:/bin cargo build --manifest-path backend/Cargo.toml --release --target x86_64-unknown-linux-musl
artifacts: [backend/target/x86_64-unknown-linux-musl/release/akurai-drive-api]
- name: deploy
needs: [package]
executor: native
environment: production
approval: true
branches: [master]
run: echo 'NO PUBLISH PATH — two live services (akurai-drive-api at /opt/akurai-drive-api and akurai-drive serving site/frontend at /opt/akurai-drive) with no CI-ready deploy.sh or akurai-deploy.toml. backend/deploy.sh exists but builds locally + scp; needs adaptation for CI artifact model. Frontend has no deploy mechanism. Both currently deployed manually.'