Skip to content

Commit

Permalink
fix(test): adds auth test key as auth is mandatory (#187)
Browse files Browse the repository at this point in the history
* fix(test): adds auth test key as auth is mandatory

Authentication has been enabled by default in newer versions of
Backstage. This adds a dummy secret so tests can continue as normal

Signed-off-by: ChrisJBurns <[email protected]>

* updates schema json

Signed-off-by: ChrisJBurns <[email protected]>

* bump version

Signed-off-by: ChrisJBurns <[email protected]>

* Adds a more representative secret

Signed-off-by: ChrisJBurns <[email protected]>

* moves comment

Signed-off-by: ChrisJBurns <[email protected]>

* whitespace :(

Signed-off-by: ChrisJBurns <[email protected]>

* adds test auth key

Signed-off-by: ChrisJBurns <[email protected]>

* adds missing node

Signed-off-by: ChrisJBurns <[email protected]>

* adds app baseurl

Signed-off-by: ChrisJBurns <[email protected]>

* adds base url

Signed-off-by: ChrisJBurns <[email protected]>

* ci: add missing techdocs config

Signed-off-by: Vincenzo Scamporlino <[email protected]>

* chore: upgrade schema

Signed-off-by: Vincenzo Scamporlino <[email protected]>

* Apply suggestions from code review

Signed-off-by: Vincenzo Scamporlino <[email protected]>

---------

Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: Vincenzo Scamporlino <[email protected]>
Co-authored-by: Vincenzo Scamporlino <[email protected]>
  • Loading branch information
ChrisJBurns and vinzscam authored May 9, 2024
1 parent 9343f0d commit 68d8aec
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 24 deletions.
4 changes: 4 additions & 0 deletions charts/backstage/ci/appConfig-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ backstage:
baseUrl: https://somedomain.tl
listen:
port: 12345
auth:
keys:
# Is just a random b64 string for test purposes
- secret: N4+P+zJrErWRUGm0ZbVVhX1ZC81aSP81
13 changes: 13 additions & 0 deletions charts/backstage/ci/probes-values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
backstage:
appConfig:
techdocs:
builder: "local"
app:
# Let's test that everything is fine with comments
title: The very best Backstage Helm Chart! :D
baseUrl: https://somedomain.tl
backend:
baseUrl: https://somedomain.tl
auth:
keys:
# Is just a random b64 string for test purposes
- secret: N4+P+zJrErWRUGm0ZbVVhX1ZC81aSP81
readinessProbe:
failureThreshold: 3
httpGet:
Expand Down
Loading

0 comments on commit 68d8aec

Please sign in to comment.