Skip to content

Commit

Permalink
Make sure local testing is still possible
Browse files Browse the repository at this point in the history
With the new release, testing locally was broken because the
backend couldn't start. This is because we need to add a flag
to use the legacy backend.

Once the migration to the new backend system is done, this can
be removed
  • Loading branch information
ivgo committed Jan 9, 2024
1 parent b6e7522 commit d7685d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/nine-buckets-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@spreadshirt/backstage-plugin-s3-viewer-backend': patch
---

Add legacy flag for local development. This flag can be removed once the
migration to the new backend-system is done.
2 changes: 1 addition & 1 deletion plugins/s3-viewer-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"role": "backend-plugin"
},
"scripts": {
"start": "backstage-cli package start",
"start": "LEGACY_BACKEND_START=1 backstage-cli package start",
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
Expand Down

0 comments on commit d7685d6

Please sign in to comment.