mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-07-13 20:21:52 +02:00
Update .gitlab-ci.yml
This commit is contained in:
@ -39,7 +39,6 @@ include:
|
|||||||
|
|
||||||
#commands to run in the Docker container before starting each job.
|
#commands to run in the Docker container before starting each job.
|
||||||
before_script:
|
before_script:
|
||||||
- echo $my_branch.BEC_CORE_BRANCH
|
|
||||||
- if [[ "$CI_PROJECT_PATH" != "bec/ophyd_devices" ]]; then
|
- if [[ "$CI_PROJECT_PATH" != "bec/ophyd_devices" ]]; then
|
||||||
echo -e "\033[35;1m Using branch $CHILD_PIPELINE_BRANCH of Ophyd Devices \033[0;m";
|
echo -e "\033[35;1m Using branch $CHILD_PIPELINE_BRANCH of Ophyd Devices \033[0;m";
|
||||||
test -d ophyd_devices || git clone --branch $CHILD_PIPELINE_BRANCH https://gitlab.psi.ch/bec/ophyd_devices.git; cd ophyd_devices;
|
test -d ophyd_devices || git clone --branch $CHILD_PIPELINE_BRANCH https://gitlab.psi.ch/bec/ophyd_devices.git; cd ophyd_devices;
|
||||||
@ -51,11 +50,22 @@ before_script:
|
|||||||
|
|
||||||
# different stages in the pipeline
|
# different stages in the pipeline
|
||||||
stages:
|
stages:
|
||||||
|
- pre
|
||||||
- Formatter
|
- Formatter
|
||||||
- test # must be called test for security/secret-detection to work
|
- test # must be called test for security/secret-detection to work
|
||||||
- AdditionalTests
|
- AdditionalTests
|
||||||
- Deploy
|
- Deploy
|
||||||
|
|
||||||
|
load_vars:
|
||||||
|
stage: pre
|
||||||
|
script:
|
||||||
|
script:
|
||||||
|
- echo "Loading variables from vars.yml..."
|
||||||
|
- cat >> build.env
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
dotenv: build.env
|
||||||
|
|
||||||
formatter:
|
formatter:
|
||||||
stage: Formatter
|
stage: Formatter
|
||||||
before_script:
|
before_script:
|
||||||
|
Reference in New Issue
Block a user