Backstage software templates create source code, so your Backstage application needs to be set up to allow repository creation.
This is done in your
app-config.yaml by adding
Backstage integrations for the
appropriate source code repository for your organization.
Note: Integrations may already be set up as part of your
The next step is to add add templates to your Backstage app.
For GitHub, you can configure who can see the new repositories that are created
visibility option. Valid options are
internal option is for GitHub Enterprise clients, which means
public within the enterprise.
scaffolder: github: visibility: public # or 'internal' or 'private'
Disabling Docker in Docker situation (Optional)
Software templates use the
fetch:template action by default, which requires no
external dependencies and offers a
There is also a
fetch:cookiecutter action, which uses
Cookiecutter directly for
templating. By default, the
fetch:cookiecutter action will use the
If you are running Backstage from a Docker container and you want to avoid calling a container inside a container, you can set up Cookiecutter in your own image, this will use the local installation instead.
You can do so by including the following lines in the last step of your
RUN apt-get update && apt-get install -y python3 python3-pip RUN pip3 install cookiecutter