Skip to content
Snippets Groups Projects
Commit 8ca2487d authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Move .simulate_build below .build_yocto

parent 2808f067
No related branches found
No related tags found
1 merge request!337Fix build.env contents for simulated build
Pipeline #79643 skipped with stage
...@@ -218,29 +218,6 @@ workflow: ...@@ -218,29 +218,6 @@ workflow:
policy: push policy: push
paths: *artifacts_paths paths: *artifacts_paths
.simulate_build:
extends:
- .build_yocto
tags:
- misc
needs: []
timeout: 60m
variables:
BUILD_ARTIFACTS:
before_script: []
script:
- if compgen -G build-*; then echo "Using build from cache"; exit 0; fi
- echo "Getting Yocto build artifacts"
- wget -O artifacts.zip ${BUILD_ARTIFACTS}
- unzip artifacts.zip
after_script:
- *save_build_env
cache:
- *cache
# Additionally cache the build artifacts for re-runs of this job in other pipelines
- key: ${CI_JOB_NAME}-${BUILD_ARTIFACTS}
paths: *artifacts_paths
.build_yocto: .build_yocto:
extends: extends:
- .buildbase - .buildbase
...@@ -265,6 +242,29 @@ workflow: ...@@ -265,6 +242,29 @@ workflow:
- *save_build_env - *save_build_env
- *dump_install_command - *dump_install_command
.simulate_build:
extends:
- .build_yocto
tags:
- misc
needs: []
timeout: 60m
variables:
BUILD_ARTIFACTS:
before_script: []
script:
- if compgen -G build-*; then echo "Using build from cache"; exit 0; fi
- echo "Getting Yocto build artifacts"
- wget -O artifacts.zip ${BUILD_ARTIFACTS}
- unzip artifacts.zip
after_script:
- *save_build_env
cache:
- *cache
# Additionally cache the build artifacts for re-runs of this job in other pipelines
- key: ${CI_JOB_NAME}-${BUILD_ARTIFACTS}
paths: *artifacts_paths
# -------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------
# Stage: test # Stage: test
# -------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------
......
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