Commit 9ec721a
authored
[pipeline] add multiarch mco (#156)
# Summary
- adding multiarch to the operator
## Proof of Work
- passing
[ci](https://spruce.mongodb.com/task/mongodb_kubernetes_init_test_run_build_operator_ubi_patch_ca24d93d7a931f7853a679b4576674cace37bb16_68529dd6c138970007119b4f_25_06_18_11_07_03/logs?execution=0)
while skipping arm
- passing
[ci](https://spruce.mongodb.com/version/6852aae56808a40007526b93/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC)
while running arm build
- pulling multiarch image
```
docker run --rm -it --platform linux/arm64 --entrypoint sh 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93
Unable to find image '268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93' locally
6852aae56808a40007526b93: Pulling from dev/mongodb-kubernetes
88dac9674920: Already exists
01860f9dcfa8: Pull complete
ef547372e92b: Pull complete
e177c021bea7: Pull complete
f10b6cc419b7: Pull complete
05a62aa57d3f: Pull complete
Digest: sha256:5c158225fad4d9b92b28b43e034f46eaacc6488e74846e3e22fc6e5d0b243e05
Status: Downloaded newer image for 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93
sh-5.1$ uname -a
Linux 0c05ec3b5548 6.10.14-linuxkit #1 SMP Tue Apr 15 16:00:54 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
sh-5.1$
```
```
(venv) ~/projects/mongodb-kubernetes git:[multi-arch-mco]
docker run --rm -it --platform linux/amd64 --entrypoint sh 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93
Unable to find image '268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93' locally
6852aae56808a40007526b93: Pulling from dev/mongodb-kubernetes
ff6f4d5fce2a: Already exists
8c4dc0e68dba: Pull complete
433bb9a7e77e: Pull complete
3f00ac9cf359: Pull complete
11b2571dd667: Pull complete
05a62aa57d3f: Pull complete
Digest: sha256:5c158225fad4d9b92b28b43e034f46eaacc6488e74846e3e22fc6e5d0b243e05
Status: Downloaded newer image for 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:6852aae56808a40007526b93
sh-5.1$ uname -a
Linux 03d6c9cd16d9 6.10.14-linuxkit #1 SMP Tue Apr 15 16:00:54 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
```
## Checklist
- [ ] Have you linked a jira ticket and/or is the ticket in the title?
- [ ] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you checked for release_note changes?
## Reminder (Please remove this when merging)
- Please try to Approve or Reject Changes the PR, keep PRs in review as
short as possible
- Our Short Guide for PRs:
[Link](https://docs.google.com/document/d/1T93KUtdvONq43vfTfUt8l92uo4e4SEEvFbIEKOxGr44/edit?tab=t.0)
- Remember the following Communication Standards - use comment prefixes
for clarity:
* **blocking**: Must be addressed before approval.
* **follow-up**: Can be addressed in a later PR or ticket.
* **q**: Clarifying question.
* **nit**: Non-blocking suggestions.
* **note**: Side-note, non-actionable. Example: Praise
* --> no prefix is considered a question1 parent e5a8641 commit 9ec721a
File tree
3 files changed
+60
-28
lines changed- docker/mongodb-kubernetes-operator
3 files changed
+60
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
27 | | - | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | | - | |
38 | | - | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | | - | |
| 61 | + | |
57 | 62 | | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | | - | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
72 | | - | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
76 | 82 | | |
77 | | - | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | | - | |
82 | | - | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
486 | 489 | | |
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
491 | 494 | | |
492 | | - | |
| 495 | + | |
493 | 496 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
500 | 503 | | |
501 | | - | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
502 | 517 | | |
503 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
504 | 527 | | |
505 | 528 | | |
506 | 529 | | |
507 | 530 | | |
508 | | - | |
509 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
510 | 534 | | |
511 | 535 | | |
512 | 536 | | |
| |||
0 commit comments