Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 9e56fbc

Browse files
authored
Merge pull request #272 from kubernetes-sigs/pr-post-e2e
🏃 Update pr-post workflow to attempt to run e2e
2 parents 6003e97 + 7e539bb commit 9e56fbc

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/pr-post.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ jobs:
1111
${{ github.event.workflow_run.event == 'pull_request' &&
1212
github.event.workflow_run.conclusion == 'success' }}
1313
steps:
14+
- name: Set up Docker Buildx
15+
uses: docker/setup-buildx-action@v1
16+
- uses: actions/setup-go@v2
17+
with:
18+
go-version: '1.16' # The Go version to download (if necessary) and use.
19+
- name: Setup kind
20+
uses: engineerd/[email protected]
21+
with:
22+
version: v0.11.1
23+
skipClusterCreation: true
1424
- name: 'Download artifact'
1525
uses: actions/[email protected]
1626
with:
@@ -34,4 +44,14 @@ jobs:
3444
- run: unzip e2e-artifacts.zip
3545
- name: Display structure of downloaded files
3646
run: ls -R
37-
working-directory: /tmp/e2e-artifacts
47+
- name: Load image
48+
run: |
49+
docker load --input capp-e2e-image.tar
50+
docker image ls -a
51+
- name: e2e smoketest
52+
env:
53+
PACKET_API_KEY: ${{ secrets.PACKET_API_TOKEN }}
54+
PROJECT_ID: ${{ secrets.PROJECT_ID }}
55+
# This currently runs the tests serially, if we need to parallize
56+
# need to install ginkgo and use it to run the tests
57+
run: ./e2e.test -e2e.artifacts-folder=artifacts -e2e.config=config/e2e-config.yaml -ginkgo.focus='\[Smoke Test\]' -ginkgo.progress -ginkgo.trace -ginkgo.v

0 commit comments

Comments
 (0)