Skip to content

Commit 96b5f6e

Browse files
committed
test: build cluster gate against the PR handler after rc.6 merge
1 parent b15b0a4 commit 96b5f6e

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

‎.github/workflows/multi-pod-e2e.yml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
control: [fixed, reverted]
2222
steps:
2323
- uses: actions/checkout@v4
24-
# Temporary until #106 lands: build the fixture with the pending rc.6 handler.
25-
- uses: actions/checkout@v4
26-
with:
27-
ref: mrjasonroy/empowering-pumps-ep-59
28-
path: .handler-under-test
2924
- uses: actions/setup-node@v4
3025
with:
3126
node-version: "22"
@@ -36,7 +31,7 @@ jobs:
3631
run: |
3732
revert=0
3833
if [ "$CONTROL" = reverted ]; then revert=1; fi
39-
docker build -f k8s/e2e/Dockerfile --build-context handler=.handler-under-test \
34+
docker build -f k8s/e2e/Dockerfile \
4035
--build-arg USE_CACHE="$STORAGE" --build-arg REVERT_TIMESTAMP="$revert" \
4136
-t cache-e2e:pr .
4237
- name: Create kind cluster

‎docs/development.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ pod logs/events, and Redis tag hash/index dumps, including on expected negative-
221221
To reproduce with Docker, kind, kubectl, Node 22 and OpenSSL installed:
222222

223223
```bash
224-
docker build -f k8s/e2e/Dockerfile --build-context handler=. \
224+
docker build -f k8s/e2e/Dockerfile \
225225
--build-arg USE_CACHE=redis -t cache-e2e:pr .
226226
kind create cluster --name cache-e2e
227227
kind load docker-image cache-e2e:pr --name cache-e2e

‎k8s/e2e/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
55
COPY packages/cache-handler/package.json packages/cache-handler/package.json
66
COPY apps/e2e-test-app/package.json apps/e2e-test-app/package.json
77
RUN pnpm install --frozen-lockfile
8-
COPY --from=handler packages/cache-handler packages/cache-handler
8+
COPY packages/cache-handler packages/cache-handler
99
COPY apps/e2e-test-app apps/e2e-test-app
1010
# Negative control lives only in this throwaway image; never changes the checkout.
1111
ARG REVERT_TIMESTAMP=0

0 commit comments

Comments
 (0)