Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 70847b9

Browse files
mikemadison13grasmash
authored andcommitted
BLT-794: updating documentation to work around acquia cloud email sanitization issues (#795)
1 parent 65fb895 commit 70847b9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

readme/ci.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,32 @@ To set up this workflow, you must configure Acquia Cloud, GitHub, and Travis CI
3838

3939
blt ci:travis:init
4040

41-
1. Generate an SSH key locally. E.g.,
41+
1. Generate an SSH key locally for Travis / Build use. (e.g.)
4242

4343
cd ~/.ssh
4444
ssh-keygen -t rsa -b 4096
4545

4646
Do not use a passphrase!
47+
Name this key something different than your normal Acquia Cloud key (e.g. travis)
4748

48-
1. Create a new Acquia Cloud account to be used exclusively as a container for the SSH keys that will grant Travis push access to Acquia Cloud. This can be done by inviting a new team member on the "Teams" tab in Acquia Cloud. You can use an email address like `<email>[email protected]`. The team member must have SSH push access.
49-
1. Login to the new Acquia Cloud account and add the public SSH key from the key pair that was generated in step 1 by visiting `https://accounts.acquia.com/account/[uid]/security`.
49+
1. Login to your Acquia Cloud account and add the public SSH key from the key pair that was generated in step 1 by visiting `https://accounts.acquia.com/account/[uid]/security`.
5050
1. Add the same public SSH key to the "Deployment Keys" section on your project's GitHub settings page, located at `https://github.com/acquia-pso/[project-name]/settings/keys`. **Note: You may not have direct access to these settings if you do not have administrative control over your repository.**
5151
1. Add the _private SSH key_ to your project's Travis CI settings located at `https://magnum.travis-ci.com/acquia-pso/[project-name]/settings`.
5252
1. Add your cloud git repository to the remotes section of your project.yml file:
5353

5454
remotes:
5555
- [email protected]:example.git`
56+
Note: if planning on executing any drush sql-syncs/rsyncs between the cloud and your environment, also add the test/stage server host here and ensure that your account has the senior developer or team lead role (or appropriate custom access in the Acquia Cloud).
5657

5758
1. Add your cloud git repository's server host name to `ssh_known_hosts` in your .travis.yml file. Take care to remove the user name and file name (example.git) and use only the hostname.
5859

5960
addons:
6061
ssh_known_hosts:
6162
- svn-14671.prod.hosting.acquia.com
63+
Note: if planning on executing any drush sql-syncs/rsyncs between the cloud and your environment, also add the test/stage server host here and ensure that your account has the senior developer or team lead role (or appropriate custom access in the Acquia Cloud).
6264

6365
1. Commits or merges to the develop branch on GitHub should now trigger a fully built artifact to be deployed to your specified remotes.
66+
1. **If the build account is removed from the project, the Travis Builds for that project will begin to fail.**
6467

6568
For information on manually deploying your project, read [deploy.md](deploy.md)
6669

@@ -74,7 +77,7 @@ deploy:
7477
skip_cleanup: true
7578
on:
7679
branch: master
77-
80+
7881
- provider: script
7982
script: blt deploy -Ddeploy.commitMsg="Automated commit by Travis CI for Build ${TRAVIS_BUILD_ID}" -Ddeploy.branch="${TRAVIS_BRANCH}-build"
8083
skip_cleanup: true

0 commit comments

Comments
 (0)