Skip to content

Commit 57cca35

Browse files
author
composer-lock-update
committed
Export BASH_ENV
1 parent ebf2910 commit 57cca35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bitbucket-pipelines.yml

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# These are yaml anchors, reused later
22
x-bash-env-steps:
3+
- &bash_env_export export BASH_ENV="$HOME/.bashrc"
34
- &bash_env_cp cp bash_env.txt $BASH_ENV
45
- &bash_env_source source $BASH_ENV
56

@@ -8,6 +9,7 @@ default_steps: &default_steps
89
- step:
910
name: Configure Environment Variables
1011
script:
12+
- *bash_env_export
1113
- CI_BRANCH=$BITBUCKET_BRANCH CI_BUILD_NUMBER=$BITBUCKET_BUILD_NUMBER PR_NUMBER=$BITBUCKET_PR_ID
1214
- /build-tools-ci/scripts/set-environment
1315
- cp $BASH_ENV bash_env.txt
@@ -19,6 +21,7 @@ default_steps: &default_steps
1921
caches:
2022
- composer
2123
script:
24+
- *bash_env_export
2225
- *bash_env_cp
2326
- *bash_env_source
2427
- ./.ci/test/static/run
@@ -27,6 +30,7 @@ default_steps: &default_steps
2730
caches:
2831
- composer
2932
script:
33+
- *bash_env_export
3034
- *bash_env_cp
3135
- *bash_env_source
3236
- ./.ci/build/php
@@ -36,6 +40,7 @@ default_steps: &default_steps
3640
- step:
3741
name: Deploy to Pantheon
3842
script:
43+
- *bash_env_export
3944
- *bash_env_cp
4045
- *bash_env_source
4146
- ./.ci/deploy/pantheon/dev-multidev
@@ -52,6 +57,7 @@ default_steps: &default_steps
5257
CI_REPOSITORY_URL: $CI_MERGE_REQUEST_IID
5358
ARTIFACTS_DIR_URL: https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/$CI_JOB_ID/artifacts
5459
script:
60+
- *bash_env_export
5561
- *bash_env_cp
5662
- *bash_env_source
5763
- ./.ci/test/visual-regression/run
@@ -62,6 +68,7 @@ default_steps: &default_steps
6268
caches:
6369
- composer
6470
script:
71+
- *bash_env_export
6572
- *bash_env_cp
6673
- *bash_env_source
6774
- ./.ci/test/behat/initialize

0 commit comments

Comments
 (0)