-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yaml
More file actions
58 lines (51 loc) · 1.56 KB
/
action.yaml
File metadata and controls
58 lines (51 loc) · 1.56 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: 'Smoke Test'
description: 'Install, verify, uninstall, and debug the developer quickstart'
inputs:
timeout:
description: 'Timeout for install/uninstall scripts'
required: false
default: '300s'
overlay:
description: 'Overlay name (matches overlays/<name>/ directory)'
required: false
default: 'core'
condition-overrides:
description: 'Space-separated apiGroup=Condition overrides for readiness checks (default: Ready)'
required: false
default: ''
runs:
using: 'composite'
steps:
- name: Set up JBang
uses: jbangdev/setup-jbang@2b1b465a7b75f4222b81426f23a01e013aa7b95c # v0.1.1
- name: Run install script
shell: bash
env:
LOCAL_DIR: .
TIMEOUT: ${{ inputs.timeout }}
OVERLAY: ${{ inputs.overlay }}
run: ./install.sh
- name: Verify deployments
shell: bash
env:
OVERLAY: ${{ inputs.overlay }}
CONDITION_OVERRIDES: ${{ inputs.condition-overrides }}
TIMEOUT: ${{ inputs.timeout }}
run: jbang .github/scripts/VerifyInstall.java
- name: Run uninstall script
shell: bash
env:
LOCAL_DIR: .
TIMEOUT: ${{ inputs.timeout }}
OVERLAY: ${{ inputs.overlay }}
run: ./uninstall.sh
- name: Verify uninstall
shell: bash
run: jbang .github/scripts/VerifyUninstall.java
- name: Debug on failure
if: failure()
shell: bash
env:
OVERLAY: ${{ inputs.overlay }}
CONDITION_OVERRIDES: ${{ inputs.condition-overrides }}
run: jbang .github/scripts/Debug.java