Skip to content

Commit

Permalink
remove certificate chart from beta workflow (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmepham authored Jan 9, 2025
1 parent f2a0ede commit ad0be01
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build-and-publish-beta-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3

- name: Build cloudzero-certificate Dependencies
run: helm dependency update charts/cloudzero-certificate/

- name: Package cloudzero-certificate Chart
run: helm package charts/cloudzero-certificate/ --destination .deploy

- name: Build Cloudzero Agent Dependencies
run: helm dependency update charts/cloudzero-agent/

Expand All @@ -71,11 +65,6 @@ jobs:
VERSION_LINE=$(awk '/version:/ && !done {print NR; done=1}' charts/cloudzero-agent/Chart.yaml)
sed -i ''$VERSION_LINE's/.*/version: ${{ env.NEW_VERSION }}/' charts/cloudzero-agent/Chart.yaml
- name: Update Chart Version for cloudzero-certificate
run: |
VERSION_LINE=$(awk '/version:/ && !done {print NR; done=1}' charts/cloudzero-certificate/Chart.yaml)
sed -i ''$VERSION_LINE's/.*/version: ${{ env.NEW_VERSION }}/' charts/cloudzero-certificate/Chart.yaml
- name: Validate Release Notes are Present
run: |
if [ ! -f "charts/cloudzero-agent/docs/releases/${{ env.NEW_VERSION }}.md" ]; then
Expand All @@ -84,11 +73,6 @@ jobs:
fi
# Step 4: Package and Commit Chart
- name: Package Chart
run: |
helm package charts/cloudzero-agent/ --destination .deploy
helm package charts/cloudzero-certificatecontroller/ --destination .deploy
- name: Commit updated Chart.yaml
run: |
git add .
Expand All @@ -99,12 +83,6 @@ jobs:
continue-on-error: true

# Step 7: Handle Artifacts and Update Pages
- name: Upload Insight Controller Chart as Artifact
uses: actions/upload-artifact@v4
with:
name: cloudzero-certificate
path: .deploy/cloudzero-certificate-${{ env.NEW_VERSION }}.tgz

- name: Upload Cloudzero Agent Chart as Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -116,12 +94,6 @@ jobs:
run: |
git checkout -f gh-pages
- name: Move release Tarball
run: |
cp .deploy/cloudzero-certificate-${{ env.NEW_VERSION }}.tgz ./beta/
cp .deploy/cloudzero-agent-${{ env.NEW_VERSION }}.tgz ./beta/
rm -fr .deploy
- name: Update Index
run: helm repo index --url https://cloudzero.github.io/cloudzero-charts/beta ./beta/

Expand Down

0 comments on commit ad0be01

Please sign in to comment.