@@ -7,10 +7,10 @@ while we transition to the official MongoDB images.
77
88| Image | Directory | Registry | Tags |
99| -------| -----------| ----------| ------|
10- | mongodb-sharded 8.0 | ` 8.0/debian-12/ ` | ` ghcr.io/scality/mongodb-sharded ` | ` 8.0.13 ` , ` 8.0 ` |
11- | mongodb-sharded 8.2 | ` 8.2/debian-12/ ` | ` ghcr.io/scality/mongodb-sharded ` | ` 8.2.6 ` , ` 8.2 ` |
12- | mongodb-exporter | ` mongodb-exporter/0/debian-12/ ` | ` ghcr.io/scality/mongodb-exporter ` | ` 0.49.0 ` |
13- | os-shell | ` os-shell/12/debian-12/ ` | ` ghcr.io/scality/os-shell ` | ` 12 ` |
10+ | mongodb-sharded 8.0 | ` 8.0/debian-12/ ` | ` ghcr.io/scality/zenko/ mongodb-sharded ` | ` 8.0.13 ` , ` 8.0 ` |
11+ | mongodb-sharded 8.2 | ` 8.2/debian-12/ ` | ` ghcr.io/scality/zenko/ mongodb-sharded ` | ` 8.2.6 ` , ` 8.2 ` |
12+ | mongodb-exporter | ` mongodb-exporter/0/debian-12/ ` | ` ghcr.io/scality/zenko/ mongodb-exporter ` | ` 0.49.0 ` |
13+ | os-shell | ` os-shell/12/debian-12/ ` | ` ghcr.io/scality/zenko/ os-shell ` | ` 12 ` |
1414
1515## Directory Structure
1616
@@ -42,20 +42,20 @@ solution-base/images/mongodb-sharded/
4242## Vendored Scripts
4343
4444The ` prebuildfs/ ` and ` rootfs/ ` directories are vendored from
45- ` https://github.com/scality/mongodb-sharded ` and committed to Git.
45+ ` https://github.com/bitnami/containers ` and committed to Git.
4646The Dockerfiles depend on them (` COPY prebuildfs / ` , ` COPY rootfs / ` ).
4747
4848To re-vendor after upstream changes:
4949
5050``` bash
51- git clone --depth 1 https://github.com/scality/mongodb-sharded .git /tmp/mongodb-sharded
51+ git clone --depth 1 https://github.com/bitnami/containers .git /tmp/bitnami-containers
5252
53- # Copy for each image (example for 8.0 ):
54- cp -r /tmp/mongodb-sharded/8.0 /debian-12/prebuildfs solution-base/images/mongodb-sharded/8.0 /debian-12/
55- cp -r /tmp/mongodb-sharded/8.0 /debian-12/rootfs solution-base/images/mongodb-sharded/8.0 /debian-12/
56- # Repeat for 8.2, mongodb-exporter, os-shell as needed
53+ # Copy for each image (example for 8.2 ):
54+ cp -r /tmp/bitnami-containers/bitnami/ mongodb-sharded/8.2 /debian-12/prebuildfs solution-base/images/mongodb-sharded/8.2 /debian-12/
55+ cp -r /tmp/bitnami-containers/bitnami/ mongodb-sharded/8.2 /debian-12/rootfs solution-base/images/mongodb-sharded/8.2 /debian-12/
56+ # Repeat for other images as needed
5757
58- rm -rf /tmp/mongodb-sharded
58+ rm -rf /tmp/bitnami-containers
5959git diff # review changes
6060```
6161
@@ -64,22 +64,22 @@ git diff # review changes
6464``` bash
6565# MongoDB 8.0
6666docker build \
67- -t ghcr.io/scality/mongodb-sharded:8.0.13 \
67+ -t ghcr.io/scality/zenko/ mongodb-sharded:8.0.13 \
6868 solution-base/images/mongodb-sharded/8.0/debian-12
6969
7070# MongoDB 8.2
7171docker build \
72- -t ghcr.io/scality/mongodb-sharded:8.2.6 \
72+ -t ghcr.io/scality/zenko/ mongodb-sharded:8.2.6 \
7373 solution-base/images/mongodb-sharded/8.2/debian-12
7474
7575# MongoDB Exporter
7676docker build \
77- -t ghcr.io/scality/mongodb-exporter:0.49.0 \
77+ -t ghcr.io/scality/zenko/ mongodb-exporter:0.49.0 \
7878 solution-base/images/mongodb-sharded/mongodb-exporter/0/debian-12
7979
8080# OS Shell
8181docker build \
82- -t ghcr.io/scality/os-shell:12 \
82+ -t ghcr.io/scality/zenko/ os-shell:12 \
8383 solution-base/images/mongodb-sharded/os-shell/12/debian-12
8484```
8585
@@ -89,7 +89,7 @@ For multi-arch builds (amd64 + arm64):
8989docker buildx build \
9090 --platform linux/amd64,linux/arm64 \
9191 --push \
92- -t ghcr.io/scality/mongodb-sharded:8.0.13 \
92+ -t ghcr.io/scality/zenko/ mongodb-sharded:8.0.13 \
9393 solution-base/images/mongodb-sharded/8.0/debian-12
9494```
9595
@@ -100,7 +100,7 @@ builds and pushes multi-arch images automatically.
100100
101101- ** Trigger** : Push to paths under ` solution-base/images/mongodb-sharded/** ` ,
102102 or manual ` workflow_dispatch ` .
103- - ** Registry** : ` ghcr.io/scality/ `
103+ - ** Registry** : ` ghcr.io/scality/zenko/ `
104104- ** Base image** : ` minideb:bookworm ` is pinned by digest — update it manually
105105 when needed by changing the ` FROM ` line in each Dockerfile.
106106
@@ -119,17 +119,17 @@ builds and pushes multi-arch images automatically.
119119 ``` yaml
120120 mongodb-sharded :
121121 sourceRegistry : ghcr.io
122- image : scality/mongodb-sharded
122+ image : scality/zenko/ mongodb-sharded
123123 tag : " 8.0.14"
124124 ` ` `
1251254. Run CI or wait for push trigger.
1261265. Validate with Zenko e2e/CTST.
127127
128128### Vendoring upstream script changes
129129
130- 1. Check changes at ` https://github.com/scality/mongodb-sharded/commits /main/`.
131- 2. Clone the upstream repo and copy the updated `prebuildfs/` / `rootfs/`
132- directories (see "Vendored Scripts" section above) .
130+ 1. Check changes at ` https://github.com/bitnami/containers/tree /main/bitnami/mongodb-sharded `.
131+ 2. Compare upstream changes against our vendored scripts and copy relevant
132+ updated `prebuildfs/` / `rootfs/` files .
1331333. Review `git diff` for relevant changes.
1341344. Commit, push, test.
135135
0 commit comments