1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-04 09:43:08 +02:00

Disable arm64 test in CirrusCI.

There seems to be a shortage of arm64 hosts because queue times have been steadily increasing over the last few weeks. It can now take several hours to get an arm64 test queued, which makes it difficult to get development done.

Disable for the time being and hope the resource issue gets resolved in the future.
This commit is contained in:
David Steele 2024-03-10 10:43:24 +13:00
parent eda7706f53
commit c64cd8e019

View File

@ -7,25 +7,25 @@ only_if: $CIRRUS_BRANCH == 'integration' || $CIRRUS_PR != '' || $CIRRUS_BRANCH =
# No auto-cancel on integration
auto_cancellation: $CIRRUS_BRANCH != 'integration'
# Arm64
# Arm64 - disabled because it often takes several hours for the test to get queued in Cirrus CI
# ----------------------------------------------------------------------------------------------------------------------------------
arm64_task:
arm_container:
image: ubuntu:20.04
cpu: 4
memory: 2G
# arm64_task:
# arm_container:
# image: ubuntu:20.04
# cpu: 4
# memory: 2G
install_script:
- apt-get update && apt-get install -y perl sudo locales
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
- dpkg-reconfigure --frontend=noninteractive locales
- update-locale LANG=en_US.UTF-8
- adduser --disabled-password --gecos "" testuser
- echo '%testuser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
- chown -R testuser ${CIRRUS_WORKING_DIR?}
# install_script:
# - apt-get update && apt-get install -y perl sudo locales
# - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
# - dpkg-reconfigure --frontend=noninteractive locales
# - update-locale LANG=en_US.UTF-8
# - adduser --disabled-password --gecos "" testuser
# - echo '%testuser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
# - chown -R testuser ${CIRRUS_WORKING_DIR?}
script:
- su - testuser -c "${CIRRUS_WORKING_DIR?}/test/ci.pl test --sudo --no-tempfs --param=c-only --param=no-coverage"
# script:
# - su - testuser -c "${CIRRUS_WORKING_DIR?}/test/ci.pl test --sudo --no-tempfs --param=c-only --param=no-coverage"
# FreeBSD 13
# ----------------------------------------------------------------------------------------------------------------------------------