Skip to content

Commit

Permalink
cut down on resource name lengths for NRG limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McBride authored and Charlie McBride committed Nov 21, 2023
1 parent 389dc12 commit 0925033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
install skaffold /usr/local/bin/
- name: generate rg name
run: |
RG_NAME=$(echo karpenter-e2e-${{ inputs.suite }}-rg-${{ inputs.hash }} | awk '{print tolower($0)}')
RG_NAME=$(echo karpenter-e2e-${{ inputs.suite }}-${{ inputs.hash }} | awk '{print tolower($0)}')
echo "Using resource group name \"$RG_NAME\""
echo RG_NAME=$RG_NAME >> $GITHUB_ENV
- name: generate acr name
Expand All @@ -83,7 +83,7 @@ jobs:
sleep $(( $RANDOM % 60 + 1 ))
- name: generate cluster name
run: |
CLUSTER_NAME=$(echo ${{ inputs.suite }}-mc-${{ inputs.hash }} | awk '{print tolower($0)}')
CLUSTER_NAME=$(echo mc | awk '{print tolower($0)}')
echo "Using cluster name \"$CLUSTER_NAME\""
echo CLUSTER_NAME=$CLUSTER_NAME >> $GITHUB_ENV
- name: create aks cluster '${{ env.CLUSTER_NAME }}'
Expand Down

0 comments on commit 0925033

Please sign in to comment.