freeipa/ipatests/azure/templates/prepare-build-fedora.yml
Alexander Bokovoy 77ed0918a7 Remove Fedora repository fastmirror selection
Fast mirror selection somehow stopped working. If disabled, the
difference is around 20 seconds for the 'Prepare build environment' step
(2:49 versus 3:09), so while we are saving, currently it is not a lot.

Also remove explicit nodejs stream choice, it seems to be not needed
anymore (again).

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
2020-03-28 19:55:10 +01:00

23 lines
673 B
YAML

steps:
- script: |
set -e
sudo rm -rf /var/cache/dnf/*
sudo dnf makecache || :
echo "Installing base development environment"
sudo dnf install -y \
gdb-minimal \
make \
autoconf \
rpm-build \
gettext-devel \
automake \
libtool \
docker \
python3-paramiko \
python3-pyyaml \
echo "Installing FreeIPA development dependencies"
sudo dnf builddep -y freeipa
sudo dnf builddep -y --skip-broken -D "with_wheels 1" -D "with_lint 1" -D "with_doc 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
displayName: Prepare build environment