Commit Graph

75 Commits

Author SHA1 Message Date
Brian Mann
a95e5f1a45 root: move common .eslint to root, remove duplicates 2017-08-29 14:45:55 -04:00
Chris Breiding
2f03e3b19d add eslintrc for scripts 2017-08-23 13:00:35 -04:00
Gleb Bahmutov
c90d99e11c binary: use @cypress/questions-remain 2017-07-11 11:40:22 -04:00
Gleb Bahmutov
a364607b6b Issue 281 - add @packages/root (#282)
* link: create fake @packages/root

* server: switch to loading @packages/root

* server: update tests after using @packages/root

* load root package in other places

* load root package in build using @packages/root

* update tests that mock root package

* server: fix server start whenever loading root package in updater

* fix updater test

* uncomment code
2017-07-10 10:07:52 -04:00
Jennifer Shehane
9216f6a630 rearranged bg colors for build process so that bgYellow is slated later. 2017-07-07 16:32:07 -04:00
Gleb Bahmutov
56c4757c06 scripts: shorter prefixed list of filtered packages 2017-07-06 12:59:58 -04:00
Gleb Bahmutov
f0832a34f3 proxy: proxy browser field in the packages for #277 (#279) 2017-07-06 12:13:49 -04:00
Gleb Bahmutov
1610fa5eeb binary: allow mac alias to darwin 2017-07-06 09:55:16 -04:00
Gleb Bahmutov
328b4d8221 upload: check zip file exists before trying to upload 2017-07-06 09:48:24 -04:00
Gleb Bahmutov
4b7f3d0a4b binary: make sure to purge renamed cypress.zip url 2017-07-05 15:11:07 -04:00
Gleb Bahmutov
f76aef19c2 binary: when uploading, make sure to upload as cypress.zip 2017-07-05 14:23:41 -04:00
Gleb Bahmutov
7f8f85878e scripts: update path to support folder 2017-07-05 12:20:10 -04:00
Gleb Bahmutov
8a1222657e rebuild and lint 2017-07-05 11:27:10 -04:00
Gleb Bahmutov
de305db260 Build app for both platforms (#249)
* binary: check platform, throw exception on mismatch

* binary: build script actually builds linux platform app

* zip from Mac both linux and darwin apps

* quiet npm installs during builds
2017-06-30 16:50:05 -04:00
Gleb Bahmutov
54384d1dba Sign Mac app - issue 240 (#247)
* binary: sign Mac app, close #240

* checking the app signing

* binary: successfully signed Mac app
2017-06-30 14:44:08 -04:00
Gleb Bahmutov
c7fafe2456 binary: move support folder into scripts/binary to avoid wide ignore 2017-06-30 14:06:27 -04:00
Gleb Bahmutov
1439976ac9 Proxy packages instead of symlinks (#245)
* all: replace symlinks with proxy modules

* replacing symlinking with copying proxy packages

* https-proxy: add missing prod dependency lodash

* put actual path to main for each package proxy

* better console log

* driver: include index.js in published files

* https-proxy was missing debug production dependency

* app built with proxied packages works

* delete existing node_modules/@packages before making proxies

* explicit async fs call

* server: remove deep paths in tests

* driver: remove nested path to @packages

* link: ensure each package has main set
2017-06-30 11:33:09 -04:00
Gleb Bahmutov
bf7b2cd673 symlink relative paths 2017-06-29 18:07:48 -04:00
Gleb Bahmutov
f33aeabfa0 binary: add CLI option to skip cleaning output dist folder 2017-06-29 16:07:49 -04:00
Gleb Bahmutov
0951cf00d7 binary: default platform on linux is linux 2017-06-29 15:04:50 -04:00
Gleb Bahmutov
25c6bee630 build: fix missing argument 2017-06-29 15:00:01 -04:00
Gleb Bahmutov
d2600f41d8 merged renames 2017-06-29 14:50:08 -04:00
Gleb Bahmutov
bba4332e8d Issue 224: building, zipping and uploading binary (#234)
* server: remove obsolete desktop types

* server: ensure project path generated by tests is ignored

* driver: remove unused gulp deps

* deploy: refactored to simplify uploading binary to S3 close #224

* refactored questions to allow asking only some information

* ask for zip file

* use option --zip to pass zip filename

* install cloudflare-cli

* working on making individual binary steps work

* move buildDir and distDir to meta file

* update references

* refactor questions

* Mac binary zipped and installed successfully

* successful builds on both platforms, upload and install

* refactor combined step deploy function

* add building binary on linux to CircleCI

* install root deps only

* fine, make build binary depend on main build

* server: fix app data path

* name binary using SHA

* server: unskip test concerning productName

* build binary with serial mode

* driver: improve visibility algorithm

* server: add some logging around browser launching

* docs: update cy.trigger position option - fixes #108

* desktop: fix invalid dom nesting

* docs: Add FAQ question about 'how to test file download'

* desktop: fix un-returned promise warning when logging in

* rebuild node-sass for current platform automatically (#225)

* uncomment two lines

* desktop: use same dropdown as browsers for user menu

* desktop: simplify build scripts, remove unused deps

* readme: add docker cypress/base image badge

* fix typo in readme

* deploy: refactored to simplify uploading binary to S3 close #224

* refactored questions to allow asking only some information

* ask for zip file

* use option --zip to pass zip filename

* install cloudflare-cli

* working on making individual binary steps work

* move buildDir and distDir to meta file

* update references

* refactor questions

* Mac binary zipped and installed successfully

* successful builds on both platforms, upload and install

* refactor combined step deploy function

* add building binary on linux to CircleCI

* install root deps only

* fine, make build binary depend on main build

* name binary using SHA

* build binary with serial mode

* uncomment two lines

* print build linux folder on CI
2017-06-29 14:29:56 -04:00
Brian Mann
be211af10e deploy: rename deploy -> binary folder 2017-06-29 14:06:45 -04:00
Brian Mann
93ba23fe2f deploy: use Promise.reduce 2017-06-29 14:05:35 -04:00
Brian Mann
7e0b4f0e98 deploy: rename deploy.js -> binary.js 2017-06-29 14:05:23 -04:00
Brian Mann
6603238edb deploy: partial in args 2017-06-29 14:05:03 -04:00
Brian Mann
edc7026574 deploy: functional questions 2017-06-29 14:04:42 -04:00
Gleb Bahmutov
6d1c4ecf21 uncomment two lines 2017-06-29 12:04:47 -04:00
Gleb Bahmutov
e64147d5eb build binary with serial mode 2017-06-29 12:04:47 -04:00
Gleb Bahmutov
6d6c65cdf8 refactor combined step deploy function 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
cf95c01679 successful builds on both platforms, upload and install 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
87f839c6cb Mac binary zipped and installed successfully 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
b79405145e refactor questions 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
8e4d648822 update references 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
1a8c308b6a move buildDir and distDir to meta file 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
dd0dca3fa1 working on making individual binary steps work 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
81d6bb3028 install cloudflare-cli 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
381f0a6d9e use option --zip to pass zip filename 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
1c10ec9ded ask for zip file 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
8730634d69 refactored questions to allow asking only some information 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
9696466b5d deploy: refactored to simplify uploading binary to S3 close #224 2017-06-29 12:04:46 -04:00
Gleb Bahmutov
d9fc7f68a5 working on binary zip and unzip (#222)
* working on binary zip and unzip

* ignore support folder
2017-06-27 09:40:10 -04:00
Gleb Bahmutov
1638260656 Build Linux Cypress in Docker for #217 (#220)
* deploy: working on linux build via Docker for #217

* reworking deploy links

* include register files from coffee and ts

* smoke test passes in docker container
2017-06-26 16:15:01 -04:00
Gleb Bahmutov
4fa64014b0 goes all the way to failed verify ping test (#209)
Merge to continue working on zipping / Linux build
2017-06-26 11:34:46 -04:00
Gleb Bahmutov
934f9d6c2f symlink files in dist / app 2017-06-23 16:08:10 -04:00
Gleb Bahmutov
98e0935b9e deploy: remove duplication, try symlink 2017-06-23 15:59:05 -04:00
Gleb Bahmutov
fdf031cf0e Lint coffee files using single tool (#208)
* coffee: merge coffeelinting to the root

* root: lint coffee files in the scripts folder
2017-06-23 15:41:50 -04:00
Brian Mann
a140d0e9e4 Merge branch 'move-deploy-scripts'
# Conflicts:
#	package.json
#	scripts/deploy/build.coffee
#	scripts/deploy/util/packages.coffee
2017-06-23 15:00:47 -04:00
Gleb Bahmutov
7ee72419a4 Issue 203 (#206)
* deploy: convert launcher TS to JS during deploy, close #203

* refactor duplicate functions

* good message when deleting TS files

* uncomment platform and version
2017-06-23 14:32:30 -04:00