Skip to content

Commit

Permalink
Merge pull request #1516 from thehyve/devops/FAIRSPC-23_deployment
Browse files Browse the repository at this point in the history
fixed workflow input for helm jobs
  • Loading branch information
tgreenwood authored Apr 3, 2024
2 parents 0db166c + bcd0f0c commit 81d13a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Deploy Helm Chart to FNS GKE
on:
workflow_dispatch:
inputs:
name:
description: "Manual trigger for Helm chart deploy"
version:
description: "Version of the Helm chart to deploy (optional, defaults to latest snapshot)"
description: "Version of the Helm chart to deploy (optional, defaults to latest snapshot)"
required: false
environment:
env:
type: choice
description: "Environment to deploy to"
required: true
default: "test"
Expand Down Expand Up @@ -46,7 +45,7 @@ jobs:
- name: Define Helm Chart version (taken from input or latest snapshot)
run: |
VERSION=$(cat ./VERSION)
VERSION=$(cat ./VERSION)-SNAPSHOT
if [ -n "${{ github.event.inputs.version }}" ]; then
VERSION=${{ github.event.inputs.version }}
fi
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/package_and_push_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- release
workflow_dispatch:
inputs:
name:
description: "Manual trigger for Helm chart packaging and pushing"
version:
description: "Version of the Helm chart to push"
required: false
Expand Down

0 comments on commit 81d13a9

Please sign in to comment.