Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Drop the Terraform configurations; cloud-init is the deployment path

51624dc663738e70cc37b8ac5e232841fd49aaf8 · Keenan Nemetz · 3d ago · parent e21f6c5e

Drop the Terraform configurations; cloud-init is the deployment path

A Vole instance is one package, one configuration file, and one directory.
The first-boot file that installs the package and writes the configuration
is that same work described once, and it needs no provider, no state file,
and no cloud token with write access to an account. What Terraform did
outside the machine — firewall, address, DNS record — is three fields in a
console the operator already has open.

So the three configurations go, and with them what existed only to check
them: the pinned Terraform download in the verify image, the `fmt -check`
step, the .terraform entries in the ignore file, and the directory skip in
the link checker. The deployment check now needs python3 and PyYAML and
nothing else — no network, no credentials.

deploy/README.md keeps the reasoning, so the next person tempted to add a
provider back sees what it would buy and what it would cost.

The templates' header comments no longer name a renderer that is gone:
render.sh fills them in, and check-deploy.py renders them the same way.

scripts/check-deploy.py +2−3

@@ -18,8 +18,8 @@ What is checked:
18 18 them agree on the names, because three files agreeing by memory is how a
19 19 runner ends up enabled but idle.
20 20
21 Terraform is checked with `terraform fmt -check` in the workflow, because it needs
22 the tool; this file only needs python3 and PyYAML.
21 It needs python3 and PyYAML, and nothing else: no container runtime, no cloud
22 credentials, and no network.
23 23 """
24 24
25 25 import os
@@ -81,7 +81,6 @@ def fail(message, where=""):
81 81 def check_yaml_files():
82 82 bad = 0
83 83 for root, dirs, files in os.walk(DEPLOY):
84 dirs[:] = [d for d in dirs if d != ".terraform"]
85 84 for name in files:
86 85 if not name.endswith((".yaml", ".yml")):
87 86 continue