Skip to content

Commit

Permalink
Update AKS and EKS actions to only receive input not in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlassis committed Oct 7, 2024
1 parent 9965dd1 commit b3829b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Process bundle versions
id: process_bundle_versions
run: python scripts/gh-actions/parse_versions.py '${{ inputs.bundle_version }}'
run: python scripts/gh-actions/parse_versions.py "${{ inputs.bundle_version }}"

deploy-ckf-to-aks:
needs: preprocess-input
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Process bundle versions
id: process_bundle_versions
run: python scripts/gh-actions/parse_versions.py '${{ inputs.bundle_version }}'
run: python scripts/gh-actions/parse_versions.py "${{ inputs.bundle_version }}"

deploy-ckf-to-eks:
needs: preprocess-input
Expand Down
2 changes: 0 additions & 2 deletions scripts/gh-actions/parse_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

# Parse the versions given as a comma-separated list and return a JSON array
def parse_versions(input_versions):
# Remove double quotes
input_versions = input_versions.strip('"')
# Remove whitespace between entries
input_versions = input_versions.replace(" ", "")

Expand Down

0 comments on commit b3829b7

Please sign in to comment.