Commit Graph

108 Commits

Author SHA1 Message Date
Whymarrh Whitby 00906937a1 ci: Use workspaces instead of caches for passing data downstream
CircleCI no longer allows external PR builds to save caches so jobs
that depend on cached data from a upstream job will no longer get
the files they need. This change replaces our usages of caches for
passing data downstream with workspaces, which appear to be the more
correct feature to use.

References:

- https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
- https://circleci.com/blog/deep-diving-into-circleci-workspaces/
2018-08-17 19:50:58 -02:30
Whymarrh Whitby 8f834ed87d ci: Install any npm@6 2018-08-17 18:51:02 -02:30
Whymarrh Whitby 2185197ef6 ci: Use Firefox 61.0.2 2018-08-17 18:41:12 -02:30
Whymarrh Whitby 7b89d3d473 ci: Disable Firefox updates 2018-08-17 18:41:12 -02:30
Whymarrh Whitby e493efb123 ci: Don't cache Firefox install
Two important notes:

1. The time it takes to download is negligble compared to e2e test runs
2. Since we cannot use environment variables in CircleCI cache keys we
   can't cache the download correctly and have it update when we switch
   firefox versions—this isn't the end of the world because of point 1
2018-08-17 18:41:12 -02:30
brunobar79 f63a92aa18 test npm i --no-save 2018-07-21 13:47:10 -04:00
brunobar79 54c93df3b8 test npm ci 2018-07-21 13:36:12 -04:00
brunobar79 b1cfe52f07 bump cache version 2018-07-21 12:59:22 -04:00
brunobar79 cde91fac16 added node version requirements 2018-07-21 12:43:35 -04:00
bitpshr d85fc246c5 Revert package-lock changes 2018-07-19 08:11:09 -04:00
bitpshr a319c8ce42 Version Circle cache keys for easy flushing 2018-07-19 08:04:17 -04:00
Bruno Barbieri 573659c863
Added missing step 2018-07-06 17:32:06 -04:00
Bruno Barbieri 8de2b3b1b0
dont cache what's already cached 2018-07-06 17:16:28 -04:00
Bruno Barbieri ae1c8b854f
Firefox tests fix 2018-07-06 17:13:54 -04:00
Bruno Barbieri 104c4674da
Update firefox version 2018-07-06 16:53:53 -04:00
Bruno Barbieri b90ec2a901
lets cache firefox 61 2018-07-06 16:49:50 -04:00
Bruno Barbieri 759b5b20ec
Forgot this is linux bash 2018-07-06 16:48:17 -04:00
Bruno Barbieri a1e7b51ef0
Update config.yml 2018-07-06 16:45:24 -04:00
Bruno Barbieri dd21d29b2b
Update config.yml 2018-07-06 16:44:27 -04:00
Bruno Barbieri 32813b23a2
Update firefox-download.sh 2018-07-06 16:44:06 -04:00
Bruno Barbieri ca17cfbc65
Fix indentation 2018-07-06 16:36:01 -04:00
Bruno Barbieri 79011dbc59
Firefox cache working properly 2018-07-06 16:33:39 -04:00
Bruno Barbieri 48dbe30217
oops 2018-07-06 16:31:03 -04:00
Bruno Barbieri 8d72ae81c9
tmp commit to force firefox update 2018-07-06 16:29:43 -04:00
Bruno Barbieri e0719a0358
Update firefox-download.sh 2018-07-06 16:16:18 -04:00
Bruno Barbieri cdd556fb27
Add firefox binary to cache path 2018-07-06 15:58:07 -04:00
Bruno Barbieri 0af1702a3f
Allow firefox binary to be cached 2018-07-06 15:51:35 -04:00
Bruno Barbieri 5b58c2acb4
Update config.yml to allow firefox download caching 2018-07-06 15:50:57 -04:00
Bruno Barbieri 24b0e6a4f8
Final approach 2018-07-06 15:33:53 -04:00
Bruno Barbieri 8733982d7e
Fix indentation again 2018-07-06 15:28:46 -04:00
Bruno Barbieri f8c23d2bf9
Fix indentation 2018-07-06 15:26:33 -04:00
Bruno Barbieri af04ca59e9
Run npm install only when needed 2018-07-06 15:26:06 -04:00
Bruno Barbieri d9c78fc645
simpler approach 2018-07-06 15:15:23 -04:00
Bruno Barbieri a875caa20c
Fallback to using the latest cache if no exact match is found 2018-07-06 14:48:39 -04:00
Bruno Barbieri c567a4b8f3
Check for changes on package-lock.json and exit with error 2018-07-06 14:38:01 -04:00
Bruno Barbieri 38e54af093
try npm install instead of npm ci 2018-07-06 00:54:21 -04:00
Bruno Barbieri 0f2a5ece48
Update config.yml 2018-07-06 00:38:13 -04:00
Bruno Barbieri e29804224a
Fix indentation 2018-07-06 00:33:19 -04:00
Bruno Barbieri ca09a0be83
Update config.yml 2018-07-06 00:32:12 -04:00
Bruno Barbieri 9ca9e90e4c
Update config.yml 2018-07-06 00:22:40 -04:00
Bruno Barbieri 65a349dd30
Update config.yml 2018-07-06 00:21:04 -04:00
Bruno Barbieri 76912c8a0d
use sudo to install npm 2018-07-06 00:15:29 -04:00
Bruno Barbieri 1387f1c8c2
Another update 2018-07-06 00:14:33 -04:00
Bruno Barbieri 816b3a9d11
use package-lock only for the initial restore 2018-07-05 23:26:12 -04:00
Bruno Barbieri 170d05d2e6
Proper caching of node_modules 2018-07-05 22:11:58 -04:00
Bruno Barbieri 4c86f25f5b npm 6 fresh lock + node 8 (#4675)
* run npm install with npm 6 and node 8
* npm audit fix --force
* bump node version on circleci docker img
* bump lodash
2018-07-02 10:30:56 -07:00
kumavis 1e6ff597e2 ci - breakout firefox helpers into scripts 2018-06-01 12:16:14 -07:00
kumavis 6d4e4b8157 ci - run e2e:beta tests 2018-06-01 12:16:14 -07:00
kumavis 7a65c22a02
Merge branch 'develop' into ci-publish-release 2018-05-21 14:58:37 -07:00
kumavis 77b4a9f82c
CI - remove node security test as blocker for builds 2018-05-21 10:58:58 -07:00