Skip to content

Apply changes from meko:mck-merge as single commit #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ tools.go
# Kubernetes and operator-related artifacts
deploy/
config/manifests/
helm_chart/templates/
helm_chart/crds/
public/
!/public/tools/multicluster/go.mod

# Documentation files
docs/
Expand Down
17 changes: 16 additions & 1 deletion .evergreen-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,21 @@ functions:
params:
file: "src/github.com/10gen/ops-manager-kubernetes/logs/myreport.xml"

upload_e2e_logs_gotest:
- command: s3.put
params:
aws_key: ${enterprise_aws_access_key_id}
aws_secret: ${enterprise_aws_secret_access_key}
local_files_include_filter:
- src/github.com/10gen/ops-manager-kubernetes/logs/*
remote_file: logs/${task_id}/${execution}/
bucket: operator-e2e-artifacts
permissions: public-read
content_type: text/plain
- command: gotest.parse_files
params:
files: [ "src/github.com/10gen/ops-manager-kubernetes/logs/*.suite" ]

upload_code_snippets_logs:
- command: s3.put
params:
Expand Down Expand Up @@ -625,7 +640,7 @@ functions:
make test-race
- command: gotest.parse_files
params:
files: [ "src/github.com/10gen/ops-manager-kubernetes/*.suite", "src/github.com/10gen/ops-manager-kubernetes/public/tools/multicluster/*.suite", "src/github.com/10gen/ops-manager-kubernetes/docker/mongodb-enterprise-init-ops-manager/mmsconfiguration/*.suite" ]
files: [ "src/github.com/10gen/ops-manager-kubernetes/*.suite", "src/github.com/10gen/ops-manager-kubernetes/public/tools/multicluster/*.suite", "src/github.com/10gen/ops-manager-kubernetes/docker/mongodb-kubernetes-init-ops-manager/mmsconfiguration/*.suite" ]

test_python_unit:
- command: shell.exec
Expand Down
147 changes: 147 additions & 0 deletions .evergreen-mco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
buildvariants:
- display_tasks:
- execution_tasks: []
name: e2e_mco_tests
name: e2e_mco_tests
tasks:
- name: e2e_mco_task_group
task_groups:
- max_hosts: -1
name: e2e_mco_task_group
setup_group:
- func: clone
- func: download_kube_tools
- func: setup_building_host
setup_task:
- func: cleanup_exec_environment
- func: configure_docker_auth
- func: setup_kubernetes_environment
tasks:
- feature_compatibility_version
- prometheus
- replica_set
- replica_set_arbiter
- replica_set_change_version
- replica_set_connection_string_options
- replica_set_cross_namespace_deploy
- replica_set_custom_persistent_volume
- replica_set_custom_role
- replica_set_enterprise_upgrade_4_5
- replica_set_enterprise_upgrade_5_6
- replica_set_enterprise_upgrade_6_7
- replica_set_enterprise_upgrade_7_8
- replica_set_mongod_config
- replica_set_mongod_port_change_with_arbiters
- replica_set_mongod_readiness
- replica_set_mount_connection_string
- replica_set_operator_upgrade
- replica_set_recovery
- replica_set_remove_user
- replica_set_scale
- replica_set_scale_down
- replica_set_tls
- replica_set_tls_recreate_mdbc
- replica_set_tls_rotate
- replica_set_tls_rotate_delete_sts
- replica_set_tls_upgrade
- replica_set_x509
- statefulset_arbitrary_config
- statefulset_arbitrary_config_update
teardown_group:
- func: prune_docker_resources
- func: run_retry_script
teardown_task:
- func: upload_e2e_logs_gotest
- func: teardown_kubernetes_environment
tasks:
- commands:
- func: e2e_test
name: feature_compatibility_version
- commands:
- func: e2e_test
name: prometheus
- commands:
- func: e2e_test
name: replica_set
- commands:
- func: e2e_test
name: replica_set_arbiter
- commands:
- func: e2e_test
name: replica_set_change_version
- commands:
- func: e2e_test
name: replica_set_connection_string_options
- commands:
- func: e2e_test
name: replica_set_cross_namespace_deploy
- commands:
- func: e2e_test
name: replica_set_custom_persistent_volume
- commands:
- func: e2e_test
name: replica_set_custom_role
- commands:
- func: e2e_test
name: replica_set_enterprise_upgrade_4_5
- commands:
- func: e2e_test
name: replica_set_enterprise_upgrade_5_6
- commands:
- func: e2e_test
name: replica_set_enterprise_upgrade_6_7
- commands:
- func: e2e_test
name: replica_set_enterprise_upgrade_7_8
- commands:
- func: e2e_test
name: replica_set_mongod_config
- commands:
- func: e2e_test
name: replica_set_mongod_port_change_with_arbiters
- commands:
- func: e2e_test
name: replica_set_mongod_readiness
- commands:
- func: e2e_test
name: replica_set_mount_connection_string
- commands:
- func: e2e_test
name: replica_set_operator_upgrade
- commands:
- func: e2e_test
name: replica_set_recovery
- commands:
- func: e2e_test
name: replica_set_remove_user
- commands:
- func: e2e_test
name: replica_set_scale
- commands:
- func: e2e_test
name: replica_set_scale_down
- commands:
- func: e2e_test
name: replica_set_tls
- commands:
- func: e2e_test
name: replica_set_tls_recreate_mdbc
- commands:
- func: e2e_test
name: replica_set_tls_rotate
- commands:
- func: e2e_test
name: replica_set_tls_rotate_delete_sts
- commands:
- func: e2e_test
name: replica_set_tls_upgrade
- commands:
- func: e2e_test
name: replica_set_x509
- commands:
- func: e2e_test
name: statefulset_arbitrary_config
- commands:
- func: e2e_test
name: statefulset_arbitrary_config_update

19 changes: 19 additions & 0 deletions .evergreen-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ tasks:
commands:
- func: e2e_test

- name: e2e_community_and_meko_replicaset_scale
tags: [ "patch-run" ]
commands:
- func: e2e_test

- name: e2e_standalone_custom_podspec
tags: [ "patch-run" ]
commands:
Expand Down Expand Up @@ -181,6 +186,8 @@ tasks:
- func: "e2e_test"

- name: e2e_olm_operator_upgrade
# TODO: CLOUDP-310820 - After 1.0.0 release we need re-enable this
disable: true
tags: [ "patch-run" ]
commands:
- func: "e2e_test"
Expand All @@ -192,6 +199,13 @@ tasks:
- func: "e2e_test"

- name: e2e_olm_operator_upgrade_with_resources
# TODO: CLOUDP-310820 - After 1.0.0 release we need re-enable this
disable: true
tags: [ "patch-run" ]
commands:
- func: "e2e_test"

- name: e2e_olm_meko_operator_upgrade_with_resources
tags: [ "patch-run" ]
commands:
- func: "e2e_test"
Expand All @@ -211,6 +225,11 @@ tasks:
commands:
- func: "e2e_test"

- name: e2e_community_replicaset_scale
tags: ["patch-run"]
commands:
- func: "e2e_test"

- name: e2e_replica_set
tags: [ "patch-run" ]
commands:
Expand Down
Loading