diff --git a/script/gitlabci/print_env.sh b/script/gitlabci/print_env.sh index 5a4dae15df1..f1c68169907 100755 --- a/script/gitlabci/print_env.sh +++ b/script/gitlabci/print_env.sh @@ -39,7 +39,7 @@ fi echo -e "2. Run the following export commands in the container to setup enviroment\n" # take all env variables, filter it and display it with a `export` prefix -printenv | grep -E 'alpaka_*|ALPAKA_*|CMAKE_*|BOOST_|CUDA_' | while read -r line ; do +printenv | grep -E '^alpaka_*|^ALPAKA_*|^CMAKE_*|^BOOST_*|^CUDA_*|^CI_RUNNER_TAGS*' | while read -r line ; do echo "export $line \\" done @@ -48,7 +48,7 @@ echo 'export alpaka_DISABLE_EXIT_FAILURE=true \' echo 'export GITLAB_CI=true' echo "" -echo "3. install git: apt update; apt install -y git" +echo "3. install git: apt update && apt install -y git" echo "4. clone alpaka repository: git clone https://gitlab.com/hzdr/crp/alpaka.git --depth 1 -b ${CI_COMMIT_BRANCH}" echo "5. Run the following script: cd alpaka && ./script/gitlab_ci_run.sh" # reset the color