Skip to content

Commit 82094d6

Browse files
committed
moved funcs
1 parent c87587c commit 82094d6

2 files changed

Lines changed: 41 additions & 40 deletions

File tree

.evergreen/config.in.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,27 @@ tasks:
970970
args:
971971
- .evergreen/run-search-index-management-tests.sh
972972

973+
- name: log-state
974+
commands:
975+
- command: shell.exec
976+
params:
977+
working_dir: "src"
978+
shell: bash
979+
script: |-
980+
set -o errexit
981+
set -o pipefail
982+
983+
echo "=== Driver state ==="
984+
echo "Current commit:"
985+
git rev-parse HEAD
986+
echo
987+
echo "Current branch / status:"
988+
git status --short --branch || true
989+
echo
990+
echo "npm ls (full):"
991+
npm ls
992+
echo "=== end log state ==="
993+
973994
- name: test-bson-latest-server-7.0.0
974995
tags:
975996
- "bson-compat"
@@ -992,26 +1013,6 @@ tasks:
9921013
- func: log-state
9931014
- func: run unit tests
9941015

995-
- name: log-state
996-
commands:
997-
- command: shell.exec
998-
params:
999-
working_dir: "src"
1000-
shell: bash
1001-
script: |-
1002-
set -o errexit
1003-
set -o pipefail
1004-
1005-
echo "=== Driver state ==="
1006-
echo "Current commit:"
1007-
git rev-parse HEAD
1008-
echo
1009-
echo "Current branch / status:"
1010-
git status --short --branch || true
1011-
echo
1012-
echo "npm ls (full):"
1013-
npm ls
1014-
echo "=== end log state ==="
10151016
task_groups:
10161017
- name: test_gcpkms_task_group
10171018
setup_group_can_fail_task: true

.evergreen/config.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,26 @@ tasks:
895895
add_expansions_to_env: true
896896
args:
897897
- .evergreen/run-search-index-management-tests.sh
898+
- name: log-state
899+
commands:
900+
- command: shell.exec
901+
params:
902+
working_dir: src
903+
shell: bash
904+
script: |-
905+
set -o errexit
906+
set -o pipefail
907+
908+
echo "=== Driver state ==="
909+
echo "Current commit:"
910+
git rev-parse HEAD
911+
echo
912+
echo "Current branch / status:"
913+
git status --short --branch || true
914+
echo
915+
echo "npm ls (full):"
916+
npm ls
917+
echo "=== end log state ==="
898918
- name: test-bson-latest-server-7.0.0
899919
tags:
900920
- bson-compat
@@ -916,26 +936,6 @@ tasks:
916936
- func: install package
917937
- func: log-state
918938
- func: run unit tests
919-
- name: log-state
920-
commands:
921-
- command: shell.exec
922-
params:
923-
working_dir: src
924-
shell: bash
925-
script: |-
926-
set -o errexit
927-
set -o pipefail
928-
929-
echo "=== Driver state ==="
930-
echo "Current commit:"
931-
git rev-parse HEAD
932-
echo
933-
echo "Current branch / status:"
934-
git status --short --branch || true
935-
echo
936-
echo "npm ls (full):"
937-
npm ls
938-
echo "=== end log state ==="
939939
- name: test-latest-server
940940
tags:
941941
- latest

0 commit comments

Comments
 (0)