Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CP-24668] remove cloudzero-certificate from beta workflow #133

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading