forked from dagger/dagger
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.49 KB
/
_dagger_on_namespace_remote_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
50
51
52
name: Dagger on Namespace - Remote Engine
on:
workflow_call:
inputs:
function:
description: "Dagger function"
type: string
required: true
size:
description: "Runner size - used by the Dagger Engine too"
type: number
default: 16
required: false
timeout:
description: "Timeout if not finished after this many minutes"
type: number
default: 10
required: false
dagger:
description: "Dagger version"
type: string
default: "0.15.1"
required: false
ubuntu:
description: "Ubuntu version"
type: string
default: "24.04"
required: false
jobs:
remote-dagger-engine:
if: ${{ github.repository == 'dagger/dagger' }}
runs-on:
- nscloud-ubuntu-${{ inputs.ubuntu }}-amd64-${{ inputs.size }}x32
- namespace-experiments:dagger.integration=enabled;dagger.version=${{ inputs.dagger }}
timeout-minutes: ${{ inputs.timeout }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: ${{ inputs.function }}
uses: ./.github/actions/call
with:
function: ${{ inputs.function }}
version: v${{ inputs.dagger }}
dev-engine: ${{ inputs.dev }}
- name: ${{ inputs.function }} (CACHE TEST)
uses: ./.github/actions/call
with:
function: ${{ inputs.function }}
version: v${{ inputs.dagger }}
dev-engine: ${{ inputs.dev }}