Azure: Always update apt cache

Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Stanislav Levin 2020-05-13 09:21:25 +03:00 committed by Christian Heimes
parent 8882fc49d0
commit b6fbee53bc

View File

@ -6,24 +6,25 @@ steps:
- script: |
set -e
printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail)
sudo apt-get install -y rng-tools
sudo service rng-tools start
sleep 3
printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail)
displayName: Increase entropy level
- script: |
set -e
sudo apt-get update
sudo apt-get install -y \
parallel \
moreutils \
rng-tools \
systemd-coredump \
python3-docker
# ubuntu's one is too old: different API
python3 -m pip install docker --user
displayName: Install Host's tests requirements
- script: |
set -e
printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail)
sudo service rng-tools start
sleep 3
printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail)
displayName: Increase entropy level
- script: |
set -eu
date +'%Y-%m-%d %H:%M:%S' > coredumpctl.time.mark