File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,21 +40,19 @@ rm -rf ../charts/sonarqube/charts
4040mkdir -p sonarqube-azure/charts/
4141
4242
43- # 2. Clean existing dependencies and rebuild from scratch
44- echo " 2a. Cleaning existing SonarQube chart dependencies..."
43+ # 2. Build all required Helm chart dependencies
44+ echo " 2a. Build fresh SonarQube dependencies..."
4545cd ../charts/sonarqube
4646rm -rf charts/ Chart.lock
47- echo " Existing dependencies cleaned. Rebuilding from scratch..."
48-
49- # 2b. Build fresh SonarQube dependencies
5047helm dependency update
5148echo " SonarQube dependencies rebuilt successfully."
5249
53- # 2c . Navigate into the wrapper chart directory and update Helm dependencies
54- echo " 2c . Updating Helm dependencies for the wrapper chart (sonarqube-azure)..."
50+ # 2b . Navigate into the wrapper chart directory and update Helm dependencies
51+ echo " 2b . Updating Helm dependencies for the wrapper chart (sonarqube-azure)..."
5552# This command will read sonarqube-azure/Chart.yaml and package the 'sonarqube'
5653# dependency (from ../charts/sonarqube) into sonarqube-azure/charts/sonarqube-${SONARQUBE_CHART_VERSION}.tgz
5754cd ../../azure-marketplace-k8s-app/sonarqube-azure
55+ rm -rf ../../charts/sonarqube/.cache/helm/repository/* # Workaround for Helm caching issues on Cirrus
5856helm dependency update
5957echo " Helm dependencies updated. Packaged subchart is now in sonarqube-azure/charts/."
6058
You can’t perform that action at this time.
0 commit comments