Commit Graph

1459 Commits

Author SHA1 Message Date
Michael Bleigh
907182c628 Convert hashcache and uploader to TS (WIP) 2018-11-06 09:51:20 -08:00
Michael Bleigh
16c511425f Convert queue.js to TypeScript (#1000)
* Convert queue.js to TypeScript

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/deploy/hosting/uploader.js

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Address comments.
2018-11-06 08:20:44 -08:00
Bryan Kendall
645483aaf2 Hosting Functional Test; OAuth Scopes Fix (#998)
- add hosting functional test
- fix authenticating with GOOGLE_APPLICATION_CREDENTIALS
2018-11-05 15:16:42 -08:00
Bryan Kendall
5ba5231d37 Merge remote-tracking branch 'public/master' into bk-hosting-test 2018-11-05 15:04:49 -08:00
Qinmao Zhang
eee904b553 refactor queue.js so retryCount is per task (#988)
* refactor queue.js so retryCount is per task

* Add tests for queue; allow custom backoff

* add sinon types

* add test for two tasks having separate retry count

* added a couple of more tests

* added more asertions

* tests about taskName

* handle comments

* use callCountMap for testing concurrency
2018-11-05 13:57:08 -08:00
Bryan Kendall
4f733e5dd2 add ignore for generated files during testing 2018-11-05 11:59:07 -08:00
Bryan Kendall
85e663b60a fix env string 2018-11-05 11:43:48 -08:00
Bryan Kendall
6c69a88de1 move decrypt 2018-11-05 11:39:52 -08:00
Bryan Kendall
f372a5292f unbreak 2018-11-05 11:08:15 -08:00
Bryan Kendall
3b3d423fbc break 2018-11-05 11:02:54 -08:00
Bryan Kendall
6f3c3c7522 stop being verbose 2018-11-05 10:40:16 -08:00
Bryan Kendall
7c09fc91ea skip after_script 2018-11-05 09:12:50 -08:00
Bryan Kendall
acdb659119 print out commands in script 2018-11-05 08:55:29 -08:00
Bryan Kendall
784edca4d2 add job for running hosting test 2018-11-05 08:55:17 -08:00
Bryan Kendall
1b8a08f1d5 add fixes for local testing 2018-11-02 12:31:10 -07:00
Bryan Kendall
08fbd0e947 export GAC 2018-11-02 12:17:44 -07:00
Bryan Kendall
eeb6259fe2 remove stop 2018-11-02 12:08:05 -07:00
Bryan Kendall
9a0e14c8d8 adding fail-safes to decrypting 2018-11-02 12:05:10 -07:00
Bryan Kendall
56e38f768c add new script for testing hosting 2018-11-02 11:58:55 -07:00
Bryan Kendall
0fddfb3d02 remove gulp; fix test linting (#992) 2018-11-01 15:54:10 -07:00
Firebase Operations
63ae64a2e3 [firebase-release] Removed change log and reset repo after 6.0.1 release 2018-11-01 19:02:23 +00:00
Firebase Operations
761b3989f2 [firebase-release] Updated CLI to 6.0.1 v6.0.1 2018-11-01 19:01:59 +00:00
Michael Bleigh
137e28e8ac Changelog for v6.0.1 (#990) 2018-11-01 11:58:36 -07:00
Bryan Kendall
5482a3ae6d Merge remote-tracking branch 'origin/master' 2018-11-01 11:49:19 -07:00
Michael Bleigh
a0fd4099b6 Allow for timeouts on api.request (#989) 2018-11-01 11:26:53 -07:00
Ryan Brewster
8348351f57 Merge pull request #985 from firebase/rpb/force-en-workaround
Workaround for lack of foreign language support in Firestore emulator
2018-11-01 10:59:50 -07:00
Ryan P. Brewster
581c81e482 ugh formatter versions 2018-11-01 10:54:16 -07:00
Ryan P. Brewster
8407c66d38 also database 2018-11-01 10:42:45 -07:00
Ryan P. Brewster
2c66f56a06 format 2018-11-01 10:34:28 -07:00
Ryan P. Brewster
4c7629d815 Workaround for lack of foreign language support in Firestore emulator 2018-10-31 18:23:46 -07:00
Bryan Kendall
aa027a4900 fsutils -> Typescript (#978)
* typescript fsutils, fix coverage reporting

* use default parameter in listfiles
2018-10-31 11:53:22 -07:00
Tony Meng
7458820e51 Allow emulators to be ran without firebase env (#342)
* Allow emulators to be ran without firebase env

* Cleanup

* Cleanup
2018-10-29 11:54:54 -07:00
Bryan Kendall
b18c44c8d1 Readme, coverage, testing (#975)
* clean up readme badges

* pin 10, remove stable

* fix coveralls reporting
2018-10-25 21:23:03 -07:00
Bryan Kendall
effe27e801 pass working directory through to the uploader (#976)
fixes #961
2018-10-25 21:22:44 -07:00
Michael Bleigh
b0b197eecc Filter out falsy projects. Fixes #960 (#974) 2018-10-25 20:00:59 -07:00
Michael Bleigh
8bdaa9e127 Pour one out for the fire emoji banner. (#973) 2018-10-25 18:11:19 -07:00
Firebase Operations
d8834f9847 [firebase-release] Removed change log and reset repo after 6.0.0 release 2018-10-25 23:30:39 +00:00
Firebase Operations
4c80ae09d6 [firebase-release] Updated CLI to 6.0.0 v6.0.0 2018-10-25 23:30:18 +00:00
Bryan Kendall
440188cce1 adding release notes for v6.0.0 (#971) 2018-10-25 16:26:21 -07:00
Bryan Kendall
78f11b62ab Master Sync 10/25 (#970)
* Add emulator:run

* Cleanup

* Download emulators if needed

* Cleanup

* Remove unused dep

* Use CACHE_DIR

* Allow FIREBASE_EMULATORS_PATH to override the cache dir

* Format

* Simplify emulator remote storage

* Use fs-extra

* Hide emulator:run behind preview

* Cleanup

* Fix URL

* Remove old commands

* Point at real artifacts

* make emulators executable after downloading

* Allow --yes flag for emulator

* Prompt for emulator download

* Linter

* Emulator CLI per API Review (#318)

* Emulator CLI per API Review

* Cleanup

* Address comments

* Linter

* Add a useful error message for when the emulator cannot start because… (#329)

* Add a useful error message for when the emulator cannot start because Java is not installed

* linter

* action item

* Add start time to profiler dump (#323)

* Set emulator version for initial release (#336)

* Typescript (#338)

* The path structure layout seems like it changed (#341)

* The path structure layout seems like it changed

* Update src/auth.js

Co-Authored-By: ryanpbrewster <RyanPBrewster@gmail.com>

* Update functions init templates to v2.1.0 (#969) (#343)
2018-10-25 16:19:35 -07:00
Bryan Kendall
9153b82060 Update functions init templates to v2.1.0 (#969) (#343) 2018-10-25 16:07:46 -07:00
Kevin Jian
8b54e70bc4 Update functions init templates to v2.1.0 (#969) 2018-10-25 15:56:15 -07:00
Ryan Brewster
ac067e62e9 The path structure layout seems like it changed (#341)
* The path structure layout seems like it changed

* Update src/auth.js

Co-Authored-By: ryanpbrewster <RyanPBrewster@gmail.com>
2018-10-25 12:30:20 -07:00
Bryan Kendall
7a518f68a3 Typescript (#338) 2018-10-25 11:50:12 -07:00
Michael Bleigh
581ba746a4 Merge branch 'master' of github.com:firebase/firebase-tools 2018-10-25 18:01:36 +00:00
Wilfred van der Deijl
0200ac9ee1 Do not initialize an RTDB ref on database:push return. (#963) 2018-10-25 09:10:49 -07:00
Wilfred van der Deijl
724871f002 wait for write to complete (#964)
fixes #706
fixes #675
fixes #267
2018-10-25 09:05:31 -07:00
Michael Bleigh
97438f6847 Merge branch 'master' of github.com:firebase/firebase-tools 2018-10-24 16:36:13 -07:00
Tony Meng
103cb62d8f Set emulator version for initial release (#336) 2018-10-24 14:01:34 -07:00
Tony Meng
2c9351e6c6 Add start time to profiler dump (#323) 2018-10-22 23:12:12 -07:00