Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Dashboard ambient layer, comrade presence, Mission Deck and War Room, Emberwake supply chain, spread/docs publishing, fleet policy and modules API, CI docker mining, and refreshed USB pack.
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# Proves Linux agent mines and reports hashrate via isolated Docker compose stack.
|
|
# Credentials + wallet: docker/data/* and docker/agent-builtin.go (see docker/README.md).
|
|
name: CI Docker Mining Proof
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ci-docker-mining-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
docker-mining:
|
|
name: Linux agent hashrate proof
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 25
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Verify Docker
|
|
run: |
|
|
docker --version
|
|
docker compose version
|
|
|
|
- name: Docker mining proof
|
|
env:
|
|
AETHERFORGE_DOCKER_WAIT_SEC: "180"
|
|
run: |
|
|
chmod +x scripts/ci-docker-mining.sh
|
|
scripts/ci-docker-mining.sh
|
|
|
|
# Manual fallback when Docker is unavailable (self-hosted / fork without runners):
|
|
# docker compose -f docker/docker-compose.yml up --build -d
|
|
# scripts/ci-docker-mining.sh # or scripts/ci-docker-mining.ps1 on Windows
|