diff options
author | Andrii Andrieiev <a.andrieiev@sentrium.io> | 2023-08-31 23:20:46 +0300 |
---|---|---|
committer | Andrii Andrieiev <a.andrieiev@sentrium.io> | 2023-08-31 23:20:54 +0300 |
commit | cd83c6dff93bb554c436ca7aeb300f3de9644ce4 (patch) | |
tree | c8a26221b4971548be390422972d6ff5b530da12 /.github/workflows | |
parent | 1a86910b47de545b7a6207c3ecb18d174f0c7722 (diff) | |
download | vyos-rolling-nightly-builds-cd83c6dff93bb554c436ca7aeb300f3de9644ce4.tar.gz vyos-rolling-nightly-builds-cd83c6dff93bb554c436ca7aeb300f3de9644ce4.zip |
debug
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/vyos-rolling-nightly-build.yml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml index 9692627..5a54aea 100644 --- a/.github/workflows/vyos-rolling-nightly-build.yml +++ b/.github/workflows/vyos-rolling-nightly-build.yml @@ -41,9 +41,9 @@ jobs: # echo "TEST" > ./vyos-build/build/live-image-amd64.hybrid.iso ##### - - name: Copy ISO + - name: Make archive for smoketests run: | - cp ./vyos-build/build/live-image-amd64.hybrid.iso ./vyos-$VYOS_VERSION-amd64.iso + tar -czf vyos-build.tar.gz -C $(pwd) vyos-build - name: Check ISO uses: cross-the-world/ssh-scp-ssh-pipelines@latest @@ -56,17 +56,20 @@ jobs: key: ${{ secrets.SSH_KEY }} connect_timeout: 10s first_ssh: | - rm -rf ~/vyos-build || true - git clone -b current --single-branch https://github.com/vyos/vyos-build - mkdir -p ~/vyos-build/build/ + rm -rf ~/vyos-build* || true scp: | - './vyos-$VYOS_VERSION-amd64.iso' => ~/vyos-build/build/ + './vyos-build.tar.gz' => '~/' last_ssh: | - mv ~/vyos-build/build/vyos-$VYOS_VERSION-amd64.iso ~/vyos-build/build/live-image-amd64.hybrid.iso + tar -xzf vyos-build.tar.gz docker run --rm --privileged -v ~/vyos-build:/vyos -w /vyos vyos/vyos-build:current sudo make test docker run --rm --privileged -v ~/vyos-build:/vyos -w /vyos vyos/vyos-build:current sudo make testc rm -rf ~/vyos-build || true + + # - name: Copy ISO + # run: | + # cp ./vyos-build/build/live-image-amd64.hybrid.iso ./vyos-$VYOS_VERSION-amd64.iso + # - name: Sign ISO (Minisign) # run: | # echo 'untrusted comment: minisign encrypted secret key' > minisign.key |