-
Notifications
You must be signed in to change notification settings - Fork 17
CLOUDP-339609 - migrate repo from mongodb/mongodb-agent-ubi to mongodb/mongodb-agent #357
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
Changes from 188 commits
Commits
Show all changes
189 commits
Select commit
Hold shift + click to select a range
b341dc3
Dockerfiles
lucian-tosa a2479b8
Optimize init database
lucian-tosa abe4a2c
Optimize operator
lucian-tosa fd701b2
add minikube scripts
nammn 05cbe23
smoke test replicacset
nammn a1f3d90
smoke test replicacset
nammn 2d335f3
add minikube and make aws multiarch
nammn b9ceed6
Agent dockerfiles
lucian-tosa 389b2b1
Optimize readiness and upgrade hook
lucian-tosa 6649987
Re-design pipeline
Julien-Ben 675bee4
Remove file
Julien-Ben 833e25f
Put lib back in dependencies
Julien-Ben 15e7f51
add todo
Julien-Ben 120c1af
Fix
Julien-Ben c9ceabf
Remove multi arch call, fix test image path
Julien-Ben 46f0998
make jq multiarch and all other scriupts as well
nammn 433cdc1
fix jq
nammn 1612525
fix docker, minikube etc
nammn bf8e64a
remove docker group management
nammn fb87f4d
Fix agent version for default case
Julien-Ben c05e180
Lindt
Julien-Ben 747c4ba
isort
Julien-Ben 03fd9b8
Cleanup TODOs
Julien-Ben 540b420
installation works, minikube starts but docker doesn't start
nammn fd8db45
podman support
nammn 284c7e1
z series support
nammn 00439c0
custom container with working power critcl
nammn c675c83
custom container with working power critcl
nammn 37c31de
add insecure
nammn 148779d
add empty config handling and broken podman making
nammn 10811d7
handle edge cases
nammn 8d72a1c
Build cli
lucian-tosa 6b96e7f
E2E dockerfile
lucian-tosa 213887b
Operator dockerfile
lucian-tosa fd4367d
Prepare script
lucian-tosa 49ddbe2
Readmes
lucian-tosa 449152f
Fix e2e dockerfile
lucian-tosa a4cc24f
use python wheel locacl build, unify teardown for minikube, use run f…
nammn d72017a
handle kube secret for podman
nammn 0207326
handle path
nammn 0bd74d8
handle auth issue for secret
nammn 5cfdd82
use lucian evg and remove debug mode
nammn 0b6d7d3
Merge branch 'master' into multi-arch-dockerfiles
lucian-tosa 3755fdd
Fix conflicts
lucian-tosa 65e9382
Merge branch 'e2e-ibm' into multi-arch-dockerfiles
lucian-tosa 1fbb8d5
Rename arch -> platform
Julien-Ben 7c0cfbd
fix z and workdir setup
nammn 718d3cc
fix z and workdir setup
nammn e9a524f
Don't rely on exception to check for builder existence
Julien-Ben fa6b899
Remove unused variables
Julien-Ben 426e522
Pre commit
Julien-Ben 2c16902
Merge branch 'e2e-ibm' into multi-arch-dockerfiles
lucian-tosa 6961175
include e2e
nammn b3d36a7
Merge branch 'e2e-ibm' into multi-arch-dockerfiles
nammn 6890858
Cleanup
Julien-Ben aab9592
Correct build envs
Julien-Ben 33173bb
Lindt
Julien-Ben f48c19e
skip pip iunstall
nammn 74e867c
Update Makefile
Julien-Ben b13b054
Add TODO
Julien-Ben 832ce61
Revert "Pre commit"
Julien-Ben ff1a5bc
fix pythyin installation and wrong busybox
nammn 4aa33d9
Fix contexts for smoke tests
lucian-tosa cc1f99d
fix contexts
nammn 91efed9
Merge branch 'multi-arch-dockerfiles' of github.com:mongodb/mongodb-k…
nammn dfdad75
don't target one container
nammn e9685a8
arm support
nammn df618e5
fix kubectl commands
nammn 6c9bff6
add python auth, fix myreport copy, force docker auth
nammn e949a1c
handle pyenv exists
nammn fbb1432
fix for containerruntime
nammn aa9c64a
fix for containerruntime
nammn bc23827
Remove agent unused functions
Julien-Ben 03062c3
Remove debug
Julien-Ben 4d4e4e9
Remove args iteration for multi platform
Julien-Ben 7c9967a
Cleanup unused stuff
Julien-Ben a7c63c9
Cleanup
Julien-Ben 742e784
Rename file
Julien-Ben 1f0a21b
Remove cli sbom
Julien-Ben 813d539
Renamed image building file
Julien-Ben c06061b
Freeze python on whales
Julien-Ben 5f9d49a
Lint
Julien-Ben f390dc9
Remove everything SBOM related
Julien-Ben a47341d
Lint
Julien-Ben 972b23c
Add TODO
Julien-Ben 4ae4034
Remove --all-agents
Julien-Ben 291f043
Merge branch 'master' into julienben/redesign-pipeline
MaciejKaras af28807
refactoring and cleanups on architecture and minikube handling
nammn 88c76bc
Rename trace
Julien-Ben 0fd4db8
Remove operator build
Julien-Ben ee86ebf
Doc and logs
Julien-Ben 5f5940f
Use build_image_generic for test images too
Julien-Ben 6dd208f
Remove unused sign images in repositories
Julien-Ben 493d4d6
Remove pipeline_process_image
Julien-Ben a21b254
Remove process_image
Julien-Ben a7db180
Rename function
Julien-Ben 52b8662
Lint
Julien-Ben e465582
wip: Initial changes
MaciejKaras 8a4e4b7
merge redesign-pipeline branch
MaciejKaras 5bfacf6
Fixes after merging remote branch
MaciejKaras 9733b45
Add sign option + change staging registries
MaciejKaras 5ab9c08
Add agent and ops-manager to build_info.json
MaciejKaras e6d67ca
Fix issue with scenario
MaciejKaras 7a34092
Fix for `build_info` computation
MaciejKaras a71ccf6
Pipeline fixes
MaciejKaras 3be7731
Remove `all-agents` option
MaciejKaras 1aae28b
Add missing `--sign` option
MaciejKaras e00b0e3
Fix agent matrix build
MaciejKaras f894e5b
Disable concurrent builds
MaciejKaras b140220
Move all env vars to constants.py
MaciejKaras 7b5a064
Remove `operator-quick` image build process
MaciejKaras 8df2ce4
Rebase fix
MaciejKaras b6b05aa
Add release scenarios for agent and ops-manager
MaciejKaras c5ad3c5
merge from Julien branch
MaciejKaras 031dd5b
Merge branch 'master' into julienben/redesign-pipeline
Julien-Ben 8183ec5
Fix release_info.py structure
MaciejKaras e7ab93b
Merge branch 'julienben/redesign-pipeline' into maciejk/use-ar-relate…
MaciejKaras 2ec7587
Explicitly push to ECR with latest tag. Staging as a followup
Julien-Ben 1badff0
Ensure builder in main to fix race conditions
Julien-Ben 9e2815a
Log line
Julien-Ben e17b323
Remove unused is_running_in_evg_pipeline
Julien-Ben 075fcae
Typo from merge conflict
Julien-Ben afc9b79
Follow up TODO
Julien-Ben 3ef9e2c
Login for garasign image
Julien-Ben d2a6153
Handle builder creation race condition with an exception
Julien-Ben c6fc163
Cleanup ensure
Julien-Ben 5b42663
Add test image building
lucian-tosa abd6180
Fix dockerfile
lucian-tosa c361d10
Merge remote-tracking branch 'refs/remotes/origin/julienben/redesign-…
lucian-tosa 347b44b
Revert "Handle builder creation race condition with an exception"
Julien-Ben e2a4126
Revert "Cleanup ensure"
Julien-Ben 715c4ad
Rename trace
Julien-Ben e117f79
Merge branch 'julienben/redesign-pipeline' into maciejk/use-ar-relate…
MaciejKaras 2125cb7
Remove comment
Julien-Ben d047de5
Merge branch 'julienben/redesign-pipeline' into maciejk/use-ar-relate…
MaciejKaras c8b66fe
Merge branch 'master' into maciejk/use-ar-related-versions
MaciejKaras 62c82f1
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into m…
nammn fa9c7ee
Review fixes
MaciejKaras e56591c
Merge branch 'master' into maciejk/use-ar-related-versions
MaciejKaras 597edf2
Added comment to get_version_id() method
MaciejKaras 857f705
Revert parallel `max_workers = 1`
MaciejKaras 59e4420
Agent image fix
MaciejKaras 2eebf0f
Merge branch 'master' into maciejk/use-ar-related-versions
MaciejKaras d6d5b81
merge maciejk/use-ar-related-versions
nammn 1385fa5
add agent multi-arch buildinfo
nammn 0cb392b
add multi arch support for all binaries but not part of patch
nammn 9ed77b4
for now build on every patch
nammn d90ae2e
fix links
nammn dff3ceb
fix agent links, make agent conditional
nammn 66d2eb4
make agent targetplatform and .evergreen power and z support and fix …
nammn 5d00002
fix agent and init dbs
nammn 0c2ab1d
try minikube setup
nammn 2b0e019
fix rhel path
nammn 009bea5
linter, reordering minkube, fix agents
nammn d36f392
linter, reordering minkube, fix agents, fix venv, fix python run path
nammn 1c3a7ad
remove lucians images
nammn cac43ca
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into m…
nammn d707450
ibm smoke tests only on master merges
nammn d7f0538
fix master merge
nammn 40f9aa1
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into m…
nammn 65d6296
pipeline
nammn 5eb0310
support releasing latest agents
nammn d1fd1e1
refactor agent support and support releasing latest used agents
nammn 6091c73
CLOUDP-337356 - static support (#333)
nammn 9368a93
Remove multi-arch from init-om image
lucian-tosa 2e55f50
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into m…
nammn 3f81fd6
Merge branch 'multi-arch-pipeline-combined' of github.com:mongodb/mon…
nammn af2eee3
ibm power only support 8.x.x and reset agent pins
nammn 489c791
Multi refactoring arch (#354)
nammn 67b3992
migrate repo from mongodb/mongodb-agent-ubi to mongodb/mongodb-agent
nammn 89f4f9d
migrate repo from mongodb/mongodb-agent-ubi to mongodb/mongodb-agent
nammn 60c7875
migrate ecr
nammn 9a349b9
migrate helm
nammn f7417c0
add release notes
nammn 3b39859
remove not used agent
nammn 74328eb
fix merge
nammn 33e7ee0
fix merge
nammn 59ee174
Cleanup
lucian-tosa 7a3f356
Merge branch 'master' into migrate-repo
lucian-tosa 703b56e
Fix unit test
lucian-tosa 1539447
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into m…
nammn ccde9d2
Merge branch 'migrate-repo' of github.com:mongodb/mongodb-kubernetes …
nammn 80857b4
add release notes
nammn 1d7b447
Update RN
lucian-tosa 5eb1b15
Fix tools in agent images (#376)
lucian-tosa cd8672c
Merge branch 'master' into migrate-repo
nammn 061992c
Apply suggestion from @viveksinghggits
nammn 1c9998c
fix
nammn 6afdada
fix 2 removing lucian
nammn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: migrate agent repo | ||
kind: feature | ||
date: 2025-08-26 | ||
--- | ||
|
||
* MongoDB Agent images have been migrated to new container repository: `quay.io/mongodb/mongodb-agent`. | ||
* the agents in the new repository will support the x86-64, ARM64, s390x, and ppc64le architectures. More can be read in the [public docs](https://www.mongodb.com/docs/kubernetes/upcoming/tutorial/plan-k8s-op-container-images/). | ||
* operator running >=MCK1.3.0 and static cannot use the agent images from the old container repository `quay.io/mongodb/mongodb-agent-ubi`. | ||
* `quay.io/mongodb/mongodb-agent-ubi` should not be used anymore, it's only there for backwards compatibility. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -13,13 +13,16 @@ CGO_ENABLED=0 GOOS=linux GOFLAGS="-mod=vendor" go build -i -o mongodb-kubernetes | |||
For building the MongoDB Init Ops Manager image locally use the example command: | ||||
|
||||
```bash | ||||
VERSION="1.1.0" | ||||
VERSION="evergreen" | ||||
LOG_AUTOMATION_CONFIG_DIFF="false" | ||||
USE_RACE="false" | ||||
docker buildx build --load --progress plain . -f docker/mongodb-kubernetes-operator/Dockerfile -t "mongodb-kubernetes-operator:${VERSION}" \ | ||||
BASE_REPO_URL="268558157000.dkr.ecr.us-east-1.amazonaws.com/lucian.tosa/" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
docker buildx build --load --progress plain --platform linux/amd64,linux/arm64,linux/s390x,linux/ppc64le . -f docker/mongodb-kubernetes-operator/Dockerfile -t "${BASE_REPO_URL}mongodb-kubernetes:${VERSION}" \ | ||||
--build-arg version="${VERSION}" \ | ||||
--build-arg log_automation_config_diff="${LOG_AUTOMATION_CONFIG_DIFF}" \ | ||||
--build-arg use_race="${USE_RACE}" | ||||
|
||||
docker push "${BASE_REPO_URL}mongodb-kubernetes:${VERSION}" | ||||
``` | ||||
|
||||
### Running locally | ||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.