Commit graph

39 commits

Author SHA1 Message Date
Matthew Taylor
b584bb80e7 Upgrade compatibility to node 8
This fixes an issue in compilation by upgrading node-sass to v4.6, and also upgrades express in the process.

Callback added to `writeFile` in `get-localized-urls` in order to avoid a deprecation warning during `make translations`.
2017-11-15 13:28:10 -05:00
Ray Schamp
84a37a671f Remove SmartyStreets API
We are so lax with this that it's not actually helping us, and we don't have a plan with them anymore.
2017-07-13 10:44:50 -04:00
chrisgarrity
df15cb9dfb Install c++ compiler to build native extensions (#1360)
The ubuntu image that we’re using doesn’t include a C++11 compliant compiler. Followed Travis instructions to install a compiler:
https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
2017-06-21 13:08:11 -04:00
Ray Schamp
70188cfb03 Set up SCRATCH_ENV for staging 2016-07-28 13:59:23 -04:00
Ray Schamp
cfa85427b1 Add address validation 2016-06-14 17:29:30 -04:00
Ray Schamp
7bd5f8f6c9 Cache pip 2016-05-13 15:33:46 -04:00
Ray Schamp
0f33ec836c Use published version of po2icu
Version 0.0.2 has i18next-conv 2.2.5 which uses iconv-lite rather than iconv. So this means we don't have to patch gcc.
2016-05-13 15:33:46 -04:00
Ray Schamp
dfac0380db Install devDependencies 2016-05-13 15:33:46 -04:00
Ray Schamp
12447823f2 Fix defaults for fastly and analytics 2016-05-02 14:53:19 -04:00
Ray Schamp
3833c07518 Define all environment variables by branch name 2016-05-02 13:44:55 -04:00
Ray Schamp
e48b04f907 Add missing env variables needed for build 2016-05-02 11:57:46 -04:00
Ray Schamp
dd1c2c1627 Use s3cmd to sync with S3 2016-04-29 15:52:15 -04:00
Ray Schamp
8370a9d86c Fix double = 2016-04-28 15:55:08 -04:00
Ray Schamp
669a8c9ae3 Mark version with webpack 2016-04-28 15:40:50 -04:00
Ray Schamp
39be1b2085 Prepend env to avoid error 127, remove s3 branch
Using env provides the environment needed by the script provider to run make.

Removing s3 branch from the staging deployment list so that this is ready to merge.
2016-04-21 09:50:17 -04:00
Ray Schamp
5cd3998c1c Use after_success for deployment
The script provider seems to be unusable right now: https://github.com/travis-ci/travis-ci/issues/5538
2016-04-20 09:47:55 -04:00
Ray Schamp
ff70324fb5 Use s3 module to deploy to S3 2016-04-19 16:35:51 -04:00
Ray Schamp
de5f36b649 Add script for configuring Fastly for S3
* Builds the Pass condition based on the static directory and view routes.
* Updates Fastly with new header and conditions based on the view routes.
* Uses a nice module for interacting with fastly :)

Needs some major cleanup but it works. Hopefully Travis will work too.
2016-04-15 19:42:57 -04:00
Ray Schamp
c8c681f8c0 Use S3 to deploy
Temporarily deploy s3 branch to staging
2016-04-14 16:22:13 -04:00
Andrew Sliwinski
f23ada9264 Swap environments for CD. Resolves GH-351 2016-03-03 09:57:41 -05:00
Andrew Sliwinski
834327a96a Patch GCC for travis image for Node 4.X. Re GH-351 2016-03-02 11:17:19 -05:00
Andrew Sliwinski
7faf2aa8c2 Update travis to use Node 4.2.X LTS. Re GH-351 2016-03-02 10:01:08 -05:00
Matthew Taylor
9dc4195bbf add key again 2016-02-23 08:48:19 -05:00
Matthew Taylor
ab6bdfbd6a Add new keys 2016-02-23 08:39:44 -05:00
Matthew Taylor
e294b68b77 Revert "Attempt to fix travis deployment"
This reverts commit 7488715b9a.
2016-02-22 09:07:25 -05:00
Matthew Taylor
7488715b9a Attempt to fix travis deployment
It seems to not like underscores anymore.
2016-02-18 15:54:03 -05:00
Ray Schamp
478fb499a7 Deploy hotfix and release branches to staging 2016-01-22 11:55:49 -05:00
Ray Schamp
d7112d7a29 Truncate commit SHA and use it for BUILD_ARCHIVE 2015-11-02 17:52:30 -05:00
Ray Schamp
e639470a58 Try to get nicer EB labels/archive names
Also using this to test Fastly purging
2015-11-02 17:13:29 -05:00
Andrew Sliwinski
b466e53a8a Align fastly and elastic beanstalk deployments 2015-10-29 18:53:37 -04:00
Ray Schamp
d86c72a084 Switch branches for staging/production
This is a temporary change for the transition to the new production cluster. It should be reverted when we are using production as production (not staging)
2015-10-29 13:47:41 -04:00
Ray Schamp
102a220c21 Zip it, zip 2015-10-29 13:36:12 -04:00
Ray Schamp
036e4d53ee Zip the directory, not nothing 2015-10-29 13:14:18 -04:00
Ray Schamp
6bc767dc15 Use the Travis build artifact for deployment 2015-10-29 13:04:42 -04:00
Ray Schamp
d98dd56d7e Point master at production 2015-10-29 12:21:10 -04:00
Ray Schamp
fbd2ebd3d4 Deploy from Travis 2015-10-23 12:11:03 -04:00
Ray Schamp
bf907af53b Add Slack integration to Travis 2015-09-02 18:00:24 -04:00
Andrew Sliwinski
79dce3f711 Clean-up travis config and demo code 2015-09-02 13:33:31 -07:00
Andrew Sliwinski
fa4fce1b1c Initial commit 2015-09-02 12:08:58 -07:00