7 Upgrading STAP
Learn about upgrading your Oracle Communications Solution Test Automation Platform (STAP) cloud native environment to the latest patch set or interim patch release.
Topics in this document:
Upgrading your STAP Environment
To upgrade your STAP environment:
-
Download the new version of STAP CNTK:
curl cntk_link cntk_zip unzip cntk_zip
where:- cntk_link is the link to download the CNTK
- cntk_zip is the location of the CNTK
-
Load all the images for each microservice to be upgraded from the CNTK image folder:
From the CNTK_home/microservice_directory:podman load -i image.tar
-
Tag the images for upload:
podman tag image_name:image_id repoDest
-
Push the images to the repository:
podman push repoDest
Note:
Repeat the following steps for each microservice. -
Navigate to the directoryName/stap-microservice/helm_chart/ directory.
where:- directoryName is the name of your STAP microservice directory
- stap-microservice is each STAP microservice
- helm_chart is the helm chart of the respective STAP microservice
Update the override-values.yaml file with the new imageName.
-
List Helm releases in the namespace to get the chart name:
helm ls -n namespace
-
Upgrade the Helm chart:
helm upgrade chart_name path_to_chart_dir --values override-values.yaml -n namespace