summaryrefslogtreecommitdiff
path: root/.precious.toml
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-02-28 19:17:25 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-02-28 21:40:21 +0000
commitd7e965843eb32fc2e459a15fe70251964ff40394 (patch)
treee46d2ff80b7d383b65cd4bd819c260ae9e2ab9a8 /.precious.toml
Initial commit
This commit adds the initial structure / scaffolding on which the rest of the project can be built. The idea is to have an entry point written in python, which parses a toml file which contains information about each domain, and general configuration of the lego tool which will actually renew the certificates. Each domain has an additional post-renew script, the path to which is given in the config file, which is used to install the new certificates onto the remote hosts if necessary.
Diffstat (limited to '.precious.toml')
-rw-r--r--.precious.toml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.precious.toml b/.precious.toml
new file mode 100644
index 0000000..552dcc2
--- /dev/null
+++ b/.precious.toml
@@ -0,0 +1,40 @@
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+[commands.black]
+cmd = ["black", "--quiet"]
+include = ["renew-all"]
+invoke = "once"
+ok_exit_codes = 0
+type = "tidy"
+
+[commands.gitlint]
+cmd = ["gitlint"]
+include = "*"
+invoke = "once"
+ok_exit_codes = 0
+path_args = "none"
+type = "lint"
+
+[commands.mypy]
+cmd = ["mypy", "--strict"]
+include = ["renew-all"]
+ok_exit_codes = 0
+type = "lint"
+
+[commands.reuse]
+cmd = ["reuse", "lint"]
+include = "*"
+invoke = "once"
+lint_failure_exit_codes = 1
+ok_exit_codes = 0
+path_args = "none"
+type = "lint"
+
+[commands.shellcheck]
+cmd = ["shellcheck", "--severity=style", "--enable=all"]
+include = ["install-for-prosody"]
+lint_failure_exit_codes = 1
+ok_exit_codes = 0
+type = "lint"