flatcar-scripts/pkg_auto/config_template
Krzesimir Nowak 4c5e550055 pkg-auto: Add package automation scripts
This adds some scripts I have been using for over a year to deal with
the weekly package updates.

It comes with a `README.md` which describes a workflow similar to my
own.

The `sync_packages.sh` and `update_packages.sh` scripts are currently
not used anywhere. The idea behind them was to use them for Github
Action, but that will come as a follow-up PR.
2024-11-27 16:00:57 +01:00

48 lines
1.1 KiB
Plaintext

# Path to the toplevel directory of the scripts repo.
scripts: ..
# Path to the directory with auxiliary files.
aux: ../../downloads
# Path to the directory where update reports will be stored.
reports: ../../reports
# Base scripts branch for old state.
#
# Old state serves as an state before the updates.
#
# Optional, defaults to origin/main
#old-base: origin/main
# Base scripts branch for new state.
#
# New state serves as an state that's either after the updates or to-be-updated.
#
# Optional, defaults to old-base value
#new-base: origin/main
# Cleanups mode with semicolon-separated list of extra arguments.
#
# Can be:
#
# file,${path_to_file}
# stores cleanup steps in the file. Can be later sourced to perform cleanups.
#
# trap
# executes cleanups on script exit
#
# ignore
# performs no cleanups at all
#
# Optional, if not specified, defaults to ignore.
#cleanups: file,../../x-cleanups
#cleanups: trap
#cleanups: ignore
# Override image name to use for an SDK container.
#
# Optional, defaults to
# ghcr.io/flatcar/flatcar-sdk-all:${last_nightly_version_id_in_base}-${last_nightly_build_id_in_base}
#amd64-sdk-img=
#arm64-sdk-img=