Skip to content

Commit

Permalink
Add workaround for errors when packaging the hawkbit chart.
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Lohmann <[email protected]>
  • Loading branch information
calohmn committed Sep 20, 2022
1 parent c042a74 commit 8f0a054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ podTemplate(

stage('Helm Build') {
dir("build") {
// adding the bitnami repo below serves as a workaround for sporadic "no cached repository" errors when packaging the hawkbit chart
sh '''
${WORKSPACE}/helm repo add bitnami-full https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
mkdir -p helm-repository
for i in $(ls charts/*/Chart.yaml packages/*/Chart.yaml); do
echo "Building $(dirname $i) ..."
Expand Down

0 comments on commit 8f0a054

Please sign in to comment.