Skip to content

Commit d284e20

Browse files
MaciejKarasmircea-cosbuc
authored andcommitted
CLOUDP-295785 - simplify pipeline.sh script and use it for all images
1 parent b478944 commit d284e20

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.evergreen-functions.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ variables:
5151
- BUILD_SCENARIO
5252

5353
functions:
54-
5554
### Setup Functions ###
5655

5756
setup_jq: &setup_jq
@@ -64,7 +63,8 @@ functions:
6463
working_dir: src/github.com/mongodb/mongodb-kubernetes
6564
binary: scripts/evergreen/setup_jq.sh
6665

67-
setup_context: &setup_context # Running the first switch is important to fill the workdir and other important initial env vars
66+
setup_context:
67+
&setup_context # Running the first switch is important to fill the workdir and other important initial env vars
6868
command: shell.exec
6969
type: setup
7070
params:
@@ -491,7 +491,7 @@ functions:
491491
content_type: text/plain
492492
- command: gotest.parse_files
493493
params:
494-
files: [ "src/github.com/mongodb/mongodb-kubernetes/logs/*.suite" ]
494+
files: ["src/github.com/mongodb/mongodb-kubernetes/logs/*.suite"]
495495

496496
preflight_image:
497497
- command: subprocess.exec
@@ -515,9 +515,9 @@ functions:
515515
- command: subprocess.exec
516516
params:
517517
working_dir: src/github.com/mongodb/mongodb-kubernetes
518-
binary: scripts/release/kubectl_mongodb/build_kubectl_plugin.sh
518+
binary: scripts/dev/run_python.sh scripts/release/kubectl-mongodb/python/build_kubectl_plugin.py
519519

520-
download_multi_cluster_binary:
520+
build_and_push_appdb_database:
521521
- command: subprocess.exec
522522
params:
523523
working_dir: src/github.com/mongodb/mongodb-kubernetes
@@ -669,7 +669,11 @@ functions:
669669
make test-race
670670
- command: gotest.parse_files
671671
params:
672-
files: [ "src/github.com/mongodb/mongodb-kubernetes/*.suite", "src/github.com/mongodb/mongodb-kubernetes/docker/mongodb-kubernetes-init-ops-manager/mmsconfiguration/*.suite" ]
672+
files:
673+
[
674+
"src/github.com/mongodb/mongodb-kubernetes/*.suite",
675+
"src/github.com/mongodb/mongodb-kubernetes/docker/mongodb-kubernetes-init-ops-manager/mmsconfiguration/*.suite",
676+
]
673677

674678
test_helm_unit:
675679
- command: shell.exec

0 commit comments

Comments
 (0)