Skip to content

Commit 6ed2c17

Browse files
committed
Use armbian release branch instead of tag
1 parent 93d29d6 commit 6ed2c17

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/build-lxd.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ jobs:
370370
- name: Setup Firefox from packages
371371
if: ${{ steps.setup-firefox-browser-action.outcome == 'failure' }}
372372
run: |
373+
sudo apt-get update
373374
sudo apt-get install -y --no-install-recommends firefox
374375
- name: Setup GeckoDriver
375376
env:
@@ -385,6 +386,7 @@ jobs:
385386
sudo mv geckodriver /usr/local/bin/
386387
- name: Setup Selenium
387388
run: |
389+
sudo apt-get -y install python3-venv
388390
python3 -m venv ./.venv
389391
./.venv/bin/pip install selenium
390392
- name: download LXD image
@@ -415,7 +417,7 @@ jobs:
415417
working-directory: ./tests
416418
run: |
417419
sudo "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
418-
./.venv/bin/python activation_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
420+
../.venv/bin/python activation_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
419421
echo "Activation test failed!"
420422
echo "Geckodriver logs:"
421423
tail -n 20 geckodriver.log >&2 || true
@@ -424,7 +426,7 @@ jobs:
424426
sudo "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
425427
exit 1
426428
}
427-
./.venv/bin/python nextcloud_tests.py --skip-release-check --no-gui "nextcloudpi.local" 443 4443 || {
429+
../.venv/bin/python nextcloud_tests.py --skip-release-check --no-gui "nextcloudpi.local" 443 4443 || {
428430
echo "Nextcloud test failed!"
429431
echo "Geckodriver logs:"
430432
tail -n 20 geckodriver.log >&2 || true
@@ -437,7 +439,7 @@ jobs:
437439
sudo "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
438440
exit 1
439441
}
440-
USE_INCUS="$USE_INCUS" ./.venv/bin/python system_tests.py --non-interactive --skip-update-test || {
442+
USE_INCUS="$USE_INCUS" ../.venv/bin/python system_tests.py --non-interactive --skip-update-test || {
441443
echo "System test failed!"
442444
exit 1
443445
}
@@ -495,7 +497,7 @@ jobs:
495497
- name: Test LXD Image
496498
working-directory: ./tests
497499
run: |
498-
./.venv/bin/python nextcloud_tests.py --no-gui --skip-release-check "nextcloudpi.local" 443 4443 || {
500+
../.venv/bin/python nextcloud_tests.py --no-gui --skip-release-check "nextcloudpi.local" 443 4443 || {
499501
echo "Nextcloud test failed!"
500502
echo "Geckodriver logs:"
501503
tail -n 20 geckodriver.log >&2 || true
@@ -509,7 +511,7 @@ jobs:
509511
exit 1
510512
}
511513
sudo "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
512-
USE_INCUS="$USE_INCUS" ./.venv/bin/python system_tests.py --non-interactive --skip-update-test || {
514+
USE_INCUS="$USE_INCUS" ../.venv/bin/python system_tests.py --non-interactive --skip-update-test || {
513515
echo "System test failed!"
514516
exit 1
515517
}
@@ -575,7 +577,7 @@ jobs:
575577
working-directory: ./tests
576578
run: |
577579
sudo "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
578-
./.venv/bin/python nextcloud_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
580+
../.venv/bin/python nextcloud_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
579581
echo "Nextcloud test failed!"
580582
echo "Geckodriver logs:"
581583
tail -n 20 geckodriver.log >&2 || true
@@ -588,7 +590,7 @@ jobs:
588590
sudo "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
589591
exit 1
590592
}
591-
USE_INCUS="$USE_INCUS" ./.venv/bin/python system_tests.py --non-interactive || {
593+
USE_INCUS="$USE_INCUS" ../.venv/bin/python system_tests.py --non-interactive || {
592594
echo "System test failed!"
593595
exit 1
594596
}
@@ -625,6 +627,7 @@ jobs:
625627
- name: Setup Firefox from packages
626628
if: ${{ steps.setup-firefox-browser-action.outcome == 'failure' }}
627629
run: |
630+
sudo apt-get update
628631
sudo apt-get install -y --no-install-recommends firefox
629632
- name: Setup GeckoDriver
630633
env:
@@ -640,6 +643,7 @@ jobs:
640643
sudo mv geckodriver /usr/local/bin/
641644
- name: Setup Selenium
642645
run: |
646+
sudo apt-get install -y python3-venv
643647
python3 -m venv ./.venv
644648
./.venv/bin/pip install selenium
645649
- name: download LXD image from artifact store

build/armbian/armbian_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v25.8.1
1+
v25.08

0 commit comments

Comments
 (0)