mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Getting crazy about the ssowat/nginx stupid issue ...
This commit is contained in:
parent
0548af0c25
commit
fae3b676ea
2 changed files with 6 additions and 0 deletions
|
@ -17,7 +17,9 @@ upgrade:
|
|||
image: "after-install"
|
||||
script:
|
||||
- apt-get update -o Acquire::Retries=3
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
|
||||
|
||||
install-postinstall:
|
||||
|
@ -25,5 +27,7 @@ install-postinstall:
|
|||
image: "before-install"
|
||||
script:
|
||||
- apt-get update -o Acquire::Retries=3
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
- yunohost tools postinstall -d domain.tld -u syssa -F 'Syssa Mine' -p the_password --ignore-dyndns --force-diskspace
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
.install_debs: &install_debs
|
||||
- apt-get update -o Acquire::Retries=3
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb
|
||||
- systemctl restart nginx || journalctl -u nginx -n 50 --no-pager --no-hostname
|
||||
|
||||
.test-stage:
|
||||
stage: test
|
||||
|
|
Loading…
Add table
Reference in a new issue