File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
# These are yaml anchors, reused later
2
2
x-bash-env-steps :
3
+ - &bash_env_export export BASH_ENV="$HOME/.bashrc"
3
4
- &bash_env_cp cp bash_env.txt $BASH_ENV
4
5
- &bash_env_source source $BASH_ENV
5
6
@@ -8,6 +9,7 @@ default_steps: &default_steps
8
9
- step :
9
10
name : Configure Environment Variables
10
11
script :
12
+ - *bash_env_export
11
13
- CI_BRANCH=$BITBUCKET_BRANCH CI_BUILD_NUMBER=$BITBUCKET_BUILD_NUMBER PR_NUMBER=$BITBUCKET_PR_ID
12
14
- /build-tools-ci/scripts/set-environment
13
15
- cp $BASH_ENV bash_env.txt
@@ -19,6 +21,7 @@ default_steps: &default_steps
19
21
caches :
20
22
- composer
21
23
script :
24
+ - *bash_env_export
22
25
- *bash_env_cp
23
26
- *bash_env_source
24
27
- ./.ci/test/static/run
@@ -27,6 +30,7 @@ default_steps: &default_steps
27
30
caches :
28
31
- composer
29
32
script :
33
+ - *bash_env_export
30
34
- *bash_env_cp
31
35
- *bash_env_source
32
36
- ./.ci/build/php
@@ -36,6 +40,7 @@ default_steps: &default_steps
36
40
- step :
37
41
name : Deploy to Pantheon
38
42
script :
43
+ - *bash_env_export
39
44
- *bash_env_cp
40
45
- *bash_env_source
41
46
- ./.ci/deploy/pantheon/dev-multidev
@@ -52,6 +57,7 @@ default_steps: &default_steps
52
57
CI_REPOSITORY_URL : $CI_MERGE_REQUEST_IID
53
58
ARTIFACTS_DIR_URL : https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/$CI_JOB_ID/artifacts
54
59
script :
60
+ - *bash_env_export
55
61
- *bash_env_cp
56
62
- *bash_env_source
57
63
- ./.ci/test/visual-regression/run
@@ -62,6 +68,7 @@ default_steps: &default_steps
62
68
caches :
63
69
- composer
64
70
script :
71
+ - *bash_env_export
65
72
- *bash_env_cp
66
73
- *bash_env_source
67
74
- ./.ci/test/behat/initialize
You can’t perform that action at this time.
0 commit comments