Browse Source

Update to alpine helm 3.19

master
parent
commit
10b0051d8e
  1. 6
      .drone.yml

6
.drone.yml

@ -5,13 +5,13 @@ name: update-helm-charts
steps: steps:
# Step 1: Lint all Helm charts # Step 1: Lint all Helm charts
- name: lint-charts - name: lint-charts
image: alpine/helm:3.11.0 image: alpine/helm:3.19.0
commands: commands:
- find charts -maxdepth 2 -type d | grep "/v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$" | xargs -I {} helm lint {} - find charts -maxdepth 2 -type d | grep "/v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$" | xargs -I {} helm lint {}
# Step 2: Package only changed Helm charts # Step 2: Package only changed Helm charts
- name: package-all-charts - name: package-all-charts
image: alpine/helm:3.11.0 image: alpine/helm:3.19.0
commands: commands:
- mkdir -p charts/dist - mkdir -p charts/dist
# Find all versioned chart directories # Find all versioned chart directories
@ -23,7 +23,7 @@ steps:
# Step 3: Push charts to Harbor # Step 3: Push charts to Harbor
- name: push-to-harbor - name: push-to-harbor
image: alpine/helm:3.11.0 image: alpine/helm:3.19.0
commands: commands:
# Fail if credentials are missing # Fail if credentials are missing
- "if [ -z \"$HARBOR_USERNAME\" ] || [ -z \"$HARBOR_PASSWORD\" ]; then echo \"Error: HARBOR_USERNAME or HARBOR_PASSWORD not set\"; exit 1; fi" - "if [ -z \"$HARBOR_USERNAME\" ] || [ -z \"$HARBOR_PASSWORD\" ]; then echo \"Error: HARBOR_USERNAME or HARBOR_PASSWORD not set\"; exit 1; fi"

Loading…
Cancel
Save