Try to fix Snap. Part 2.
Some checks are pending
Docker / build (push) Waiting to run
Docker Image CI / build (push) Waiting to run
Release Charts / release (push) Waiting to run
Test suite / Meteor tests (push) Waiting to run
Test suite / Coverage report (push) Blocked by required conditions

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-11-02 16:14:45 +02:00
parent 9c7badb0eb
commit 3f2d4444e4
2 changed files with 19 additions and 8 deletions

View file

@ -130,11 +130,11 @@ parts:
- npm
stage-packages:
- libfontconfig1
override-build: |
override-build: |
set -euo pipefail
echo "Cleaning environment first"
#rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
rm -rf .build
rm -rf .build
# Helper: resilient downloader (tries curl, then wget) with retries/backoff
download() {
url="$1"; out="$2"; attempts="${3:-5}"; sleepsec=5
@ -248,7 +248,7 @@ parts:
- apt-transport-https
- gnupg
- curl
override-build: |
override-build: |
set -euo pipefail
# Resilient install of Caddy: try APT with retries, fallback to static binary
echo "Installing Caddy 2..."