-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathaction.yml
More file actions
34 lines (28 loc) · 1.04 KB
/
action.yml
File metadata and controls
34 lines (28 loc) · 1.04 KB
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
name: test-feature
description: Test feature
inputs:
args: {type: string, required: true}
gh_token: {type: string, defaut: '', required: false}
vault_host: {type: string, defaut: '', required: false}
rw_sccache_bucket: {type: string, defaut: '', required: false}
rw_sccache_region: {type: string, defaut: '', required: false}
runs:
using: composite
steps:
- name: Setup runner environment
uses: ./.github/actions/setup-runner-env
- name: Copy common scripts into features
uses: ./.github/actions/copy-common-scripts
- name: Install devcontainers CLI
uses: ./.github/actions/install-devcontainers-cli
- name: Test feature
shell: bash
run: |
devcontainer features test ${{ inputs.args }} ./features;
env:
NODE_NO_WARNINGS: 1
VAULT_S3_TTL: "900" # 15 minutes
gh_token: "${{ inputs.gh_token }}"
vault_host: "${{ inputs.vault_host }}"
rw_sccache_bucket: "${{ inputs.rw_sccache_bucket }}"
rw_sccache_region: "${{ inputs.rw_sccache_region }}"