Commit graph

14 commits

Author SHA1 Message Date
Simon Steinbeiss
add35b86ce DEPLOYING/HACKING.md: Consistently use inline refs
The footnote or endnote style links sometimes don't work well with
DocuSaurus, i.e. they're not resolved correctly and lead to build
errors.
https://github.com/osbuild/osbuild.github.io/actions/runs/7776075785/job/21202788034?pr=36
2024-02-05 10:56:45 +01:00
Simon Steinbeiss
1d1b410654 HACKING/DEPLOYING.md: Markdown syntax fixes 2024-02-04 17:08:57 +01:00
Tom Gundersen
9b89df57b6 docker-compose: integrate dev container
Integrate the dev container into docker compose with the aim
of making test-case generation work as well as composer-cli.

This also makes docker-compose self contained, and no setup or configuration is required beyond running `docker compose up --build`.
2022-02-27 20:55:03 +00:00
sanne
4e56f04dd7 templates: Composer OSD template 2021-10-05 16:45:55 +02:00
Gianluca Zuccarelli
bc9e340ca5 HACKING: fix container command
Update the path for the osbuild-worker.toml config file.
2021-09-23 13:28:27 +01:00
Achilleas Koutsou
f19e7a9c64 HACKING: Typo fixes 2021-02-11 09:37:36 +01:00
Achilleas Koutsou
444702c10b HACKING: Minor typo fix
Small typo spotted in env variable
2021-02-11 09:37:36 +01:00
Achilleas Koutsou
8ebcca23ae HACKING: Describe disadvantages of container setup 2021-01-30 13:20:11 +00:00
Achilleas Koutsou
14183ba10a containers: Make config path configurable
Container configuration directory can be set in the .env file which is
automatically used by docker-compose.  The default value is the one used
previously (containers/config).
The HACKING.md guide is updated to describe how to set this and how it
affects other commands.
2021-01-30 13:20:11 +00:00
Achilleas Koutsou
524d8ec42d HACKING: Add Containers section
Describes how to set up and run the containers for local testing.
2021-01-30 13:20:11 +00:00
Lars Karlitski
34e61491b0 HACKING.md: improve link 2020-10-20 15:43:30 +02:00
Ondřej Budai
baea7ac7ee docs/HACKING: add a note about how to grow the image
Yesterday, I spent more hours than I would like to admit debugging tests that
was failing because the Fedora cloud base image has only 4 GB disk space.

This commit adds a note for the future me.
2020-10-20 11:07:48 +02:00
Lars Karlitski
e87d3bd3e1 HACKING.md: clarify details about the spawned VM
Also add a comment to tools/deploy/test/user-data explaining where the
IP comes from.
2020-10-08 10:01:03 +02:00
Lars Karlitski
857570980d tools: add deploy-qemu and gen-user-data
tools/gen-user-data generates a cloud-init user-data file from a
configuration directory. It is mostly useful to embed files in the
user-data.

tools/deploy-qemu uses above tool to make a user-data file and spins up
a virtual machine with it. This is useful to locally run, test, and
debug osbuild-composer.

A simple user-data directory for running tests locally is included in
tests/deploy-user-data. It expects a repository with osbuild-composer
rpms to be served on the host's port 8000.
2020-10-07 11:51:33 +02:00