summaryrefslogtreecommitdiff
path: root/.github/workflows/vyos-rolling-nightly-build.yml
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2023-08-31 15:06:30 +0300
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2023-08-31 15:06:35 +0300
commit1659593372eba4ffbc2f614f2f054f4d861dae86 (patch)
tree21054ce1fac28ec1deb11e7762091be2cced0612 /.github/workflows/vyos-rolling-nightly-build.yml
parentf812ae3dbd97a03d63fbad02c1b13dbed1c27790 (diff)
downloadvyos-rolling-nightly-builds-1659593372eba4ffbc2f614f2f054f4d861dae86.tar.gz
vyos-rolling-nightly-builds-1659593372eba4ffbc2f614f2f054f4d861dae86.zip
ISO checking
Diffstat (limited to '.github/workflows/vyos-rolling-nightly-build.yml')
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index 9d56dec..f9f786a 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -45,6 +45,27 @@ jobs:
run: |
cp ./vyos-build/build/live-image-amd64.hybrid.iso ./vyos-$VYOS_VERSION-amd64.iso
+ - name: Check ISO
+ uses: cross-the-world/ssh-scp-ssh-pipelines@latest
+ env:
+ VYOS_VERSION: ${{ env.VYOS_VERSION }}
+ with:
+ host: ${{ secrets.SSH_HOST }}
+ user: ${{ secrets.SSH_USER }}
+ port: ${{ secrets.SSH_PORT }}
+ 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/
+ scp: |
+ './vyos-$VYOS_VERSION-amd64.iso' => ~/vyos-build/build/
+ last_ssh: |
+ mv ~/vyos-build/build/vyos-$VYOS_VERSION-amd64.iso ~/vyos-build/build/live-image-amd64.hybrid.iso
+ docker run --rm --privileged -v ~/vyos-build:/vyos -w /vyos vyos/vyos-build:current sudo make testc
+ rm -rf ~/vyos-build || true
+
- name: Sign ISO (Minisign)
run: |
echo 'untrusted comment: minisign encrypted secret key' > minisign.key