Skip to content

Commit

Permalink
Fix wrong indentation. Add curl request to get the locations. 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 7d6d2fd commit 9c073e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/resources/app-config.qshift.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ integrations:
# This is a Personal Access Token or PAT from GitHub. You can find out how to generate this token, and more information
# about setting up the GitHub integration here: https://backstage.io/docs/getting-started/configuration#setting-up-a-github-integration
token: ${GITHUB_PERSONAL_ACCESS_TOKEN}
gitea:

gitea:
- host: ${GITEA_URL}
username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/backstage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,14 @@ jobs:
working-directory: backstage-playground
run: |
yarn workspace app start &
yarn workspace backend start
yarn workspace backend start
- name: Check backstage resources
run: |
curl -s 'http://localhost:7007/api/catalog/entities?filter=kind%3Dlocation' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BACKSTAGE_AUTH_SECRET" \
-H 'Referer: http://localhost:3000/' \
-H 'Origin: http://localhost:3000' \
--compressed \
| jq -r

0 comments on commit 9c073e0

Please sign in to comment.