Skip to content
Snippets Groups Projects
Commit 29275230 authored by Norman Stetter's avatar Norman Stetter
Browse files

CI: Add dependency between prepare_environment and build

* Explicitly make build depend on prepare_environmnt, so it will fail
when the artifacts of prepare_environment are missing
* Increase timeout of prepare_environment artifacts
parent 40499826
No related branches found
No related tags found
1 merge request!30CI: Add dependency between prepare_environment and build
...@@ -59,7 +59,7 @@ prepare_environment: ...@@ -59,7 +59,7 @@ prepare_environment:
- *checkout_commit - *checkout_commit
- *repo_tag - *repo_tag
artifacts: artifacts:
expire_in: 3h expire_in: 1d
paths: paths:
- "./" - "./"
cache: cache:
...@@ -81,6 +81,8 @@ prepare_environment: ...@@ -81,6 +81,8 @@ prepare_environment:
SETUPSCRIPT: "setup-environment" SETUPSCRIPT: "setup-environment"
IMAGEPATH: "tmp/deploy/images" IMAGEPATH: "tmp/deploy/images"
INSTALLSCRIPT: "fng-install.sh" INSTALLSCRIPT: "fng-install.sh"
dependencies:
- prepare_environment
before_script: before_script:
- *setup_ssh - *setup_ssh
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment