Update repository image for gitea memcached to use bitnamilegacy/memcached

Gitea helm chart relies on Bitnami images for memcached.

Beginning August 28th, 2025, Bitnami evolved its public catalog to offer
a curated set of hardened, security-focused images under the new Bitnami
Secure Images initiative. As part of this transition, starting August 28th,
all existing container images, including older or versioned tags have been
migrated from the public catalog (docker.io/bitnami) to the "Bitnami Legacy"
repository (docker.io/bitnamilegacy), where they will no longer receive updates.

Reference: https://github.com/bitnami/charts/tree/main/bitnami/memcached

Change-Id: I967f7d2daa88ccd091413fe9cfff25b715586b46
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
1 file changed
tree: ea182433d0d808b7aa33f0159c2e30d6138b1277
  1. .gitignore
  2. .gitlab-ci.yml
  3. .gitmodules
  4. .groovylintrc.json
  5. Dockerfile
  6. Jenkinsfile
  7. LICENSE
  8. README.md
  9. debian/
  10. devops-stages/
  11. docker/
  12. installers/
  13. jenkins/
  14. library/
  15. packer/
  16. tools/
README.md

osm-devops

Scripts and artifacts for OSM installation and CI/CD pipelines.

Folder structure

  • jenkins: scripts run by jenkins. All OSM modules rely on these scripts.
  • installers: scripts to be executed to install OSM. It also includes the OSM helm chart.

Instructions to test new code in the same way is done in OSM CI/CD pipeline

Create folder

mkdir osm
cd osm

Clone projects

Clone the projects that you would like to test

git clone "https://osm.etsi.org/gerrit/osm/devops"
git clone "https://osm.etsi.org/gerrit/osm/common"
git clone "https://osm.etsi.org/gerrit/osm/N2VC"
git clone "https://osm.etsi.org/gerrit/osm/LCM"
...

Update repos to use a specific branch or a Gerrit patch

If needed, update code in the repos. An example for N2VC is shown below

cd N2VC
git pull "https://osm.etsi.org/gerrit/osm/N2VC" refs/changes/22/14222/2
cd ..
cd LCM
git pull "https://osm.etsi.org/gerrit/osm/LCM" refs/changes/24/14224/3
cd ..

Start an HTTP server to host the intermediate artifacts (deb packages)

./devops/tools/local-build.sh --run-httpserver
ps -ef |grep python3

Run stage2 to build artifacts

# Clean previous artifacts
rm $HOME/.osm/httpd/*.deb
# Build new artifacts
./devops/tools/local-build.sh --module common,N2VC,LCM stage-2
# Check that artifacts were created
ls $HOME/.osm/httpd

Note: Artifacts need to be cleaned every time we want to try new patches

Run stage3 to build docker images

./devops/tools/local-build.sh --module LCM stage-3
docker image ls
# Copy the image to your image resistry, e.g.: "your-registry/osm/osm-testing/opensourcemano/lcm:myfeature"

Update OSM Helm release to use the new image

helm3 -n osm list
helm3 -n osm get values osm

Upgrade with kubectl:

kubectl -n osm patch deployment lcm --patch '{"spec": {"template": {"spec": {"containers": [{"name": "lcm", "image": "your-registry/osm/osm-testing/opensourcemano/lcm:myfeature}]}}}}'
kubectl -n osm get all

Upgrade with Helm:

helm3 -n osm list
helm3 -n osm history osm
helm3 -n osm upgrade --reuse-values --set lcm.image.repository="your-registry/osm/osm-testing/opensourcemano/lcm" --set lcm.image.tag="myfeature" osm ./helm-chart-dir
helm3 -n osm status osm
kubectl -n osm get all

Test OSM Helm Chart independently

git clone "https://osm.etsi.org/gerrit/osm/devops"
cd devops/
# Get a patch from Gerrit
# git pull "https://osm.etsi.org/gerrit/osm/devops" refs/changes/25/14325/17
./installers/install_helm_client.sh -D . --debug
./devops-stages/stage-test.sh
./installers/full_install_osm.sh -D . --debug -R testing-daily -t testing-daily -r testing -y  2>&1 | tee osm_install_log.txt
kubectl -n osm get all
kubectl -n osm get ingress