Public Access
CICD Start / Sanity and Base Decision (pull_request) Successful in 1m2s
Signed-off-by: copilotcoder <copilotcoder@darkhelm.org>
86 lines
2.3 KiB
YAML
86 lines
2.3 KiB
YAML
name: Runner Canary
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '*/15 * * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
canary-scheduled:
|
|
name: Canary (${{ matrix.label }})
|
|
if: github.event_name == 'schedule'
|
|
runs-on: ${{ matrix.label }}
|
|
timeout-minutes: 6
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
label:
|
|
- ubuntu-act
|
|
- ubuntu-latest
|
|
steps:
|
|
- name: Runner startup audit
|
|
env:
|
|
LABEL: ${{ matrix.label }}
|
|
RUN_ID: ${{ github.run_id }}
|
|
RUN_ATTEMPT: ${{ github.run_attempt }}
|
|
REPOSITORY: ${{ github.repository }}
|
|
EVENT_NAME: ${{ github.event_name }}
|
|
REF: ${{ github.ref }}
|
|
run: |
|
|
echo "=== Runner Canary ==="
|
|
echo "label=${LABEL}"
|
|
echo "run_id=${RUN_ID}"
|
|
echo "run_attempt=${RUN_ATTEMPT}"
|
|
echo "repository=${REPOSITORY}"
|
|
echo "event_name=${EVENT_NAME}"
|
|
echo "ref=${REF}"
|
|
date -u '+timestamp_utc=%Y-%m-%dT%H:%M:%SZ'
|
|
uname -a
|
|
|
|
- name: Basic tool availability
|
|
run: |
|
|
set -e
|
|
for tool in bash sh date; do
|
|
command -v "${tool}" >/dev/null 2>&1
|
|
echo "tool_ok=${tool}"
|
|
done
|
|
|
|
canary-manual-heavy:
|
|
name: Canary Heavy (${{ matrix.label }})
|
|
if: github.event_name == 'workflow_dispatch'
|
|
runs-on: ${{ matrix.label }}
|
|
timeout-minutes: 8
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
label:
|
|
- ubuntu-act-8gb
|
|
- ubuntu-act-4gb
|
|
steps:
|
|
- name: Runner startup audit
|
|
env:
|
|
LABEL: ${{ matrix.label }}
|
|
RUN_ID: ${{ github.run_id }}
|
|
RUN_ATTEMPT: ${{ github.run_attempt }}
|
|
REPOSITORY: ${{ github.repository }}
|
|
EVENT_NAME: ${{ github.event_name }}
|
|
REF: ${{ github.ref }}
|
|
run: |
|
|
echo "=== Runner Canary Heavy ==="
|
|
echo "label=${LABEL}"
|
|
echo "run_id=${RUN_ID}"
|
|
echo "run_attempt=${RUN_ATTEMPT}"
|
|
echo "repository=${REPOSITORY}"
|
|
echo "event_name=${EVENT_NAME}"
|
|
echo "ref=${REF}"
|
|
date -u '+timestamp_utc=%Y-%m-%dT%H:%M:%SZ'
|
|
uname -a
|
|
|
|
- name: Basic tool availability
|
|
run: |
|
|
set -e
|
|
for tool in bash sh date; do
|
|
command -v "${tool}" >/dev/null 2>&1
|
|
echo "tool_ok=${tool}"
|
|
done
|