Skip to content

Commit 2ed7074

Browse files
mjudeikisHex Bot
andauthored
ci(e2e): simplify hub image tag — build from source, tag as 'test' (#34)
No need to fetch the latest release tag. We always build from the current source tree, tag as 'test', load into kind, and tell the e2e framework to use that tag via KEDGE_HUB_IMAGE_TAG=test. Removes the 'Determine hub image tag' step entirely. Addresses review comment by @mjudeikis. Co-authored-by: Hex Bot <hex-bot@openclaw>
1 parent f98f301 commit 2ed7074

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/e2e.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,13 @@ jobs:
3636
- name: Build binaries
3737
run: make build
3838

39-
- name: Determine hub image tag
40-
id: hub-tag
41-
run: |
42-
TAG=$(curl -sf https://api.github.com/repos/faroshq/kedge/releases/latest \
43-
| jq -r '.tag_name // "v0.0.1-rc10"')
44-
# Fallback if curl/jq fail or release has no tag
45-
[ -z "$TAG" ] || [ "$TAG" = "null" ] && TAG="v0.0.1-rc10"
46-
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
47-
4839
- name: Build hub Docker image
49-
run: |
50-
docker build -f deploy/Dockerfile.hub \
51-
-t ghcr.io/faroshq/kedge-hub:${{ steps.hub-tag.outputs.tag }} .
40+
run: docker build -f deploy/Dockerfile.hub -t ghcr.io/faroshq/kedge-hub:test .
5241

5342
- name: Run standalone e2e
5443
env:
5544
KEDGE_HUB_IMAGE_PULL_POLICY: Never
56-
KEDGE_HUB_IMAGE_TAG: ${{ steps.hub-tag.outputs.tag }}
45+
KEDGE_HUB_IMAGE_TAG: test
5746
run: make e2e-standalone E2E_TIMEOUT=20m
5847

5948
- name: Upload test logs on failure

0 commit comments

Comments
 (0)