Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Commit aef8668

Browse files
Use the set-environment script inside the docker environment. (#114)
1 parent d468d61 commit aef8668

File tree

2 files changed

+7
-61
lines changed

2 files changed

+7
-61
lines changed

.circleci/config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
22
defaults: &defaults
33
docker:
4-
- image: quay.io/pantheon-public/build-tools-ci:latest
4+
- image: quay.io/pantheon-public/build-tools-ci:1.x
55
working_directory: ~/example_drops_8_composer
66
environment:
77
#=========================================================================
@@ -30,7 +30,6 @@ defaults: &defaults
3030
# See: https://discuss.circleci.com/t/environment-variable-expansion-in-working-directory/11322
3131
# See: https://discuss.circleci.com/t/circle-2-0-global-environment-variables/8681
3232
#======================================================================================================================================
33-
# See 00-set-environment for more environment variables
3433

3534
NOTIFY: 'scripts/github/add-commit-comment {project} {sha} "Created multidev environment [{site}#{env}]({dashboard-url})." {site-url}'
3635
ADMIN_USERNAME: admin
@@ -51,8 +50,10 @@ jobs:
5150
- terminus-install
5251

5352
- run:
53+
# Set TERMINUS_ENV and related environment variables.
54+
# https://github.com/pantheon-systems/docker-build-tools-ci/blob/1.x/scripts/set-environment
5455
name: environment
55-
command: ./.circleci/scripts/00-set-environment
56+
command: /build-tools-ci/scripts/set-environment
5657

5758
- run:
5859
name: run composer install to get the vendor directory
@@ -91,8 +92,10 @@ jobs:
9192
- terminus-install
9293

9394
- run:
95+
# Set TERMINUS_ENV and related environment variables.
96+
# https://github.com/pantheon-systems/docker-build-tools-ci/blob/1.x/scripts/set-environment
9497
name: dependencies
95-
command: ./.circleci/scripts/00-set-environment
98+
command: /build-tools-ci/scripts/set-environment
9699

97100
- run:
98101
name: install dev dependencies, build assets, etc.

.circleci/scripts/00-set-environment

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)