-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from pantheon-systems/terminus1
Terminus 1.0
- Loading branch information
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,15 @@ machine: | |
environment: | ||
TERMINUS_ENV: ci-$CIRCLE_BUILD_NUM | ||
TERMINUS_SITE: wp-saml-auth | ||
SITE_ENV: $TERMINUS_SITE.$TERMINUS_ENV | ||
WORDPRESS_ADMIN_USERNAME: pantheon | ||
# A random password is set in the dependencies:pre stage as a text file. | ||
# This line reads the same file repeatedly. If the openssl call were used | ||
# in this step, it would result in a different password being used in each | ||
# line of other steps. Each CircleCI command runs in a separate shell. | ||
WORDPRESS_ADMIN_PASSWORD: $(cat ~/WORDPRESS_ADMIN_PASSWORD) | ||
WORDPRESS_ADMIN_EMAIL: [email protected] | ||
PATH: $PATH:~/terminus/bin | ||
|
||
dependencies: | ||
cache_directories: | ||
|
@@ -38,9 +40,10 @@ dependencies: | |
echo "TERMINUS_TOKEN environment variables missing; assuming unauthenticated build" | ||
exit 0 | ||
fi | ||
composer global require pantheon-systems/terminus ">=0.13.3 <0.99" | ||
composer install | ||
terminus auth login --machine-token=$TERMINUS_TOKEN | ||
git clone --branch master https://github.com/pantheon-systems/terminus.git ~/terminus | ||
cd ~/terminus && composer install | ||
terminus auth:login --machine-token=$TERMINUS_TOKEN | ||
test: | ||
pre: | ||
|