From 9824da7b17b7a67df141a5acc0630293882f61b5 Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Mon, 24 Jun 2024 17:48:50 +0530 Subject: [PATCH] upgrade starship action to use starship cli 2.9.0 --- action.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/action.yaml b/action.yaml index 5643893..8538b3e 100644 --- a/action.yaml +++ b/action.yaml @@ -11,7 +11,7 @@ inputs: cli-version: description: "Version of @starship-ci/cli to use: default: 2.8.1" required: false - default: "2.8.1" + default: "2.9.0" kubeconfig: description: "Kubeconfig file for remote cluster, if set, will be used instead of creating kind cluster" required: false @@ -126,9 +126,9 @@ runs: run: | starship setup \ --config ${{ inputs.config }} \ - --helmName ${{ inputs.name }} \ - --helmNamespace ${{ steps.set-namespace.outputs.namespace }} \ - --helmChart ${{ inputs.chart }} + --name ${{ inputs.name }} \ + --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --chart ${{ inputs.chart }} shell: bash - name: Helm install @@ -139,9 +139,9 @@ runs: sleep 5 starship start \ --config ${{ inputs.config }} \ - --helmName ${{ inputs.name }} \ - --helmNamespace ${{ steps.set-namespace.outputs.namespace }} \ - --helmChart ${{ inputs.chart }} + --name ${{ inputs.name }} \ + --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --chart ${{ inputs.chart }} shell: bash - name: Logs @@ -169,9 +169,9 @@ runs: kubectl get pods --namespace ${{ steps.set-namespace.outputs.namespace }} starship start \ --config ${{ inputs.config }} \ - --helmName ${{ inputs.name }} \ - --helmNamespace ${{ steps.set-namespace.outputs.namespace }} \ - --helmChart ${{ inputs.chart }} + --name ${{ inputs.name }} \ + --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --chart ${{ inputs.chart }} shell: bash - name: Helm install again, 3rd time is the charm @@ -183,7 +183,7 @@ runs: kubectl get pods --namespace ${{ steps.set-namespace.outputs.namespace }} starship start \ --config ${{ inputs.config }} \ - --helmName ${{ inputs.name }} \ - --helmNamespace ${{ steps.set-namespace.outputs.namespace }} \ - --helmChart ${{ inputs.chart }} + --name ${{ inputs.name }} \ + --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --chart ${{ inputs.chart }} shell: bash