forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove docker_processes from core rspec and selenium test runs
refs DE-467 it is no longer possible to spin up multiple docker containers ona single rspec or selenium agent when running tests. parallelization is now exclusively done through multple rspec processes on a single container. test plan: - setting docker_processes ENV variable has no effect - settting rspec_processes still runs multiple test threads - tests continue to run as expected given that docker_processes has been set to 1 for multiple months. Change-Id: I604d953a71ad220373b6a71d558f46bff29f820e Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/263701 Tested-by: Service Cloud Jenkins <[email protected]> Reviewed-by: James Butters <[email protected]> QA-Review: James Butters <[email protected]> Product-Review: James Butters <[email protected]>
- Loading branch information
Showing
16 changed files
with
23 additions
and
59 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
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 |
---|---|---|
@@ -1,17 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit -o errtrace -o nounset -o pipefail -o xtrace | ||
# ':' is a bash "no-op" and then we pass an empty argument which isn't used | ||
parallel --will-cite ::: : | ||
|
||
PROCESSES=$((${DOCKER_PROCESSES:=1}-1)) | ||
|
||
docker-compose build | ||
|
||
seq 0 $PROCESSES | parallel "docker-compose --project-name canvas-lms{} up -d" | ||
docker-compose up -d | ||
|
||
for service in cassandra:9160 dynamodb:8000 redis:6379; do | ||
seq 0 $PROCESSES | parallel "docker-compose --project-name canvas-lms{} exec -T canvas ./build/new-jenkins/wait-for-it ${service}" | ||
docker-compose exec -T canvas ./build/new-jenkins/wait-for-it ${service} | ||
done | ||
|
||
seq 0 $PROCESSES | parallel "docker-compose --project-name canvas-lms{} exec -T postgres /bin/bash -c /wait-for-it" | ||
docker-compose exec -T postgres /bin/bash -c /wait-for-it |
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
build/new-jenkins/docker-compose-setup-cassandra-keyspaces.sh
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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