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

chore(ci): remove legacy chart repo #5148

Merged
merged 1 commit into from
Dec 5, 2024
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
13 changes: 0 additions & 13 deletions .github/workflows/publish-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
- name: Install Helm
uses: azure/[email protected]

- name: Install Helm Push Plugin
run: helm plugin install https://github.com/chartmuseum/helm-push

- name: Determine Chart Version
id: version
run: |
Expand All @@ -61,9 +58,6 @@ jobs:
--username '${{ secrets.HARBOR_USERNAME }}'
--password '${{ secrets.HARBOR_PASSWORD }}'

- name: Add Helm repository
run: helm repo add opsmill https://${{ vars.HARBOR_HOST }}/chartrepo/opsmill

- name: Package Helm Chart
run: |
helm package --dependency-update ./helm --version ${{ steps.version.outputs.version }}
Expand All @@ -73,12 +67,5 @@ jobs:
run: |
helm push infrahub-${{ steps.version.outputs.version }}.tgz oci://${{ vars.HARBOR_HOST }}/opsmill/chart

- name: Push Helm Chart to traditional repository
if: ${{ inputs.publish }}
run: >
helm cm-push -f infrahub-${{ steps.version.outputs.version }}.tgz opsmill
--username '${{ secrets.HARBOR_USERNAME }}'
--password '${{ secrets.HARBOR_PASSWORD }}'

- name: Cleanup
run: rm -f infrahub-${{ steps.version.outputs.version }}.tgz
Loading