mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-10-30 11:58:49 +08:00
Extends the e2e suite with scenarios for host labels, local `workflow_call`, label routing, `runner.capacity`, a dropped and restored connection to Gitea, and the daemon's `--once`, `--labels` and `shutdown_timeout` behaviour. Stacked on https://gitea.com/gitea/runner/pulls/1346, so its commit shows here until that merges. The new scenarios pass locally against gitea/gitea:latest and main-nightly. Assisted-by: Codet:codet Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: bircni <bircni@icloud.com> Reviewed-on: https://gitea.com/gitea/runner/pulls/1347 Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
21 lines
438 B
YAML
21 lines
438 B
YAML
name: reusable-callee
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
who:
|
|
type: string
|
|
required: true
|
|
outputs:
|
|
greeting:
|
|
value: ${{ jobs.say.outputs.greeting }}
|
|
jobs:
|
|
say:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
greeting: ${{ steps.greet.outputs.greeting }}
|
|
steps:
|
|
- id: greet
|
|
run: |
|
|
echo "greeting=hello-${{ inputs.who }}" >> "$GITHUB_OUTPUT"
|
|
echo e2e-reusable-ran
|