Skip to content
Snippets Groups Projects
Commit 5a0f500b authored by romanvalov's avatar romanvalov
Browse files

test recursive variables

parent 116aef66
No related branches found
No related tags found
No related merge requests found
Pipeline #8041 failed
variables:
GLOBAL1: "test!"
GLOBAL2: "$GLOBAL1"
.run:
variables:
LOCAL1: "test!"
LOCAL2: "$LOCAL1"
image: quay.io/os-forge/rpm-ostree-engine:0.2.0
stage: build
cache:
......@@ -7,20 +15,20 @@
paths:
- repo/
before_script:
- export MY_VAR='test'
- IT_VAR='test'
- touch _my_test_
echo "$GLOBAL1"
echo "$GLOBAL2"
echo "$LOCAL1"
echo "$LOCAL2"
script:
- ls -l
- echo "$MY_VAR"
- echo "$IT_VAR"
- export DO_VAR='test'
- TI_VAR='test'
echo "$GLOBAL1"
echo "$GLOBAL2"
echo "$LOCAL1"
echo "$LOCAL2"
after_script:
- echo "$MY_VAR"
- echo "$IT_VAR"
- echo "$DO_VAR"
- echo "$TI_VAR"
echo "$GLOBAL1"
echo "$GLOBAL2"
echo "$LOCAL1"
echo "$LOCAL2"
run-x86_64:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment