j7s-os/tinyrepo
James Pace a8d8515b75 Import from https://gitlab.com/CentOS/automotive/sample-images
Commit: a95b833c
2022-08-23 20:51:43 -04:00
..
README.rst Import from https://gitlab.com/CentOS/automotive/sample-images 2022-08-23 20:51:43 -04:00
build_images.sh Import from https://gitlab.com/CentOS/automotive/sample-images 2022-08-23 20:51:43 -04:00
build_repos.sh Import from https://gitlab.com/CentOS/automotive/sample-images 2022-08-23 20:51:43 -04:00
initiate_repo.py Import from https://gitlab.com/CentOS/automotive/sample-images 2022-08-23 20:51:43 -04:00

README.rst

Tinyrepo
========

This folder contains some utility scripts that are used to sample images that
can be easily downloaded and used.

## Creating sample images

The sample images are a sub-set of the images one can build using the osbuild
manifest present in this repository.

The creating of the images is handled by the `build_images.sh` shell script
which simply calls sequentially different `make` commands, then compress the
resulting images and places them in a timestamped directory available to apache.
Finally, it creates a symlink between the newest folder and a `latest` folder,
thus giving a stable location where one can find the most recently built images.


## Cron job

The `build_images.sh` shell script present in this folder are ran via the
following cron job configuration:

::

  0 2 * * 1 sh /path/to/automotive-sig/tinyrepo/build_images.sh /path/to/clone/of/automotive-sig/osbuild-manifests/ /path/to/root/folder/in/apache


This allows to build new images weekly.