#create-app parameter

1 messages · Page 1 of 1 (latest)

dusty sandal
#

Heya!
Is there a way to pass the app-name and the DB option as a parameter during the npx @backstage/create-app execution?
Or do we need to use the prompt mode?
Thanks

weak sapphire
#

Hi @dusty sandal, the DB option was removed from the @backstage/create-app several months ago. It looks like if you set the BACKSTAGE_APP_NAME environment variable it will use that as the name.

#

Just curious but why do you need this? You really only need to run this once and never again

dusty sandal
#

hey @weak sapphire thanks for replying and from your question, looks like I'm going to the wrong direction on what I'm trying to achieve. 😄
So, we have an instance of backstage running which was generated months ago. The process to generate it was to run the create app, generate a container image and we're using that image to deploy to a kube cluster.
What generated my question was around the upgrade of the backstage version we're currently running. My idea was to grab the release from backstage, run the create app and update the repo where we're generating the image to be deployed into our environment..

Is there another process to upgrade our backstage repo when a new version is released?

#

IOn fact, nevermind.. it was the next page of the docs.. 🤦‍♂️