Skip to content

Commit

Permalink
Merge pull request #8 from pdettori/ci
Browse files Browse the repository at this point in the history
🐛 fix charts artifacts naming
  • Loading branch information
pdettori authored Jun 1, 2024
2 parents b9b35fb + fc30119 commit fb759a7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
chartVersion=$(echo ${{ github.ref_name }} | cut -c 2-)
cd clustermetrics && make chart IMG=${{ env.REGISTRY }}/${{ env.REPO }}/cluster-metrics:${{github.ref_name}} && cd -
helm package ${{ env.CHARTS_PATH }}/cluster-metrics --destination . --version ${chartVersion} --app-version ${chartVersion}
helm push ./cluster-metrics-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
helm push ./cluster-metrics-chart-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
- name: Package and push mc-scheduling chart
run: |
chartVersion=$(echo ${{ github.ref_name }} | cut -c 2-)
cd mc-scheduling && make chart IMG=${{ env.REGISTRY }}/${{ env.REPO }}/mc-scheduler:${{github.ref_name}} && cd -
helm package ${{ env.CHARTS_PATH }}/mc-scheduling --destination . --version ${chartVersion} --app-version ${chartVersion}
helm push ./mc-scheduling-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
helm push ./mc-scheduling-chart-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
- name: Package and push shadow-pods chart
run: |
Expand All @@ -78,7 +78,7 @@ jobs:
-e "s|loki_logger_image_placeholder|${{ env.REGISTRY }}/${{ env.REPO }}/loki-logger|g" \
${{ env.CHARTS_PATH }}/shadow-pods/values.yaml
helm package ${{ env.CHARTS_PATH }}/shadow-pods --destination . --version ${chartVersion} --app-version ${chartVersion}
helm push ./shadow-pods-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
helm push ./shadow-pods-chart-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}

- name: Package and push suspend-webhook chart
Expand All @@ -88,4 +88,4 @@ jobs:
-e "s|tag_placeholder|${{github.ref_name}}|g" \
${{ env.CHARTS_PATH }}/suspend-webhook/values.yaml
helm package ${{ env.CHARTS_PATH }}/suspend-webhook --destination . --version ${chartVersion} --app-version ${chartVersion}
helm push ./suspend-webhook-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
helm push ./suspend-webhook-chart-${chartVersion}.tgz oci://${{ env.REGISTRY }}/${{ env.REPO }}
2 changes: 1 addition & 1 deletion charts/cluster-metrics/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: cluster-metrics
name: cluster-metrics-chart
description: A Helm chart for cluster metrics controller

# A chart can be either an 'application' or a 'library' chart.
Expand Down
2 changes: 1 addition & 1 deletion charts/kueue-ks/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: kueue-ks
name: kueue-ks-chart
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
2 changes: 1 addition & 1 deletion charts/mc-scheduling/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: mc-scheduling
name: mc-scheduling-chart
description: A Helm chart the multicluster scheduling controller

# A chart can be either an 'application' or a 'library' chart.
Expand Down
2 changes: 1 addition & 1 deletion charts/shadow-pods/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: shadow-pods
name: shadow-pods-chart
description: A Helm chart for creating shadow pods for a argo workflow

# A chart can be either an 'application' or a 'library' chart.
Expand Down
2 changes: 1 addition & 1 deletion charts/suspend-webhook/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: suspend-webhook
name: suspend-webhook-chart
description: A Helm chart for the "suspend" mutating admission webhooks

# A chart can be either an 'application' or a 'library' chart.
Expand Down

0 comments on commit fb759a7

Please sign in to comment.