forked from dagger/dagger
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.31 KB
/
_dagger_on_namespace_local_engine.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Dagger on Namespace - Local Engine
on:
workflow_call:
inputs:
function:
description: "Dagger function"
type: string
required: true
size:
description: "Runner size"
type: number
default: 16
required: false
timeout:
description: "Timeout if not finished after this many minutes"
type: number
default: 10
required: false
dev:
description: "Use a development version of Dagger"
type: string
default: "false"
required: false
ubuntu:
description: "Ubuntu version"
type: string
default: "24.04"
required: false
jobs:
local-dagger-engine:
if: ${{ github.repository == 'dagger/dagger' }}
runs-on:
- nscloud-ubuntu-${{ inputs.ubuntu }}-amd64-${{ inputs.size }}x32
timeout-minutes: ${{ inputs.timeout }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: ${{ inputs.function }}
uses: ./.github/actions/call
with:
function: ${{ inputs.function }}
dev-engine: ${{ inputs.dev }}
- name: ${{ inputs.function }} (CACHE TEST)
uses: ./.github/actions/call
with:
function: ${{ inputs.function }}
dev-engine: ${{ inputs.dev }}