-
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
Changes from 186 commits
b341dc3
a2479b8
abe4a2c
fd701b2
05cbe23
a1f3d90
2d335f3
b9ceed6
389b2b1
6649987
675bee4
833e25f
15e7f51
120c1af
c9ceabf
46f0998
433cdc1
1612525
bf8e64a
fb87f4d
c05e180
747c4ba
03fd9b8
540b420
fd8db45
284c7e1
00439c0
c675c83
37c31de
148779d
10811d7
8d72a1c
6b96e7f
213887b
fd4367d
49ddbe2
449152f
a4cc24f
d72017a
0207326
0bd74d8
5cfdd82
0b6d7d3
3755fdd
65e9382
1fbb8d5
7c0cfbd
718d3cc
e9a524f
fa6b899
426e522
2c16902
6961175
b3d36a7
6890858
aab9592
33173bb
f48c19e
74e867c
b13b054
832ce61
ff1a5bc
4aa33d9
cc1f99d
91efed9
dfdad75
e9685a8
df618e5
6c9bff6
e949a1c
fbb1432
aa9c64a
bc23827
03062c3
4d4e4e9
7c9967a
a7c63c9
742e784
1f0a21b
813d539
c06061b
5f9d49a
f390dc9
a47341d
972b23c
4ae4034
291f043
af28807
88c76bc
0fd4db8
ee86ebf
5f5940f
6dd208f
493d4d6
a21b254
a7db180
52b8662
e465582
8a4e4b7
5bfacf6
9733b45
5ab9c08
e6d67ca
7a34092
a71ccf6
3be7731
1aae28b
e00b0e3
f894e5b
b140220
7b5a064
8df2ce4
b6b05aa
c5ad3c5
031dd5b
8183ec5
e7ab93b
2ec7587
1badff0
9e2815a
e17b323
075fcae
afc9b79
3ef9e2c
d2a6153
c6fc163
5b42663
abd6180
c361d10
347b44b
e2a4126
715c4ad
e117f79
2125cb7
d047de5
c8b66fe
62c82f1
fa9c7ee
e56591c
597edf2
857f705
59e4420
2eebf0f
d6d5b81
1385fa5
0cb392b
9ed77b4
d90ae2e
dff3ceb
66d2eb4
5d00002
0c2ab1d
2b0e019
009bea5
d36f392
1c3a7ad
cac43ca
d707450
d7f0538
40f9aa1
65d6296
5eb0310
d1fd1e1
6091c73
9368a93
2e55f50
3f81fd6
af2eee3
489c791
67b3992
89f4f9d
60c7875
9a349b9
f7417c0
3b39859
74328eb
33e7ee0
59ee174
7a3f356
703b56e
1539447
ccde9d2
80857b4
1d7b447
5eb1b15
cd8672c
061992c
1c9998c
6afdada
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
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. | ||
* 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. | ||
* More can be read in the [public docs](https://www.mongodb.com/docs/kubernetes/upcoming/tutorial/plan-k8s-op-container-images/) | ||
nammn marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -8,13 +8,31 @@ binaries from there. Then we continue with the other steps to fully build the im | |||
For building the MongoDB Agent image locally use the example command: | ||||
|
||||
```bash | ||||
VERSION="108.0.7.8810-1" | ||||
INIT_DATABASE_IMAGE="268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes-init-database:1.1.0" | ||||
MONGODB_TOOLS_URL_UBI="https://downloads.mongodb.org/tools/db/mongodb-database-tools-rhel93-x86_64-100.12.0.tgz" | ||||
MONGODB_AGENT_URL_UBI="https://mciuploads.s3.amazonaws.com/mms-automation/mongodb-mms-build-agent/builds/automation-agent/prod/mongodb-mms-automation-agent-108.0.7.8810-1.rhel9_x86_64.tar.gz" | ||||
docker buildx build --load --progress plain . -f docker/mongodb-agent/Dockerfile -t "mongodb-agent:${VERSION}_1.1.0" \ | ||||
--build-arg version="${VERSION}" \ | ||||
--build-arg init_database_image="${INIT_DATABASE_IMAGE}" \ | ||||
--build-arg mongodb_tools_url_ubi="${MONGODB_TOOLS_URL_UBI}" \ | ||||
--build-arg mongodb_agent_url_ubi="${MONGODB_AGENT_URL_UBI}" | ||||
VERSION="evergreen" | ||||
AGENT_VERSION="108.0.7.8810-1" | ||||
TOOLS_VERSION="100.12.0" | ||||
MONGODB_TOOLS_URL="https://downloads.mongodb.org/tools/db" | ||||
MONGODB_AGENT_URL="https://mciuploads.s3.amazonaws.com/mms-automation/mongodb-mms-build-agent/builds/automation-agent/prod" | ||||
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
|
||||
INIT_DATABASE_IMAGE="${BASE_REPO_URL}mongodb-kubernetes-init-database:${VERSION}" | ||||
MONGODB_AGENT_BASE="mongodb-mms-automation-agent" | ||||
MONGODB_DATABASE_TOOLS_BASE="mongodb-database-tools" | ||||
|
||||
|
||||
docker buildx build --progress plain --platform linux/amd64,linux/arm64,linux/s390x,linux/ppc64le . -f docker/mongodb-agent/Dockerfile -t "${BASE_REPO_URL}mongodb-agent:${AGENT_VERSION}_${VERSION}" \ | ||||
--build-arg version="${VERSION}" \ | ||||
--build-arg init_database_image="${INIT_DATABASE_IMAGE}" \ | ||||
--build-arg mongodb_tools_url="${MONGODB_TOOLS_URL}" \ | ||||
--build-arg mongodb_agent_url="${MONGODB_AGENT_URL}" \ | ||||
--build-arg mongodb_agent_version_s390x="${MONGODB_AGENT_BASE}-${AGENT_VERSION}.rhel7_s390x.tar.gz" \ | ||||
--build-arg mongodb_agent_version_ppc64le="${MONGODB_AGENT_BASE}-${AGENT_VERSION}.rhel8_ppc64le.tar.gz" \ | ||||
--build-arg mongodb_agent_version_amd64="${MONGODB_AGENT_BASE}-${AGENT_VERSION}.linux_x86_64.tar.gz" \ | ||||
--build-arg mongodb_agent_version_arm64="${MONGODB_AGENT_BASE}-${AGENT_VERSION}.amzn2_aarch64.tar.gz" \ | ||||
--build-arg mongodb_tools_version_arm64="${MONGODB_DATABASE_TOOLS_BASE}-rhel93-aarch64-${TOOLS_VERSION}.tgz" \ | ||||
--build-arg mongodb_tools_version_amd64="${MONGODB_DATABASE_TOOLS_BASE}-rhel93-x86_64-${TOOLS_VERSION}.tgz" \ | ||||
--build-arg mongodb_tools_version_s390x="${MONGODB_DATABASE_TOOLS_BASE}-rhel9-s390x-${TOOLS_VERSION}.tgz" \ | ||||
--build-arg mongodb_tools_version_ppc64le="${MONGODB_DATABASE_TOOLS_BASE}-rhel9-ppc64le-${TOOLS_VERSION}.tgz" | ||||
|
||||
docker push "${BASE_REPO_URL}mongodb-agent:${AGENT_VERSION}_${VERSION}" | ||||
|
||||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,10 @@ this images with. | |
For building the MongoDB Database image locally use the example command: | ||
|
||
```bash | ||
VERSION="1.0.1" | ||
docker buildx build --load --progress plain . -f docker/mongodb-kubernetes-database/Dockerfile -t "mongodb-kubernetes-database:${VERSION}" \ | ||
VERSION="1.3.0" | ||
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. Why are we committing developer's registry to master? |
||
docker buildx build --load --progress plain --platform linux/amd64,linux/arm64,linux/s390x,linux/ppc64le . -f docker/mongodb-kubernetes-database/Dockerfile -t "${BASE_REPO_URL}mongodb-kubernetes-database:${VERSION}" \ | ||
--build-arg VERSION="${VERSION}" | ||
|
||
docker push "${BASE_REPO_URL}mongodb-kubernetes-database:${VERSION}" | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,14 @@ | |
For building the MongoDB Init AppDB image locally use the example command: | ||
|
||
```bash | ||
VERSION="1.0.1" | ||
MONGODB_TOOLS_URL_UBI="https://downloads.mongodb.org/tools/db/mongodb-database-tools-rhel93-x86_64-100.12.0.tgz" | ||
docker buildx build --load --progress plain . -f docker/mongodb-kubernetes-init-appdb/Dockerfile -t "mongodb-kubernetes-init-appdb:${VERSION}" \ | ||
VERSION="1.3.0" | ||
MONGODB_TOOLS_URL="https://downloads.mongodb.org/tools/db" | ||
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. Same as above, can we please point it to |
||
docker buildx build --load --progress plain --platform linux/amd64,linux/arm64,linux/s390x,linux/ppc64le . -f docker/mongodb-kubernetes-init-appdb/Dockerfile -t "${BASE_REPO_URL}mongodb-kubernetes-init-appdb:${VERSION}" \ | ||
--build-arg version="${VERSION}" \ | ||
--build-arg mongodb_tools_url_ubi="${MONGODB_TOOLS_URL_UBI}" | ||
--build-arg mongodb_tools_url="${MONGODB_TOOLS_URL_UBI}" \ | ||
--build-arg mongodb_tools_version_arm64="mongodb-database-tools-rhel93-aarch64-100.12.0.tgz" \ | ||
--build-arg mongodb_tools_version_amd64="mongodb-database-tools-rhel93-x86_64-100.12.0.tgz" \ | ||
--build-arg mongodb_tools_version_s390x="mongodb-database-tools-rhel9-s390x-100.12.0.tgz" \ | ||
--build-arg mongodb_tools_version_ppc64le="mongodb-database-tools-rhel9-ppc64le-100.12.0.tgz" | ||
``` |
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.
Is this indentation change necessary?
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.
its annoying, we should add a json and yaml linter otherwise our ides will do whatever they want, fixed