Commit graph

27 commits

Author SHA1 Message Date
Gianluca Zuccarelli
44e2a9519b devel: mv to osbuild/getting-started
Move the docker backend to the `getting-started` repo in `osbuild` since
it seems like a more appropriate place for the backend stack. Add a note
to the README to point users to the new repository.
2023-10-11 09:34:52 +02:00
jkozol
5a34506eb6 devel: update local containerized development
Update multiple aspects of our docker development stack. The frontend now
has a devel specific webpack that allows development against a local server/api.
The docker-composer.yaml also includes both versioning and networking updates.
Overall, the major change is to migrate our proxy access into the crc webpack proxy.
2023-10-11 09:34:52 +02:00
Sanne Raymaekers
b5c4a8f351 devel: expose correct composer ports and use tern migrations 2022-11-18 14:00:15 +01:00
Ondřej Budai
1a1c6b2714 devel/gen-dashboard: use python3 explicitly in the shebang
So people don't have to install python-unversioned-command on Fedora. It saves
you 11 kB of disk space, worth it. :P
2022-08-04 12:18:07 +02:00
Gianluca Zuccarelli
69595bd645 devel: update composer entrypoint
Minor fix to add the an entrypoint for
the composer container to override the
default entrypoint in the `Dockerfile-ubi`
2022-07-14 17:59:54 +02:00
Gianluca Zuccarelli
7eb202e800 devel: remove frontend spandx proxy
Since the frontend uses its own webpack
proxy, these config options have been removed
from the spandx config and only the backend
proxy is being configured.
2022-07-14 17:59:54 +02:00
Gianluca Zuccarelli
110c0c674b
Fix docker stack (#713)
* devel: update composer config

Update some of the config for the docker-compose
file since there have been a few changes and the
config is slightly out of date. Additionally, a
refresh_token parameter was added to the oauth_url
since this is used by composer's mock openid provider
to generate the `rh-id-org` key in the jwt token.

* distribution: update frontend entrypoint

Update the command for spinning up the frontend
to match the new script command.

* devel: remove offline token

Remove the offline token and replace
with a client secret instead.

* devel: add metrics profile

Only launch the metrics containers when
explictly requested. This helps decrease
the logging output when the metrics are
not required. The metrics can be called
with `docker-compose --profile metrics up`
2022-04-26 14:00:53 +01:00
Lucas Garfield
690260b07f
devel: typo fix (#561)
Fixed a typo in devel/README.md
2022-02-07 20:36:23 +01:00
Gianluca Zuccarelli
7cb0f4135f devel: privileged worker
Provide worker with privileges needed for
loopback devices.
2021-11-12 16:08:06 +00:00
Gianluca Zuccarelli
90e2fefc56 devel: mock oauth server
Add a mock oauth server for the devel
stack in order to simulate the openshift
sso offline_token
2021-11-12 16:08:06 +00:00
Gianluca Zuccarelli
2b45ad8984 devel: cert dir env
Change the cert dir env variable to include the full
cert path to make it easier to change the cert directory
if needed.
2021-11-12 16:08:06 +00:00
Gianluca Zuccarelli
304e012168 devel: add ib quotas file 2021-11-12 16:08:06 +00:00
Gianluca Zuccarelli
82c45b5084 devel: remove duplicate dashboard 2021-11-12 16:08:06 +00:00
Gianluca Zuccarelli
53b5bdf72b devel: re-use existing dashboards
Rather than have duplicate copies of the dashboard in this repo,
I've added a python script to extract the dashboard configs from
the image-builder and osbuild-composer repos. The script is called
in the `setup.sh` script.`
2021-10-29 11:02:22 +01:00
Gianluca Zuccarelli
bc05bdc0ac devel: update prometheus config
Enable prometheus scraping of the composer endpoints of the
composer instance, which is then used for the composer grafana
dashboard.
2021-10-29 11:02:22 +01:00
Gianluca Zuccarelli
de7d5ba702 devel: prometheus-grafana integration
Add prometheus and grafana integration to the
devel container stack. This should make it easier
to run and configure grafana dashboards locally.
2021-09-29 22:02:27 +02:00
Gianluca Zuccarelli
fccdf1219c containers: worker client base url protocol
The base url for the osbuild-worker container was
missing the `https` protocol in the docker-compose file.
This commit adds this to prevent the worker from exiting
2021-09-24 14:17:06 +02:00
Sanne Raymaekers
f6e795c1bc devel: Drop privileged and rely on cap_add 2021-08-10 15:06:24 +02:00
Sanne Raymaekers
8e337cd304 Revert "devel: Privileged and cap_add are mutually exclusive"
This reverts commit d407442c83.
2021-08-10 15:06:24 +02:00
Sanne Raymaekers
ebd9547cb4 devel: Decribe worker entrypoint as a list 2021-08-10 15:06:24 +02:00
Sanne Raymaekers
58350f90e8 devel: Restart worker container on failure 2021-08-10 15:06:24 +02:00
Sanne Raymaekers
ca04791e06 devel: Relabel volumes 2021-08-10 15:06:24 +02:00
Sanne Raymaekers
d407442c83 devel: Privileged and cap_add are mutually exclusive 2021-08-09 13:33:41 +02:00
Sanne Raymaekers
297ed210f2 devel: Fix deployment
Includes:
* Include registry in container name
  Otherwise it won't find the image in case an alias doesn't exist.
* Simplify spandx config
* Include healthchecks for the postgres and image-builder containers
2021-08-08 15:20:37 +03:00
Jacob Kozol
f9f591476e devel: update image builder link to point to UI 2021-06-11 18:22:01 +01:00
Gianluca Zuccarelli
3132e19d80
devtools: Update readme
Detail how to make uploads work.
2021-06-09 14:40:50 +02:00
Tom Gundersen
886bd768dc devel: add full-stack development environment
This integrates all the Image Builder components needed by the
cloud.redhat.com frontend and allows them to be developed and run
locally using `docker compose`.

This should make it simple to make patches across the different
components and develop them in tandem.

Thanks to Achilleas Koutsou for the initial idea and implementation
in osbuild-composer.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00