Skip to content

Commit 856cfe9

Browse files
ccojocark8s-ci-robot
authored andcommitted
Update the e2e-spoc test to reuse the image artifact
Change-Id: I5fcf36426b8c9eec7b5d3a4a0cbe105bef27d40b Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
1 parent 4505839 commit 856cfe9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
$RUN hack/ci/e2e-flatcar-dev-container.sh
171171
172172
e2e-spoc:
173+
needs: image
173174
runs-on: ubuntu-22.04
174175
timeout-minutes: 90
175176
env:
@@ -182,12 +183,20 @@ jobs:
182183
sudo apt-get update
183184
sudo apt-get install -y vagrant virtualbox
184185
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
186+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
187+
with:
188+
name: image
189+
path: .
185190
- name: Boot Virtual Machine
186191
run: make vagrant-up-debian
192+
- name: Show environment information
193+
run: |
194+
$RUN kubectl wait --for=condition=ready --timeout=60s nodes --all
195+
$RUN kubectl get nodes -o wide
187196
- name: Set up git config
188197
run: |
189198
$RUN git config --global --add safe.directory /vagrant
190-
- name: Run E2E tests
199+
- name: Run spoc E2E tests
191200
run: $RUN hack/ci/e2e-spoc.sh
192201

193202
e2e-seccomp-profile:

0 commit comments

Comments
 (0)