Skip to content

Commit

Permalink
[DEVOPS-349] Move Jira ticket id to end of app name
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 15, 2023
1 parent 622ace5 commit 313a19f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ephemeral-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ jobs:
id: checksum
run: |
CHECKSUM=$(echo -n '${{ steps.repository-name.outputs.repositoryName }}-${{ steps.jira-ticket.outputs.jiraTicketIdLc }}' | sha256sum | awk '{print $1}')
URL="${{ steps.jira-ticket.outputs.jiraTicketIdLc }}-${CHECKSUM}"
SHORT_URL=${URL:0:32}
echo "containerAppName=${SHORT_URL}" >> $GITHUB_OUTPUT
SHORT_CHECKSUM=${CHECKSUM:0:16}
CONTAINER_APP_NAME="${SHORT_CHECKSUM}-${{ steps.jira-ticket.outputs.jiraTicketIdLc }}"
echo "containerAppName=${CONTAINER_APP_NAME}" >> $GITHUB_OUTPUT
outputs:
environment: ${{ steps.environment.outputs.environment }}
jiraTicketId: ${{ steps.jira-ticket.outputs.jiraTicketId }}
Expand Down

0 comments on commit 313a19f

Please sign in to comment.