-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(agora): setup all projects when running agora e2e, not just affec…
…ted projects (AG-1623) (#3013)
- Loading branch information
1 parent
1b703e8
commit 0d27def
Showing
2 changed files
with
27 additions
and
1 deletion.
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,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Runs tasks to set up all projects for a particular stack. | ||
# $1 - The stack name, e.g. agora. | ||
|
||
if [ "$#" -ne 1 ]; then | ||
echo "Please pass the stack name as an argument". | ||
exit | ||
fi | ||
|
||
stack="$1" | ||
echo "Running setup tasks for ${stack} projects." | ||
|
||
projects="${1}-*" | ||
|
||
nx run-many --target=create-config --projects="${projects}" | ||
# Projects that can be prepared in parallel | ||
nx run-many --target=prepare --exclude='tag:language:java' --projects="${projects}" | ||
# Java projects must be installed one at a time | ||
nx run-many --target=prepare --exclude='!tag:language:java' --parallel=1 --projects="${projects}" |