Skip to content

Commit a6abfbb

Browse files
committed
Refactor of existing snippets on master
1 parent 10f35fe commit a6abfbb

File tree

189 files changed

+907
-875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+907
-875
lines changed

.evergreen-functions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ functions:
793793
working_dir: src/github.com/mongodb/mongodb-kubernetes
794794
binary: scripts/code_snippets/sample_commit_output.sh
795795

796-
# it executes a script by convention: ./scripts/code_snippets/${task_name}_test.sh
796+
# it executes a script by convention: ./scripts/code_snippets/tests/${task_name}
797797
test_code_snippets:
798798
- *switch_context
799799
- command: shell.exec
@@ -806,4 +806,4 @@ functions:
806806
- code_snippets_reset
807807
- task_name
808808
script: |
809-
./scripts/code_snippets/${task_name}_test.sh
809+
./scripts/code_snippets/tests/${task_name}

.evergreen-snippets.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ variables:
77
- func: setup_mongosh
88
- func: download_kube_tools
99
- func: build_multi_cluster_binary
10-
teardown_group:
10+
teardown_task:
11+
- func: upload_e2e_logs
1112
- func: upload_code_snippets_logs
1213

1314
- &setup_and_teardown_group_kind_code_snippets

.evergreen.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,16 @@ buildvariants:
17641764
tasks:
17651765
- name: release_all_agents_on_ecr
17661766

1767+
# Only called manually, It's used for testing the task release_agents_on_ecr in case the release.json
1768+
# has not changed, and you still want to push the images to ecr.
1769+
- name: manual_ecr_release_agent_currently_used
1770+
display_name: manual_ecr_release_agent_currently_used
1771+
tags: [ "release_all_agents_manually" ]
1772+
run_on:
1773+
- ubuntu2204-large
1774+
tasks:
1775+
- name: release_all_currently_used_agents_on_ecr
1776+
17671777
### Build variants for manual patch only
17681778

17691779
- name: backup_csv_images

docs/search/01-search-community-deploy/code_snippets/01_0046_create_image_pull_secrets.sh

100755100644
File mode changed.

public/architectures/mongodb-replicaset-mc-no-mesh/output/1210_verify_mongosh_connection.out

Lines changed: 0 additions & 15 deletions
This file was deleted.

public/architectures/mongodb-replicaset-mc-no-mesh/test.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

public/architectures/mongodb-replicaset-multi-cluster/output/1210_verify_mongosh_connection.out

Lines changed: 0 additions & 15 deletions
This file was deleted.

public/architectures/mongodb-replicaset-multi-cluster/test.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

public/architectures/mongodb-sharded-mc-no-mesh/output/2210_verify_mongosh_connection.out

Lines changed: 0 additions & 15 deletions
This file was deleted.

public/architectures/mongodb-sharded-mc-no-mesh/test.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)