summaryrefslogtreecommitdiffstats
path: root/config.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-10-28 14:49:08 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-10-28 14:59:12 +0100
commitae08fc6d8fcb75ddd13ae20361baf66e842e1de3 (patch)
tree104e5f7fb37dd615f6582575214465262302fad0 /config.toml
parent9cbe616c7ce4404e642709648bd7c97a4e849040 (diff)
Add configuration for releases/staging directories, including variable interpolation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml44
1 files changed, 44 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 456b4ac..05c8f24 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,50 @@
# repository of package definitions
repository = "/tmp/path"
+# The position of the release binaries
+#
+# butido checks this location for packages when installing dependencies
+#
+#
+# # Note
+#
+# Interpolation of variables (ones that are passed on the CLI for
+# the build), is supported for this variable.
+# This way you can write
+#
+# ```
+# releases = "/storage/releases/${IMAGE}/"
+# ```
+#
+# for example.
+#
+releases = "/tmp/releases"
+
+# The position of the staging binaries
+# butido rolls a dice for each submitted build and generates a
+# per-process-staging directory here to store intermediate builds.
+#
+#
+# # Note
+#
+# Interpolation of variables (ones that are passed on the CLI for
+# the build), is supported for this variable.
+# This way you can write
+#
+# ```
+# staging = "/storage/staging/${IMAGE}/${SOME_ENV_VAR}"
+# ```
+#
+# for example.
+#
+#
+# # Warning
+#
+# It is the task of the user to move packages from herre to the "releases"
+# folder.
+#
+staging = "/tmp/staging"
+
# Phases which can be configured in the packages
# This also defines the _order_ in which the phases are executed