Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Travis fixes #373

Merged
merged 2 commits into from
Jan 18, 2017
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ sudo: false
language: node_js
node_js:
- "0.10"
env:
global:
secure: "15QWA6igmMx1I2YlDrdkxsOi2YJIWNrXmgEtfEoCWR7eJQW2bkUDdzTXYFzxaEPIVMEgO+0pxfGwMWn/9MBhnXCLu9x0f0KqJ/0YfCGXHW21g8J+31zypdiCiw/Ir/dxazP9wpvWFhuqjo9X35zP3Md7TC8u+20uW2Q5KUVyqZM="
before_install:
- openssl aes-256-cbc -K $encrypted_909ac1036a94_key -iv $encrypted_909ac1036a94_iv -in .travis/govuk_frontend_toolkit_push.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
Expand Down
5 changes: 3 additions & 2 deletions .travis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ is the only way we can find that Travis can trigger another job.
In this case, the downstream jobs publish the frontend toolkit to npm
and RubyGems.

The `env.global.secure` in `/.travis.yml` contains a Travis token that
belongs to [@alexmuller](https://github.com/alexmuller) - as far as we
The [Travis settings](https://travis-ci.org/alphagov/govuk_frontend_toolkit/settings)
contains a Travis token that belongs to
[@alexmuller](https://github.com/alexmuller) - as far as we
can tell there's no way to generate one of these that isn't related to
a specific user. This token could be replaced with a generic bot account
if we created one.
2 changes: 2 additions & 0 deletions trigger.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

PAYLOAD='{
"request": {
"branch": "master"
Expand Down