Skip to content

Commit 96131c5

Browse files
authored
Merge pull request #47 from RobotSail/fix-ci
fix operator tag + use helm directly
2 parents 156a790 + 72ff16d commit 96131c5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/validate-ipfs.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,13 @@ jobs:
149149
kind load docker-image "${IPFS_CLUSTER_K8S_IMAGE}:ci-build"
150150
151151
- name: Load the Operator into Kind
152-
# don't build new images to reuse existing artifacts, use ci-build tag
153-
run: KIND_TAG="ci-build" ./hack/run-in-kind.sh --skip-build --skip-tag
152+
run: |
153+
helm upgrade --install \
154+
--debug \
155+
--set image.tag="ci-build" \
156+
--set ipfsCluster.tag="ci-build" \
157+
--wait --timeout=300s \
158+
ipfs-cluster ./helm/ipfs-operator
154159
155160
- name: run e2e tests
156161
run: |
@@ -188,7 +193,7 @@ jobs:
188193
(github.event_name == 'push' || github.event_name == 'schedule') &&
189194
github.ref == 'refs/heads/main'
190195
run: |
191-
docker tag ${OPERATOR_IMAGE}:ci-build ${OPERATOR_IMAGE}:${TAG}
196+
docker tag ${OPERATOR_IMAGE} ${OPERATOR_IMAGE}:${TAG}
192197
docker push "${OPERATOR_IMAGE}:${TAG}"
193198
194199
push-bundle:

0 commit comments

Comments
 (0)