Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Explain where to get the magic values #161

Merged
merged 1 commit into from
Aug 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,33 @@ deploy:
on:
branch: master
condition: $TRAVIS_PULL_REQUEST = "false"

# Instructions for getting the magic numbers which appear above:
#
# For the openssl command in the before_install step, follow the directions at
# https://github.com/laurilehmijoki/cf-s3-invalidator to create a
# `_cf_s3_invalidator.yml` file. The aws_key and aws_secret come from the
# Travis account's IAM credentials, which you can get from
# https://console.aws.amazon.com/iam/home?region=us-west-1#users if you're
# logged in as someone with the appropriate permissions. The
# cloudfront_distribution_id is listed in the ID field of the distribution for
# www-rust-lang-org on the console at
# https://console.aws.amazon.com/cloudfront/home?region=us-west-1.
#
# Encryption uses the Travis CLI, so
#
# $ gem install travis
#
# After populating the _cf_s3_invalidator.yml file, encrypt and add it:
#
# $ travis encrypt-file -r rust-lang/rust-www _cf_s3_invalidator.yml
# $ git add _cf_s3_invalidator.yml.enc
# $ rm _cf_s3_invalidator.yml
#
# To encrypt the secret_access_key for the deploy step, use the Travis AWS
# account's credentials as specified above. Then encrypt the single variable:
#
# $ travis encrypt -r rust-lang/rust-www "abc123"
#
# The output of that command will contain a `secure: "7890wxyzPQR"` line which
# you then add to `.travis.yml`.