-
Notifications
You must be signed in to change notification settings - Fork 17
CLOUDP-337357 - Migrate all agents script #361
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
Conversation
MCK 1.3.0 Release NotesNew FeaturesMulti-Architecture SupportWe've added comprehensive multi-architecture support for the kubernetes operator. This enhancement enables deployment on IBM Power (ppc64le) and IBM Z (s390x) architectures alongside Bug Fixes
Other Changes
|
# Conflicts: # .evergreen-functions.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ! Good to see the agents available on all these platforms 🎉
.evergreen.yml
Outdated
@@ -2097,3 +2106,11 @@ buildvariants: | |||
tasks: | |||
- name: publish_ops_manager | |||
- name: release_agent | |||
|
|||
- name: publish_agent_images_manual |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the variant name doesn't match the task its running
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it now
Summary
This pull request introduces a new manual pipeline for migrating and publishing all agent images to a new registry. The main changes add support for running this migration as a manual task in Evergreen, including the necessary pipeline configuration, scripts, and build variant.
Evergreen pipeline and build variant additions:
pipeline_migrate_agents
function to.evergreen-functions.yml
, which runs thepipeline_migrate_agent.sh
script for agent migration.migrate_all_agents
task to.evergreen.yml
, enabling manual execution to build and migrate all agent images.publish_agent_images_manual
build variant in.evergreen.yml
, allowing patch requesters to trigger the migration task.Script additions for manual migration:
scripts/release/pipeline_migrate_agent.sh
to execute the migration logic using the main pipeline Python script, targeting the new registry.To trigger this task, the following command will be run
Proof of Work
This patch migrates all the agents to my private ECR
There are 17 agents in release.json. For each of them there will 4 be images (4 architectures), 1 aggregated manifest, and one signature, therefore 102 entries.
This patch ran the static tests using my private ECR registry.
Checklist
skip-changelog
label if not needed