README.md: Fix dated information
The process got a bit more complex with the mandatory client ssl auth for composer.
This commit is contained in:
parent
5adb8b581e
commit
f4c6fe908a
1 changed files with 19 additions and 13 deletions
32
README.md
32
README.md
|
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
You can skip step 3 and 4 if you don't need the full stack locally. However
|
||||||
|
while it's possible to click around the page and use mock data, it won't be able
|
||||||
|
to build images.
|
||||||
|
|
||||||
1. Clone the following repositories:
|
1. Clone the following repositories:
|
||||||
* https://github.com/osbuild/image-builder-frontend
|
* https://github.com/osbuild/image-builder-frontend
|
||||||
* https://github.com/osbuild/image-builder
|
* https://github.com/osbuild/image-builder
|
||||||
* https://github.com/RedHatInsights/insights-proxy
|
* https://github.com/RedHatInsights/insights-proxy
|
||||||
|
|
||||||
Optional: https://github.com/osbuild/osbuild-composer
|
|
||||||
|
|
||||||
2. Setting up the proxy
|
2. Setting up the proxy
|
||||||
|
|
||||||
Choose a runner (podman or docker), and point the SPANDX_CONFIG variable to
|
Choose a runner (podman or docker), and point the SPANDX_CONFIG variable to
|
||||||
|
|
@ -22,28 +24,32 @@ Optional: https://github.com/osbuild/osbuild-composer
|
||||||
sudo -E insights-proxy/scripts/run.sh
|
sudo -E insights-proxy/scripts/run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Starting up osbuild-composer-cloud
|
3. Setting up osbuild-composer(-api)
|
||||||
|
|
||||||
Make sure osbuild-composer is installed and osbuild-composer-cloud is
|
The easiest way to do this is to call `schutzbots/provision-composer.sh` from
|
||||||
enabled:
|
the `osbuild/image-builder` project. This will install composer, generate
|
||||||
|
the needed certs, and put the configuration in place.
|
||||||
`sudo systemctl enable --now osbuild-composer-cloud.socket`
|
|
||||||
|
|
||||||
Start a remote worker like so:
|
|
||||||
|
|
||||||
`sudo systemctl enable --now osbuild-remote-worker@localhost:8704`
|
|
||||||
|
|
||||||
4. Starting up image-builder
|
4. Starting up image-builder
|
||||||
|
|
||||||
|
Point the URL to wherever composer is hosted, the client certificates and CA
|
||||||
|
should be reused or copied over from the composer host, they're located in
|
||||||
|
`/etc/osbuild-composer`.
|
||||||
|
|
||||||
In the image-builder checkout directory
|
In the image-builder checkout directory
|
||||||
|
|
||||||
```
|
```
|
||||||
make build
|
make build
|
||||||
OSBUILD_SERVICE="http://127.0.0.1:8703/" ./image-builder
|
OSBUILD_URL="https://$composer-url:$composer-port/api/composer/v1" \
|
||||||
|
OSBUILD_CERT_PATH=/path/to/client-crt.pem \
|
||||||
|
OSBUILD_KEY_PATH=/path/to/client-key.pem \
|
||||||
|
OSBUILD_CA_PATH=/path/to/ca-crt.pem \
|
||||||
|
./image-builder
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Starting up image-builder-frontend
|
5. Starting up image-builder-frontend
|
||||||
|
|
||||||
In the image-builder-frontend checkout direcotry
|
In the image-builder-frontend checkout directory
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue