summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiederik de Haas <didi.debian@cknow.org>2022-11-05 12:23:03 +0100
committerDiederik de Haas <didi.debian@cknow.org>2022-11-05 12:48:22 +0100
commitb5ad7ef916f27bd9c8407660b87b4f422afa04d9 (patch)
treed278164fa980205dad18cd5710979b65400fbc5e
parentab0c16505ba1216ed77c1d7bcfe0c01677d7b79c (diff)
Upgrade pkgs separately before installing new ones
Upgrade the existing packages before installing new ones. It's better to have a fully up-to-date system to work on and it could also fix/prevent an installation issue if a package depends on an existing, but un-upgraded one. With this change we get "and 0 not upgraded", which was not always the case before. Also add a '/' after the 'build' directory to make it clear it is a dir.
-rw-r--r--debian/salsa-ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
index 03205c9..13138a1 100644
--- a/debian/salsa-ci.yml
+++ b/debian/salsa-ci.yml
@@ -12,11 +12,12 @@ build-yamls:
image: $BASE_CI_IMAGES:unstable
dependencies: []
script:
- - apt-get update && eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make
+ - apt-get update && apt-get upgrade -y
+ - eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make
- make yaml
- mkdir build
- - cp raspi*.yaml build
+ - cp raspi*.yaml build/
artifacts:
paths:
- - build
+ - build/