File tree 4 files changed +36
-20
lines changed
4 files changed +36
-20
lines changed Original file line number Diff line number Diff line change 66
66
echo "os: ubuntu" >goss_vars_${GH_RUNNER_IMAGE}.yaml
67
67
echo "oscodename: ${{ matrix.release }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
68
68
echo "arch: ${{ matrix.platform }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
69
+ # test the base
69
70
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_base.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
71
+ # test the final image but with all defaults
72
+ GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full_defaults.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
73
+ # test the final image but with non-default values
70
74
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep \
71
75
-e DEBUG_ONLY=true \
72
76
-e RUNNER_NAME=huzzah \
@@ -141,7 +145,11 @@ jobs:
141
145
echo "os: debian" >goss_vars_${GH_RUNNER_IMAGE}.yaml
142
146
echo "oscodename: ${{ matrix.release }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
143
147
echo "arch: ${{ matrix.platform }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
148
+ # test the base
144
149
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_base.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
150
+ # test the final image but with all defaults
151
+ GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full_defaults.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
152
+ # test the final image but with non-default values
145
153
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep \
146
154
-e DEBUG_ONLY=true \
147
155
-e RUNNER_NAME=huzzah \
Original file line number Diff line number Diff line change 69
69
echo "os: ubuntu" >goss_vars_${GH_RUNNER_IMAGE}.yaml
70
70
echo "oscodename: ${{ matrix.release }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
71
71
echo "arch: ${{ matrix.platform }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
72
+ # test the base
72
73
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_base.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
74
+ # test the final image but with all defaults
75
+ GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full_defaults.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
76
+ # test the final image but with non-default values
73
77
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep \
74
78
-e DEBUG_ONLY=true \
75
79
-e RUNNER_NAME=huzzah \
@@ -148,7 +152,11 @@ jobs:
148
152
echo "os: debian" >goss_vars_${GH_RUNNER_IMAGE}.yaml
149
153
echo "oscodename: ${{ matrix.release }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
150
154
echo "arch: ${{ matrix.platform }}" >>goss_vars_${GH_RUNNER_IMAGE}.yaml
155
+ # test the base
151
156
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_base.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
157
+ # test the final image but with all defaults
158
+ GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full_defaults.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep -e RUNNER_NAME=test -e DEBUG_ONLY=true ${GH_RUNNER_IMAGE} 10
159
+ # test the final image but with non-default values
152
160
GOSS_VARS=goss_vars_${GH_RUNNER_IMAGE}.yaml GOSS_FILE=goss_full.yaml GOSS_SLEEP=1 dgoss run --entrypoint /usr/bin/sleep \
153
161
-e DEBUG_ONLY=true \
154
162
-e RUNNER_NAME=huzzah \
Original file line number Diff line number Diff line change @@ -87,23 +87,3 @@ group:
87
87
runner :
88
88
exists : true
89
89
gid : 121
90
- command :
91
- /entrypoint.sh something :
92
- exit-status : 0
93
- stdout :
94
- - REPO_URL required for repo runners
95
- - Runner reusage is disabled
96
- - " "
97
- - ' Disable automatic registration: false'
98
- - ' Random runner suffix: true'
99
- - ' Runner name: test'
100
- - ' Runner workdir: /_work/test'
101
- - ' Labels: default'
102
- - ' Runner Group: Default'
103
- - ' Github Host: github.com'
104
- - Run as root:true
105
- - ' Start docker: false'
106
- - Running something
107
- - " "
108
- stderr : " "
109
- timeout : 2000
Original file line number Diff line number Diff line change
1
+ command :
2
+ /entrypoint.sh something :
3
+ exit-status : 0
4
+ stdout :
5
+ - REPO_URL required for repo runners
6
+ - Runner reusage is disabled
7
+ - " "
8
+ - ' Disable automatic registration: false'
9
+ - ' Random runner suffix: true'
10
+ - ' Runner name: test'
11
+ - ' Runner workdir: /_work/test'
12
+ - ' Labels: default'
13
+ - ' Runner Group: Default'
14
+ - ' Github Host: github.com'
15
+ - Run as root:true
16
+ - ' Start docker: false'
17
+ - Running something
18
+ - " "
19
+ stderr : " "
20
+ timeout : 2000
You can’t perform that action at this time.
0 commit comments