mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add needs keyword
This commit is contained in:
parent
de81a93498
commit
348d80664d
2 changed files with 28 additions and 2 deletions
|
@ -1,15 +1,26 @@
|
||||||
|
.install-stage:
|
||||||
|
stage: install
|
||||||
|
needs:
|
||||||
|
- job: build-yunohost
|
||||||
|
artifacts: true
|
||||||
|
- job: build-ssowat
|
||||||
|
artifacts: true
|
||||||
|
- job: build-moulinette
|
||||||
|
artifacts: true
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# INSTALL DEB
|
# INSTALL DEB
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
upgrade:
|
upgrade:
|
||||||
stage: install
|
extends: .install-stage
|
||||||
image: "after-install"
|
image: "after-install"
|
||||||
script:
|
script:
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
|
||||||
|
|
||||||
install-postinstall:
|
install-postinstall:
|
||||||
stage: install
|
extends: .install-stage
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
script:
|
script:
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
|
|
@ -12,6 +12,14 @@
|
||||||
paths:
|
paths:
|
||||||
- src/yunohost/tests/apps
|
- src/yunohost/tests/apps
|
||||||
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
|
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
|
||||||
|
needs:
|
||||||
|
- job: build-yunohost
|
||||||
|
artifacts: true
|
||||||
|
- job: build-ssowat
|
||||||
|
artifacts: true
|
||||||
|
- job: build-moulinette
|
||||||
|
artifacts: true
|
||||||
|
- job: upgrade
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# TESTS
|
# TESTS
|
||||||
|
@ -29,6 +37,13 @@ full-tests:
|
||||||
- py.test tests
|
- py.test tests
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- py.test tests
|
- py.test tests
|
||||||
|
needs:
|
||||||
|
- job: build-yunohost
|
||||||
|
artifacts: true
|
||||||
|
- job: build-ssowat
|
||||||
|
artifacts: true
|
||||||
|
- job: build-moulinette
|
||||||
|
artifacts: true
|
||||||
|
|
||||||
root-tests:
|
root-tests:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
|
|
Loading…
Add table
Reference in a new issue