File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 42
42
FSM_CLI_ARTIFACTS_NAME : ${{ vars.FSM_CLI_ARTIFACTS_NAME || 'fsm-cli' }}
43
43
CTR_REGISTRY : ${{ vars.CI_CTR_REGISTRY || 'localhost:5000' }}
44
44
CTR_TAG : ${{ github.sha }}
45
+ LOAD_IMAGES_INTO_CLUSTER : ${{ vars.LOAD_IMAGES_INTO_CLUSTER || 'false' }}
45
46
46
47
permissions :
47
48
contents : read
@@ -104,11 +105,11 @@ jobs:
104
105
chmod a+x ./bin/fsm
105
106
ls -l ./bin/fsm
106
107
- name : Create k3d managed local registry
107
- if : ${{ env.INCREASE_K3D_CIDR_RANGE != 'true' }}
108
+ if : ${{ env.LOAD_IMAGES_INTO_CLUSTER != 'true' }}
108
109
run : |
109
110
k3d registry create registry.localhost --port localhost:5000
110
111
- name : Push images to local registry
111
- if : ${{ env.INCREASE_K3D_CIDR_RANGE != 'true' }}
112
+ if : ${{ env.LOAD_IMAGES_INTO_CLUSTER != 'true' }}
112
113
run : |
113
114
docker image list --format "{{.Repository}}:{{.Tag}}" | grep "^localhost" | xargs --no-run-if-empty -L 1 docker push
114
115
- name : Run tests
@@ -137,6 +138,7 @@ jobs:
137
138
with :
138
139
name : ${{ env.ARTIFACT_NAME }}
139
140
path : /tmp/test**/*
141
+ if-no-files-found : ignore
140
142
- name : Check continue tests
141
143
if : ${{ steps.test.conclusion != 'skipped' && steps.test.outcome == 'failure'}}
142
144
run : exit 1
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ var _ = FSMDescribe("Test Retry Policy",
53
53
SimplePodAppDef {
54
54
PodName : server ,
55
55
Namespace : server ,
56
- Image : "mccutchen/go-httpbin" ,
56
+ Image : "ghcr.io/ mccutchen/go-httpbin" ,
57
57
Ports : []int {80 },
58
58
OS : Td .ClusterOS ,
59
59
Command : []string {"/bin/go-httpbin" },
You can’t perform that action at this time.
0 commit comments