Runbook: Sigrid On-Premise Updating
This documentation covers on-premise Sigrid. It is not applicable for cloud-based Sigrid.
This documentation offers useful context on how to keep on-premise Sigrid up-to-date, making it an excellent starting point for ongoing maintenance.
Prerequisites
- You should have already read the other Sigrid On-Premise documentation
- You have a running Sigrid Deployment
- You have access to Software Improvement Group DockerHub
Update Frequency
We update container images daily for immediate improvements. The Helm chart is updated less frequently, only when new features or significant changes are released. This ensures you get rapid updates while maintaining chart stability.
- Sigrid Docker containers: Monthly at minimum, ideally with each release.
- Sigrid Helm chart: Quarterly, preferred bi-weekly, ideally whenever a new version is available.
Update Instructions
- Pull the latest Docker containers:
INTERNAL_REGISTRY_BASE=<REPLACE-WITH-REGISTRY> VERSION=<REPLACE-WITH-LATEST-VERSION> # e.g. `1.0.20250206` for IMAGE in ai-explanation-service auth-api-db-migration auth-api quality-model-service \ sigrid-api-db-migration sigrid-api sigrid-frontend sigrid-multi-analyzer \ sigrid-multi-importer survey-service; do docker pull softwareimprovementgroup/${IMAGE}:${VERSION} docker tag softwareimprovementgroup/${IMAGE}:${VERSION} ${INTERNAL_REGISTRY_BASE}/softwareimprovementgroup/${IMAGE}:${VERSION} docker push ${INTERNAL_REGISTRY_BASE}/${IMAGE}:${VERSION} done
- Pull the latest Helm chart:
helm pull oci://registry-1.docker.io/softwareimprovementgroup/sigrid-stack --version <latest tag>
- Update the
ImageTag
in the global section of the Helm chart’s values file (usuallycustom-values.yaml
):
global:
ImageTag: "<REPLACE-WITH-LATEST-VERSION>"
- Apply the updates using Helm:
helm upgrade --install sigrid-onprem ./sigrid-stack -n sigrid --values ./sigrid-stack/custom-values.yaml
Test Instructions
- After updating, verify that all pods are running:
- Check the logs of key services for any errors
- Access the Sigrid frontend and perform basic operations to ensure functionality.
- Run a test analysis on a sample project to verify the entire pipeline is working correctly. If any issues are encountered during testing, consider rolling back to the previous version and contacting support.
Additional System Maintenance
In addition to updating Sigrid components, it’s important to maintain other systems that Sigrid depends on:
- PostgreSQL: Ensure that your PostgreSQL database is regularly updated and maintained. Keep the PostgreSQL version within the latest two supported major versions.
- Other (e.g., GitLab): Regularly update and maintain your supporting systems.
The update frequency for these systems should be determined based on your organization’s needs and policies. However, it’s crucial to keep these systems up-to-date to ensure optimal performance, security, and compatibility with Sigrid.
Note: Specific update instructions for PostgreSQL and and other systems are not provided here, as they can vary depending on your setup and chosen systems. Please refer to the official documentation of these systems for proper update procedures.
Contact and support
Feel free to contact SIG’s support department for any questions or issues you may have after reading this document, or when using Sigrid or Sigrid CI. Users in Europe can also contact us by phone at +31 20 314 0953.