Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ jobs:
clang clang-devel kernel-headers
fi
if command -v zypper &> /dev/null; then
# SUSE mirrors briefly serve mismatched repomd.xml signatures while syncing.
ok=0
for i in 1 2 3 4 5; do
if zypper -n refresh; then ok=1; break; fi
echo "zypper refresh failed (attempt $i), retrying"
sleep $((i * 30))
done
[ "$ok" = 1 ]
zypper install -y libopenssl-3-devel openssl pkg-config bash \
tar xz gzip curl linux-glibc-devel
fi
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ build-rpm-suse-15.5_x86_64:
stage: build-rpm
image: registry.suse.com/suse/sle15:15.5
before_script:
- ok=0; for i in 1 2 3 4 5; do if zypper -n refresh; then ok=1; break; fi; echo "zypper refresh failed (attempt $i), retrying"; sleep $((i * 30)); done; [ "$ok" = 1 ]
- zypper install -y libopenssl-3-devel openssl pkg-config bash tar xz gzip curl linux-glibc-devel gcc gcc7 python3 python3-pip
- python3 -m pip install --upgrade pip
- python3 -m pip install libclang
Expand Down Expand Up @@ -352,6 +353,7 @@ build-rpm-suse-15.5_aarch64:
stage: build-rpm
image: registry.suse.com/suse/sle15:15.5
before_script:
- ok=0; for i in 1 2 3 4 5; do if zypper -n refresh; then ok=1; break; fi; echo "zypper refresh failed (attempt $i), retrying"; sleep $((i * 30)); done; [ "$ok" = 1 ]
- zypper install -y libopenssl-3-devel openssl pkg-config bash tar xz gzip curl linux-glibc-devel gcc gcc7 python3 python3-pip
- python3 -m pip install --upgrade pip
- python3 -m pip install libclang
Expand Down Expand Up @@ -392,6 +394,7 @@ build-rpm-suse-15.7_x86_64:
stage: build-rpm
image: registry.suse.com/suse/sle15:15.7
before_script:
- ok=0; for i in 1 2 3 4 5; do if zypper -n refresh; then ok=1; break; fi; echo "zypper refresh failed (attempt $i), retrying"; sleep $((i * 30)); done; [ "$ok" = 1 ]
- zypper install -y libopenssl-3-devel openssl pkg-config bash tar xz gzip curl linux-glibc-devel gcc gcc7 python3 python3-pip
- python3 -m pip install --upgrade pip
- python3 -m pip install libclang
Expand Down Expand Up @@ -428,6 +431,7 @@ build-rpm-suse-15.7_aarch64:
stage: build-rpm
image: registry.suse.com/suse/sle15:15.7
before_script:
- ok=0; for i in 1 2 3 4 5; do if zypper -n refresh; then ok=1; break; fi; echo "zypper refresh failed (attempt $i), retrying"; sleep $((i * 30)); done; [ "$ok" = 1 ]
- zypper install -y libopenssl-3-devel openssl pkg-config bash tar xz gzip curl linux-glibc-devel gcc gcc7 python3 python3-pip
- python3 -m pip install --upgrade pip
- python3 -m pip install libclang
Expand Down