Skip to content

Commit

Permalink
chore: update event handler location (#165)
Browse files Browse the repository at this point in the history
* chore: update event handler location

Signed-off-by: Brad McCoy <[email protected]>

* chore: update step name

Signed-off-by: Brad McCoy <[email protected]>

Signed-off-by: Brad McCoy <[email protected]>
Signed-off-by: Brad McCoy <[email protected]>
Co-authored-by: Brad McCoy <[email protected]>
  • Loading branch information
bradmccoydev and Brad McCoy authored Sep 7, 2022
1 parent 52264f0 commit 757923e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/initrepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" ./**/*.yaml
sed -irn 's/version:.*$/version: "0.1.0"/g' chart/Chart.yaml
sed -irn 's/appVersion:.*$/appVersion: "0.1.0"/g' chart/Chart.yaml
- name: Update .gitignore, Dockerfile and GetSLI eventhandler
- name: Update .gitignore, Dockerfile, actionTriggered eventhandler, and GetSLI eventhandler
run: |
NEW_SERVICE_NAME=$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///')
ESCAPED_ORIGINAL=$(printf '%s\n' "$ORIGINAL_SERVICE_NAME" | sed -e 's/[\/&]/\\&/g')
ESCAPED_REPLACE=$(printf '%s\n' "$NEW_SERVICE_NAME" | sed -e 's/[\/&]/\\&/g')
sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" .ci_env .gitignore Dockerfile main.go eventhandlers.go eventhandler_test.go test-events/*.json
sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" .ci_env .gitignore Dockerfile main.go handler/*.go test-events/*.json
- name: Update README.md
run: |
ESCAPED_ORIGINAL=$(printf '%s\n' "$ORIGINAL_IMAGE_NAME" | tr '[:upper:]' '[:lower:]' | sed -e 's/[\/&]/\\&/g')
Expand Down

0 comments on commit 757923e

Please sign in to comment.