-
Notifications
You must be signed in to change notification settings - Fork 4
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
CASMHMS-6324: Added support for ppprof builds #66
base: master
Are you sure you want to change the base?
Conversation
👋 Hey! Here is the image we built for you (Artifactory Link): artifactory.algol60.net/csm-docker/unstable/hms-hmcollector:2.35.0-20241223211535.3cf9d45 Use podman or docker to pull it down and inspect locally: podman pull artifactory.algol60.net/csm-docker/unstable/hms-hmcollector:2.35.0-20241223211535.3cf9d45 Or, use this script to pull the image from the build server to a dev system: Dev System Pull Script
#!/usr/bin/env bash
IMAGE=artifactory.algol60.net/csm-docker/unstable/hms-hmcollector:2.35.0-20241223211535.3cf9d45
podman run --rm --network host \
quay.io/skopeo/stable copy \
--src-tls-verify=false \
--dest-tls-verify=false \
--dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
--dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
docker://$IMAGE \
docker://registry.local/$IMAGE Snyk ReportComing soon Software Bill of Materialscosign download sbom artifactory.algol60.net/csm-docker/unstable/hms-hmcollector:2.35.0-20241223211535.3cf9d45 > container_image.spdx If you don't have cosign, then you can get it here. Note: this SHA is the merge of fd506fd and the PR base branch. Good luck and make rocket go now! 🌮 🚀 |
Summary and Scope
Added support for pprof builds. Profiling adds runtime overhead so pprof support is not enabled by default. It is meant to be a debug tool. In order to enable pprof support, the following ARG in the Dockerfile should be changed from false to true:
After completing this step, rebuild the application and pprof support will be enabled after it is deployed.
Adopted app version 2.35.0 for CSM 1.6.1 (helm chart 2.16.9)
Issues and Related PRs
Testing
Tested on:
mug
Test description:
Test Checklist:
Pull Request Checklist