Skip to content

Commit 18279ec

Browse files
authored
Merge pull request #329 from rapidsai/fea/devcontainers-job-timeout
Add `env` and `timeout-minutes` inputs to build-in-devcontainer.yaml
2 parents 1fdd8cf + 824abcc commit 18279ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-in-devcontainer.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
on:
22
workflow_call:
33
inputs:
4+
env:
5+
type: string
46
sha:
57
type: string
68
arch:
@@ -14,6 +16,9 @@ on:
1416
default: '["conda", "pip"]'
1517
repo:
1618
type: string
19+
timeout-minutes:
20+
type: number
21+
default: 360
1722
node_type:
1823
type: string
1924
default: "cpu8"
@@ -53,6 +58,7 @@ permissions:
5358

5459
jobs:
5560
build:
61+
timeout-minutes: ${{ inputs.timeout-minutes }}
5662
strategy:
5763
fail-fast: false
5864
matrix:
@@ -121,6 +127,7 @@ jobs:
121127
OTEL_EXPORTER_OTLP_ENDPOINT=${{ env.OTEL_EXPORTER_OTLP_ENDPOINT }}
122128
OTEL_EXPORTER_OTLP_PROTOCOL=${{ env.OTEL_EXPORTER_OTLP_PROTOCOL }}
123129
OTEL_RESOURCE_ATTRIBUTES=${{ env.OTEL_RESOURCE_ATTRIBUTES }}
130+
${{ inputs.env }}
124131
runCmd: |
125132
set -euo pipefail;
126133
mkdir -p ~/.config/pip/;

0 commit comments

Comments
 (0)