@@ -75,13 +75,13 @@ operator: configure-operator build-and-push-operator-image
75
75
76
76
# build-push, (todo) restart database
77
77
database : aws_login
78
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py database
78
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py database
79
79
80
80
readiness_probe : aws_login
81
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py readiness-probe
81
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py readiness-probe
82
82
83
83
upgrade_hook : aws_login
84
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py upgrade-hook
84
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py upgrade-hook
85
85
86
86
# ensures cluster is up, cleans Kubernetes + OM, build-push-deploy operator,
87
87
# push-deploy database, create secrets, config map, resources etc
@@ -90,7 +90,7 @@ full: build-and-push-images
90
90
91
91
# build-push appdb image
92
92
appdb : aws_login
93
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py --include appdb
93
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py --include appdb
94
94
95
95
# runs the e2e test: make e2e test=e2e_sharded_cluster_pv. The Operator is redeployed before the test, the namespace is cleaned.
96
96
# The e2e test image is built and pushed together with all main ones (operator, database, init containers)
@@ -112,7 +112,7 @@ mco-e2e: aws_login build-and-push-mco-test-image
112
112
113
113
generate-env-file : # # generates a local-test.env for local testing
114
114
mkdir -p .generated
115
- { scripts/evergreen /run_python.sh mongodb-community-operator/scripts/dev/get_e2e_env_vars.py " .generated/config.json" | tee >( cut -d' ' -f2 > .generated/mco-test.env) ; } > .generated/mco-test.export.env
115
+ { scripts/dev /run_python.sh mongodb-community-operator/scripts/dev/get_e2e_env_vars.py " .generated/config.json" | tee >( cut -d' ' -f2 > .generated/mco-test.env) ; } > .generated/mco-test.export.env
116
116
. .generated/mco-test.export.env
117
117
118
118
reset-helm-leftovers : # # sometimes you didn't cleanly uninstall a helm release, this cleans the existing helm artifacts
@@ -154,19 +154,19 @@ aws_cleanup:
154
154
@ scripts/evergreen/prepare_aws.sh
155
155
156
156
build-and-push-operator-image : aws_login
157
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py operator
157
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py operator
158
158
159
159
build-and-push-database-image : aws_login
160
160
@ scripts/dev/build_push_database_image
161
161
162
162
build-and-push-test-image : aws_login build-multi-cluster-binary
163
163
@ if [[ -z " $( local) " ]]; then \
164
- scripts/evergreen /run_python.sh scripts/release/pipeline_main.py test ; \
164
+ scripts/dev /run_python.sh scripts/release/pipeline_main.py test ; \
165
165
fi
166
166
167
167
build-and-push-mco-test-image : aws_login
168
168
@ if [[ -z " $( local) " ]]; then \
169
- scripts/evergreen /run_python.sh scripts/release/pipeline_main.py mco-test; \
169
+ scripts/dev /run_python.sh scripts/release/pipeline_main.py mco-test; \
170
170
fi
171
171
172
172
build-multi-cluster-binary :
@@ -181,27 +181,27 @@ build-and-push-images: build-and-push-operator-image appdb-init-image om-init-im
181
181
build-and-push-init-images : appdb-init-image om-init-image database-init-image
182
182
183
183
database-init-image :
184
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.puy init-database
184
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.puy init-database
185
185
186
186
appdb-init-image :
187
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py init-appdb
187
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py init-appdb
188
188
189
189
# Not setting a parallel-factor will default to 0 which will lead to using all CPUs, that can cause docker to die.
190
190
# Here we are defaulting to 6, a higher value might work for you.
191
191
agent-image :
192
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py --parallel --parallel-factor 6 agent
192
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py --parallel --parallel-factor 6 agent
193
193
194
194
agent-image-slow :
195
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py --parallel-factor 1 agent
195
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py --parallel-factor 1 agent
196
196
197
197
operator-image :
198
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py operator
198
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py operator
199
199
200
200
om-init-image :
201
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py init-ops-manager
201
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py init-ops-manager
202
202
203
203
om-image :
204
- @ scripts/evergreen /run_python.sh scripts/release/pipeline_main.py ops-manager
204
+ @ scripts/dev /run_python.sh scripts/release/pipeline_main.py ops-manager
205
205
206
206
configure-operator :
207
207
@ scripts/dev/configure_operator.sh
@@ -284,16 +284,16 @@ golang-tests-race:
284
284
USE_RACE=true scripts/evergreen/unit-tests.sh
285
285
286
286
sbom-tests :
287
- @ scripts/evergreen /run_python.sh -m pytest generate_ssdlc_report_test.py
287
+ @ scripts/dev /run_python.sh -m pytest generate_ssdlc_report_test.py
288
288
289
289
# e2e tests are also in python and we will need to ignore them as they are in the docker/mongodb-kubernetes-tests folder
290
290
# additionally, we have one lib which we want to test which is in the =docker/mongodb-kubernetes-tests folder.
291
291
python-tests :
292
- @ scripts/evergreen /run_python.sh -m pytest docker/mongodb-kubernetes-tests/kubeobject
293
- @ scripts/evergreen /run_python.sh -m pytest --ignore=docker/mongodb-kubernetes-tests
292
+ @ scripts/dev /run_python.sh -m pytest docker/mongodb-kubernetes-tests/kubeobject
293
+ @ scripts/dev /run_python.sh -m pytest --ignore=docker/mongodb-kubernetes-tests
294
294
295
295
generate-ssdlc-report :
296
- @ scripts/evergreen /run_python.sh generate_ssdlc_report.py
296
+ @ scripts/dev /run_python.sh generate_ssdlc_report.py
297
297
298
298
# test-race runs golang test with race enabled
299
299
test-race : generate fmt vet manifests golang-tests-race
0 commit comments