-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting script + increase server size (#4653)
- Loading branch information
Showing
3 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# Bash scripts that starts all the workers in the background | ||
# and fails when any of them fails. | ||
# The return code of the first failing worker is returned | ||
# as the return code of this script. | ||
|
||
fail() { | ||
wait -n | ||
exit $? | ||
} | ||
|
||
npm run start:worker -- --workers confluence & | ||
npm run start:worker -- --workers github & | ||
npm run start:worker -- --workers google_drive & | ||
npm run start:worker -- --workers intercom & | ||
# npm run start:worker -- --workers notion & // notion is running on its own pod so no need to run it here | ||
npm run start:worker -- --workers slack & | ||
npm run start:worker -- --workers webcrawler & | ||
|
||
|
||
fail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters