Skip to content

Commit 0159641

Browse files
committed
start compass-mongodb-com as a docker image before we run the smoketests
1 parent a8b393f commit 0159641

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.evergreen/buildvariants-and-tasks.in.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ tasks:
482482
- func: bootstrap
483483
vars:
484484
scope: 'compass-e2e-tests'
485-
- func: get-compass-mongodb-com
485+
- func: spawn-compass-mongodb-com
486486
- func: smoketest-packaged-app
487487
vars:
488488
mongodb_version: latest-enterprise

.evergreen/buildvariants-and-tasks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ tasks:
498498
- func: bootstrap
499499
vars:
500500
scope: compass-e2e-tests
501-
- func: get-compass-mongodb-com
501+
- func: spawn-compass-mongodb-com
502502
- func: smoketest-packaged-app
503503
vars:
504504
mongodb_version: latest-enterprise

.evergreen/functions.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ functions:
651651
652652
npm run --unsafe-perm --workspace compass-e2e-tests test-packaged-ci
653653
654-
get-compass-mongodb-com:
654+
spawn-compass-mongodb-com:
655655
- command: git.get_project
656656
type: system
657657
params:
@@ -664,16 +664,8 @@ functions:
664664
script: |
665665
set -e
666666
667-
echo "Using node version:";
668-
node -v;
669-
echo "Using npm version:";
670-
npm -v;
671-
echo "Using gcc version:"
672-
gcc --version;
673-
echo "Using g++ version:"
674-
g++ --version;
675-
676-
npm i
667+
docker build -t compass/web ./
668+
docker run -p 8080:8080 -t -e PORT=8080 -e UPDATE_CHECKER_ALLOW_DOWNGRADES=true -d compass/web
677669
678670
smoketest-packaged-app:
679671
- command: shell.exec

0 commit comments

Comments
 (0)