Skip to content

Commit

Permalink
feat: make spacelift-promex a dependency of this chart conditionally (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollorion authored Aug 19, 2024
1 parent ec266cf commit 57e7c8b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
run: helm lint vcs-agent/

- name: Lint spacelift-workerpool-controller chart
run: helm lint --strict spacelift-workerpool-controller/
run: |
helm dependency update spacelift-workerpool-controller/
helm lint --strict spacelift-workerpool-controller/
- name: Lint spacelift-operator chart
run: helm lint --strict spacelift-operator/
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/chart-publish-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: helm lint vcs-agent/

- name: Lint spacelift-workerpool-controller chart
run: helm lint spacelift-workerpool-controller/
run: |
helm dependency update spacelift-workerpool-controller/
helm lint spacelift-workerpool-controller/
- name: Lint spacelift-operator chart
run: helm lint spacelift-operator/
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/chart-publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ jobs:
run: helm lint spacelift-promex/

- name: Lint Spacelift Worker Pool chart
run: helm lint spacelift-worker-pool/
run: |
helm dependency update spacelift-workerpool-controller/
helm lint spacelift-worker-pool/
- name: Lint Spacelift VCS Agent chart
run: helm lint vcs-agent/
Expand Down
14 changes: 5 additions & 9 deletions spacelift-workerpool-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ type: application
version: 0.1.0
appVersion: "v0.0.12"

# TODO:// Make spacelift-promex a dependency of this chart
# This should be done after spacelift-promex is published to the Helm repository
#dependencies:
# - name: spacelift-promex
# version: 0.0.1
# repository: "https://downloads.spacelift.io/helm"
# # For local testing
# #repository: "file://../spacelift-promex"
# condition: spacelift-promex.enabled
dependencies:
- name: spacelift-promex
version: 0.25.0
repository: "https://downloads.spacelift.io/helm"
condition: spacelift-promex.enabled

0 comments on commit 57e7c8b

Please sign in to comment.