Skip to content

Commit

Permalink
Do yq test 1. qshift
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Jun 4, 2024
1 parent 3735f59 commit c2eef9c
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/backstage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,18 @@ jobs:
EOF
cat app-config.local.yaml
- name: Override backstage URLs
run: |
yq -i '.app.baseUrl = "http://localhost:3000"' backstage-playground/app-config.local.yaml
yq -i '.backend.baseUrl = "http://localhost:7007"' backstage-playground/app-config.local.yaml
yq -i '.backend.cors.origin = "http://localhost:7007"' backstage-playground/app-config.local.yaml
cat backstage-playground/app-config.local.yaml
- name: Override URLs
uses: mikefarah/yq@v4
with:
cmd: yq -i '.app.baseUrl = "http://localhost:3000"' backstage-playground/app-config.local.yaml; yq -i '.backend.baseUrl = "http://localhost:7007"' backstage-playground/app-config.local.yaml; yq -i '.backend.cors.origin = "http://localhost:7007"' backstage-playground/app-config.local.yaml

#- name: Override backstage URLs
# run: |
# yq -i '.app.baseUrl = "http://localhost:3000"' backstage-playground/app-config.local.yaml
# yq -i '.backend.baseUrl = "http://localhost:7007"' backstage-playground/app-config.local.yaml
# yq -i '.backend.cors.origin = "http://localhost:7007"' backstage-playground/app-config.local.yaml
#
# cat backstage-playground/app-config.local.yaml

- name: Launch backstage
working-directory: backstage-playground
Expand Down

0 comments on commit c2eef9c

Please sign in to comment.