Skip to content
Snippets Groups Projects
Commit 32559374 authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => global before script: move from anchor to reference

parent d0f91a22
No related branches found
No related tags found
No related merge requests found
Pipeline #26996 passed
.global_before_script: &global_before_script
.global_before_script:
script:
- !reference [ .get_vars, script ]
......
......@@ -8,4 +8,4 @@ stages:
- release
before_script:
- *global_before_script
\ No newline at end of file
- !reference [ .global_before_script, script ]
\ No newline at end of file
......@@ -3,7 +3,7 @@ pkg_and_sign:debian:
matrix:
- ARCH: [ "arm64", "amd64" ]
before_script:
- *global_before_script
- !reference [ .global_before_script, script ]
- BIN_FOLDER_DEBIAN_PKG_AND_SIGN=$([[ $ARCH == "arm64" ]] && echo ${BIN_FOLDER_LINUX_ARM64} || echo ${BIN_FOLDER_LINUX_X64})
extends: .pkg_and_sign:debian
......@@ -13,7 +13,7 @@ pkg_and_sign:debian-test:
matrix:
- ARCH: [ "arm64", "amd64" ]
before_script:
- *global_before_script
- !reference [ .global_before_script, script ]
- BIN_FOLDER_DEBIAN_PKG_AND_SIGN=$([[ $ARCH == "arm64" ]] && echo ${BIN_FOLDER_LINUX_ARM64} || echo ${BIN_FOLDER_LINUX_X64})
extends: .pkg_and_sign:debian
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment