This commit is contained in:
@@ -14,18 +14,32 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
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
|
- name: Force APK to IPv4-only mirror
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
sed -i 's|https://dl-cdn.alpinelinux.org|https://dl-4.alpinelinux.org|g' /etc/apk/repositories
|
sed -i 's|https://dl-cdn.alpinelinux.org|https://dl-4.alpinelinux.org|g' /etc/apk/repositories
|
||||||
cat /etc/apk/repositories
|
cat /etc/apk/repositories
|
||||||
- name: Install tools
|
|
||||||
shell: sh
|
- name: Install tools (curl, jq) with verbose
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
APK_PROGRESS=plain apk update -v --no-progress
|
export APK_PROGRESS=plain
|
||||||
APK_PROGRESS=plain apk add -v --no-cache curl jq
|
apk update -v --no-progress
|
||||||
|
apk add -v --no-cache curl jq
|
||||||
|
|
||||||
|
|
||||||
# - name: Install tools (curl, jq) with debug
|
# - name: Install tools (curl, jq) with debug
|
||||||
# shell: sh
|
# shell: sh
|
||||||
|
|||||||
Reference in New Issue
Block a user