Skip to content

Commit fe2246e

Browse files
committed
remove all release agent logic
1 parent 6de3ddd commit fe2246e

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.evergreen.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -303,19 +303,6 @@ tasks:
303303
args:
304304
- scripts/release/release_on_merge.py
305305

306-
- name: release_agent
307-
# this enables us to run this variant manually (patch)
308-
allowed_requesters: [ "patch" ]
309-
commands:
310-
- func: clone
311-
- func: setup_building_host
312-
- func: quay_login
313-
- func: setup_docker_sbom
314-
- func: pipeline
315-
vars:
316-
image_name: agent
317-
build_scenario: release
318-
319306
- name: migrate_all_agents
320307
# this enables us to run this variant manually to build all the agents for the new agent registry
321308
allowed_requesters: [ "patch" ]
@@ -1899,26 +1886,6 @@ buildvariants:
18991886
tasks:
19001887
- name: build_om_images
19011888

1902-
# It will be called by pct while bumping the agent cloud manager image
1903-
- name: release_agent
1904-
display_name: release_agent
1905-
tags: [ "manual_patch", "release_agent" ]
1906-
run_on:
1907-
- release-ubuntu2404-small # This is required for CISA attestation https://jira.mongodb.org/browse/DEVPROD-17780
1908-
depends_on:
1909-
- variant: init_test_run
1910-
name: build_agent_images_ubi # this ensures the agent gets released to ECR as well
1911-
- variant: e2e_multi_cluster_kind
1912-
name: '*'
1913-
- variant: e2e_static_multi_cluster_2_clusters
1914-
name: '*'
1915-
- variant: e2e_mdb_kind_ubi_cloudqa
1916-
name: '*'
1917-
- variant: e2e_static_mdb_kind_ubi_cloudqa
1918-
name: '*'
1919-
tasks:
1920-
- name: release_agent
1921-
19221889
# Only called manually, It's used for testing the task release_agents in case the release.json
19231890
# has not changed, and you still want to push the images to registry.
19241891
- name: manual_release_all_agents
@@ -1965,7 +1932,6 @@ buildvariants:
19651932
name: '*'
19661933
tasks:
19671934
- name: publish_ops_manager
1968-
- name: release_agent
19691935

19701936
- name: publish_om80_images
19711937
display_name: publish_om80_images
@@ -1980,7 +1946,6 @@ buildvariants:
19801946
name: '*'
19811947
tasks:
19821948
- name: publish_ops_manager
1983-
- name: release_agent
19841949

19851950
- name: migrate_all_agents
19861951
display_name: migrate_all_agents

scripts/release/release_on_merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def main():
177177
else:
178178
logger.warning("cloud_manager agent not found in release.json")
179179

180-
# 2. Release each OM version and its agent
180+
# 2. Release each OM Major version and its agent
181181
om_mapping = ops_manager_mapping.get("ops_manager", {})
182182

183183
for major, om_version in latest_om_versions_per_major.items():

0 commit comments

Comments
 (0)