Skip to content

Commit

Permalink
make sure cluster name start with alphabetic char
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed May 17, 2024
1 parent 279f17d commit 6190be5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/rosa-create-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ runs:
sudo rm -rf /usr/local/aws-cli
mkdir -p /tmp/awscli && cd /tmp/awscli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${{ inputs.awscli-version }}.zip" -o "awscliv2.zip"
unzip awscliv2.zip
unzip -qq awscliv2.zip
sudo ./aws/install
cd - && rm -Rf /tmp/awscli
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/rosa-delete-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
sudo rm -rf /usr/local/aws-cli
mkdir -p /tmp/awscli && cd /tmp/awscli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${{ inputs.awscli-version }}.zip" -o "awscliv2.zip"
unzip awscliv2.zip
unzip -qq awscliv2.zip
sudo ./aws/install
cd - && rm -Rf /tmp/awscli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
if [[ -n "${{ inputs.cluster_name }}" ]]; then
cluster_name="${{ inputs.cluster_name }}"
else
cluster_name=$(git rev-parse --short HEAD)
cluster_name="cl-$(git rev-parse --short HEAD)"
fi
echo "cluster_name=$cluster_name" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 6190be5

Please sign in to comment.