Skip to content

Commit

Permalink
Load the local templates files. qshift
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Jun 5, 2024
1 parent 8b01628 commit 59472a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/resources/app-config.qshift.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ catalog:
target: ${TEMPLATE_URL} # default could be : https://github.com/q-shift/backstage-playground/blob/main/locations/root.yaml
rules:
- allow: [API,Component,User,Group,Location,Resource,System,Template]
#- type: file
# target: ../../locations/root.yaml
# rules:
# - allow: [API,Component,User,Group,Location,Resource,System,Template]
- type: file
target: ../../locations/root.yaml
rules:
- allow: [API,Component,User,Group,Location,Resource,System,Template]

integrations:
github:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backstage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ jobs:
- name: Launch backstage
working-directory: backstage-playground
run: |
yarn workspace app start &
yarn workspace backend start &
yarn workspace app start &
until curl --output /dev/null --head --fail http://localhost:3000; do echo "Wait till backstage is running ...."; sleep 5; done
- name: Check backstage resources
run: |
echo "Show the locations"
echo "Show the locations ..."
curl "http://localhost:7007/api/catalog/entities?filter=kind=location" \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BACKSTAGE_AUTH_SECRET" \
Expand Down

0 comments on commit 59472a9

Please sign in to comment.