Skip to content

Commit

Permalink
CI with self test img
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalski committed Jul 21, 2023
1 parent 0c8353a commit 52225c2
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ jobs:
gvmkit-build_archive: gvmkit-build-x86_64-unknown-linux-gnu.tar.gz
self-test-img_tag: self-test
rust_stable: 1.70.0
defaults:
run:
working-directory: self_test_img
self-test-img_gvmi: self-test.gvmi

steps:
- uses: actions/checkout@v3
Expand All @@ -93,9 +91,10 @@ jobs:
command: tree
args: --locked

- name: Build Docker image for GPU
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: self_test_img
push: false
tags: ${{ env.self-test-img_tag }}

Expand Down Expand Up @@ -127,6 +126,7 @@ jobs:
needs:
- create-release
- build-init
- build-self-test-img
runs-on: ubuntu-latest
env:
OPENSSL_STATIC: 1
Expand Down Expand Up @@ -212,6 +212,7 @@ jobs:
needs:
- create-release
- build-init
- build-self-test-img
runs-on: ubuntu-latest
steps:
- name: Get upload url
Expand Down Expand Up @@ -239,15 +240,10 @@ jobs:
path: runtime/init-container/
- run: |
test -f runtime/init-container/initramfs.cpio.gz
- name: Download self-test image
uses: robinraju/[email protected]
- uses: actions/download-artifact@v2
with:
repository: ${{ env.self-test-img_repository }}
tag: ${{ env.self-test-img_tag }}
fileName: self-test.gvmi
out-file-path: runtime/image/
tarBall: false
zipBall: false
name: self_test_img
path: runtime/image/
- name: Extract Version
id: version
shell: bash
Expand Down

0 comments on commit 52225c2

Please sign in to comment.