Skip to content

Commit

Permalink
Revert "feat(CU-8694n02d7): add chart for prometheus exporter and con…
Browse files Browse the repository at this point in the history
…ditional…"

This reverts commit ec266cf.
  • Loading branch information
Apollorion authored Aug 19, 2024
1 parent ec266cf commit 2ff01d2
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 216 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/build-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
- name: Install Helm S3 Plugin
run: helm plugin install https://github.com/hypnoglow/helm-s3.git

- name: Create output directory for spacelift-promex Chart
run: mkdir -p build/chart/spacelift-promex

- name: Create output directory for Spacelift Worker Pool Chart
run: mkdir -p build/chart/worker-pool

Expand All @@ -58,9 +55,6 @@ jobs:
timestamp=$(date +'%s')
echo "CHART_VERSION=${CHART_VERSION_PREFIX}.${timestamp}" >> $GITHUB_ENV
- name: Lint spacelift-promex chart
run: helm lint --strict spacelift-promex/

- name: Lint Spacelift Worker Pool chart
run: helm lint spacelift-worker-pool/

Expand All @@ -73,10 +67,6 @@ jobs:
- name: Lint spacelift-operator chart
run: helm lint --strict spacelift-operator/

- name: Package Spacelift PromEx chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/spacelift-promex spacelift-promex/
- name: Package Spacelift Worker Pool chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/worker-pool spacelift-worker-pool/
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/chart-publish-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
- name: Install Helm S3 Plugin
run: helm plugin install https://github.com/hypnoglow/helm-s3.git

- name: Create output directory for Spacelift PromEx Chart
run: mkdir -p build/chart/spacelift-promex

- name: Create output directory for Spacelift Worker Pool Chart
run: mkdir -p build/chart/worker-pool

Expand Down Expand Up @@ -66,9 +63,6 @@ jobs:
timestamp=$(date +'%s')
echo "CHART_VERSION=${CHART_VERSION_PREFIX}.${timestamp}" >> $GITHUB_ENV
- name: Lint spacelift-promex chart
run: helm lint spacelift-promex/

- name: Lint Spacelift Worker Pool chart
run: helm lint spacelift-worker-pool/

Expand All @@ -81,11 +75,6 @@ jobs:
- name: Lint spacelift-operator chart
run: helm lint spacelift-operator/

- name: Package spacelift-promex chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/spacelift-promex spacelift-promex/
helm s3 push --relative build/chart/spacelift-promex/spacelift-promex-${CHART_VERSION}.tgz spacelift
- name: Package Spacelift Worker Pool chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/worker-pool spacelift-worker-pool/
Expand Down Expand Up @@ -132,7 +121,6 @@ jobs:
run: |
helm repo add spacelift https://downloads.spacelift.dev/helm
helm repo update
helm pull --devel spacelift/spacelift-promex
helm pull --devel spacelift/spacelift-worker
helm pull --devel spacelift/vcs-agent
helm pull --devel spacelift/spacelift-workerpool-controller
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/chart-publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
- name: Install Helm S3 Plugin
run: helm plugin install https://github.com/hypnoglow/helm-s3.git

- name: Create output directory for Spacelift PromEx Chart
run: mkdir -p build/chart/spacelift-promex

- name: Create output directory for Spacelift Worker Pool Chart
run: mkdir -p build/chart/worker-pool

Expand Down Expand Up @@ -69,9 +66,6 @@ jobs:
echo "CHART_VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
- name: Lint Spacelift PromEx chart
run: helm lint spacelift-promex/

- name: Lint Spacelift Worker Pool chart
run: helm lint spacelift-worker-pool/

Expand All @@ -84,11 +78,6 @@ jobs:
- name: Lint spacelift-operator chart
run: helm lint spacelift-operator/

- name: Package Spacelift PromEx chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/spacelift-promex spacelift-promex/
helm s3 push --force --relative build/chart/spacelift-promex/spacelift-promex-${CHART_VERSION}.tgz spacelift
- name: Package Spacelift Worker Pool chart
run: |
helm package --version "$CHART_VERSION" --destination build/chart/worker-pool spacelift-worker-pool/
Expand Down Expand Up @@ -134,7 +123,6 @@ jobs:
run: |
helm repo add spacelift https://downloads.spacelift.io/helm
helm repo update
helm pull spacelift/spacelift-promex
helm pull spacelift/spacelift-worker
helm pull spacelift/vcs-agent
helm pull spacelift/spacelift-workerpool-controller
Expand Down
3 changes: 0 additions & 3 deletions spacelift-promex/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions spacelift-promex/Chart.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions spacelift-promex/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions spacelift-promex/templates/_helpers.tpl

This file was deleted.

55 changes: 0 additions & 55 deletions spacelift-promex/templates/deployment.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions spacelift-promex/values.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions spacelift-workerpool-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,3 @@ description: A Helm chart for deploying spacelift workerpool controller
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
3 changes: 0 additions & 3 deletions spacelift-workerpool-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,3 @@ metricsService:
protocol: TCP
targetPort: https
type: ClusterIP

spacelift-promex:
enabled: false

0 comments on commit 2ff01d2

Please sign in to comment.