Skip to content

Commit

Permalink
On CI tests, run apt update before install
Browse files Browse the repository at this point in the history
This is required when our pull requests add new dependencies that were not installed in preinstall incus images
  • Loading branch information
Salamandar committed Jan 19, 2025
1 parent d7b57a8 commit 8a6b24c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab/ci/install.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ upgrade:
extends: .install-stage
image: "core-tests"
script:
- apt update
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb


install-postinstall:
extends: .install-stage
image: "before-install"
script:
- apt update
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb
- yunohost tools postinstall -d domain.tld -u syssa -F 'Syssa Mine' -p the_password --ignore-dyndns --force-diskspace

0 comments on commit 8a6b24c

Please sign in to comment.