Skip to content

Commit

Permalink
various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicDin committed Apr 2, 2024
1 parent 2164921 commit a98181c
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 13 deletions.
29 changes: 27 additions & 2 deletions .github/actions/image-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,37 @@ runs:
run: |
sudo apt-get -qq update
sudo apt-get install -y --no-install-recommends \
btrfs-progs \
build-essential \
ca-certificates \
curl \
debootstrap \
qemu-utils \
dirmngr \
dosfstools \
gcc \
gdisk \
git \
gpg \
gpg-agent \
kpartx \
libc6-dev \
libncurses-dev \
make \
mawk \
patch \
python3 \
qemu-utils \
rsync \
squashfs-tools
squashfs-tools \
unzip \
xz-utils \
zstd
# debootstrap \
# qemu-utils \
# git \
# gpg \
# rsync \
# squashfs-tools
- name: Install Go ${{ inputs.go-version }}
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
release:
- 7 # CentOS 7 tests require cgroups v1. They will pass on ubuntu-20.04 runner.
- 8-Stream
# - 8-Stream
- 9-Stream
variant:
- default
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
# almalinux:
# uses: ./.github/workflows/image-almalinux.yml
# secrets: inherit
alpine:
uses: ./.github/workflows/image-alpine.yml
secrets: inherit
# alpine:
# uses: ./.github/workflows/image-alpine.yml
# secrets: inherit
# alt:
# uses: ./.github/workflows/image-alt.yml
# secrets: inherit
Expand All @@ -30,9 +30,9 @@ jobs:
# busybox:
# uses: ./.github/workflows/image-busybox.yml
# secrets: inherit
# centos:
# uses: ./.github/workflows/image-centos.yml
# secrets: inherit
centos:
uses: ./.github/workflows/image-centos.yml
secrets: inherit
# debian:
# uses: ./.github/workflows/image-debian.yml
# secrets: inherit
Expand All @@ -57,9 +57,9 @@ jobs:
# openeuler:
# uses: ./.github/workflows/image-openeuler.yml
# secrets: inherit
# opensuse:
# uses: ./.github/workflows/image-opensuse.yml
# secrets: inherit
opensuse:
uses: ./.github/workflows/image-opensuse.yml
secrets: inherit
# openwrt:
# uses: ./.github/workflows/image-openwrt.yml
# secrets: inherit
Expand Down
2 changes: 1 addition & 1 deletion bin/helpers
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ waitSnapdSeed() (
# waitInstanceReady: waits for the instance to be ready (processes count > 1).
waitInstanceReady() (
set +x
maxWait=120
maxWait="${MAX_WAIT_SECONDS:-120}"
instName="${1}"
instProj="${2:-}"
if [ -z "${instProj}" ]; then
Expand Down
4 changes: 4 additions & 0 deletions bin/test-image
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ for i in ${INSTANCES}; do
MIN_PROC_COUNT=1
fi

if [ "${DIST}" == "centos" ]; then
MAX_WAIT_SECONDS=180
fi

waitInstanceReady "${i}"
done

Expand Down

0 comments on commit a98181c

Please sign in to comment.