diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b80b257921deb38c4999f66441c8c7a1ef7caec..181ca2eeee08ac1988f11854cc96fa50a15a1fd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,21 @@ include: build: stage: build + variables: + A: (x y z) + B[0]: a + B[1]: b + B[2]: c script: - set -ex + - echo "$A" || :; + - echo "${A[@]}" || :; + - echo "${#A[@]}" || :; + - echo "${!A[@]}" || :; + - echo "$B" || :; + - echo "${B[@]}" || :; + - echo "${#B[@]}" || :; + - echo "${!B[@]}" || :; - echo "STAMP=$RANDOM" | tee .env - cat .env > cache.text - cat .env > smash.text