This commit is contained in:
@@ -14,18 +14,32 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
||||
|
||||
- name: Network smoke test
|
||||
run: |
|
||||
set -eux
|
||||
ip link | sed -n '1,80p'
|
||||
echo "--- resolv.conf ---"
|
||||
cat /etc/resolv.conf || true
|
||||
echo "--- DNS ---"
|
||||
nslookup dl-cdn.alpinelinux.org || true
|
||||
echo "--- download APKINDEX (10s) ---"
|
||||
wget -S -O /dev/null --timeout=10 --tries=1 \
|
||||
https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
|
||||
|
||||
- name: Force APK to IPv4-only mirror
|
||||
shell: sh
|
||||
run: |
|
||||
set -eux
|
||||
sed -i 's|https://dl-cdn.alpinelinux.org|https://dl-4.alpinelinux.org|g' /etc/apk/repositories
|
||||
cat /etc/apk/repositories
|
||||
- name: Install tools
|
||||
shell: sh
|
||||
|
||||
- name: Install tools (curl, jq) with verbose
|
||||
run: |
|
||||
set -eux
|
||||
APK_PROGRESS=plain apk update -v --no-progress
|
||||
APK_PROGRESS=plain apk add -v --no-cache curl jq
|
||||
export APK_PROGRESS=plain
|
||||
apk update -v --no-progress
|
||||
apk add -v --no-cache curl jq
|
||||
|
||||
|
||||
# - name: Install tools (curl, jq) with debug
|
||||
# shell: sh
|
||||
|
||||
Reference in New Issue
Block a user