* Use a flag to determine wether to use techdocs-container or local install of mkdocs
* Updated techdocs generator to look at app-config string instead of argument to decide how to run the generator
* Removed console log...
* Reverted scaffolder file that was accidentally committed.
* Fixed lint issues
* Added config to create-app template
This adds a GitLab integration for the scaffolder backend.
We're introduceing a preparer and a publisher for GitLab so that we can
read templates from GitLab and publish them to a configured GitLab
instance. The two instances don't need to be the same. For instance,
templates could be public on gitlab.com, but the created repos will live
in a hosted GitLab somewhere else.
The publisher gets its own config object in `app-config.yaml` where the
target instance and token can be specified.
The service catalogue defines both `gitlab` and `gitlab/api` as
processors. They are both handled by the same preparer.
Closes#2372
* Added age check for documentation in github to make sure it's up to date
* Updated failing tests
* Updated docs to explain requestUrl and storageUrl
* Updated failing tests
* Update packages/create-app/templates/default-app/app-config.yaml.hbs
* Update docs/features/techdocs/getting-started.md
Co-authored-by: Emma Indal <emmai@spotify.com>
* The backend listens to all interfaces by default
Previously, if you did not specify a host, it would only
listen to localhost, so it would not accept connections from the network.
If you use the default generated app, it is configured to listen to 0.0.0.0
which only listens to IPv4 interfaces.
This changes the default behavior, just listen to all interfaces.
* Add some comment
Many cloud providers have an environment variable PORT.
an application is supposed to listen in that port.
Currently, the yaml for listen address looks like this:
```yaml
backend:
listen: 0.0.0.0:7000
```
the problem is that I can't use the port environment variable there.
This PR changes it to this:
```yaml
backend:
listen:
host: 0.0.0.0
port: 7000
```
if I want to use the PORT environment variable, now I can do it like this:
```yaml
backend:
listen:
host: 0.0.0.0
port:
$secret:
env: PORT
```