feat: add OrchestratorCI workflow
This commit is contained in:
24
.github/workflows/orchestratorci.yml
vendored
Normal file
24
.github/workflows/orchestratorci.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: OrchestratorCI
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
spec:
|
||||
required: true
|
||||
type: string
|
||||
default: "x86"
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
runs-on: gitea-orchestrator
|
||||
steps:
|
||||
- name: Provisioning
|
||||
run: |
|
||||
echo "Provisioning with spec: ${{ inputs.spec }}"
|
||||
post-job:
|
||||
runs-on: gitea-orchestrator
|
||||
needs: main-job
|
||||
if: always()
|
||||
steps:
|
||||
- name: Cleanup
|
||||
run: echo "Cleaning up resources"
|
||||
Reference in New Issue
Block a user