summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-02 22:42:14 +0300
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-02 22:42:14 +0300
commit008f6eba432582e172c41349fa90a9ed0620861c (patch)
tree22cff9f796878c93cbc287e734bb8e26be776904 /.github/workflows
parenteebe2abe4c1f1fbe7dba2d0e49bb84a124c770dd (diff)
downloadvyos-rolling-nightly-builds-008f6eba432582e172c41349fa90a9ed0620861c.tar.gz
vyos-rolling-nightly-builds-008f6eba432582e172c41349fa90a9ed0620861c.zip
tar archive permissions fix
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index 1524368..cc6a471 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -36,10 +36,6 @@ jobs:
run: |
docker run --rm --privileged -v ./vyos-build/:/vyos -w /vyos vyos/vyos-build:current sudo --preserve-env ./build-vyos-image --architecture amd64 --build-by "autobuild@vyos.net" --vyos-mirror https://rolling-packages.vyos.net/current/ --debian-mirror http://deb.debian.org/debian/ --build-type release --custom-package vyos-1x-smoketest --version "${VYOS_VERSION}" iso
- - name: Make archive for smoketests
- run: |
- sudo tar -czf vyos-build.tar.gz -C $(pwd) vyos-build
-
- name: Run smoketests
uses: cross-the-world/ssh-scp-ssh-pipelines@latest
env:
@@ -51,11 +47,12 @@ jobs:
key: ${{ secrets.SSH_KEY }}
connect_timeout: 10s
first_ssh: |
- rm -rf ~/vyos-build* || true
+ rm -rf vyos-build || true
+ git clone -b current --single-branch https://github.com/vyos/vyos-build
+ mkdir -p ~/vyos-build/build/
scp: |
- './vyos-build.tar.gz' => '~/'
+ './vyos-build/build/live-image-amd64.hybrid.iso' => '~/vyos-build/build/'
last_ssh: |
- 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