Commit Graph

11 Commits

Author SHA1 Message Date
Ben Vincent afb50ae76e Add prodnxsr0014-0019 physical nodes from cobbler
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Six new bare-metal Dell OptiPlex 3070 hosts were racked and registered on
the legacy cobbler server; replicate their ENC classification here.

- Add prodnxsr0014-0019.main.unkin.net, role roles::base, environment develop
- Bump the prodnxsr node-count comment from 13 to 19

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
2026-08-04 00:22:01 +10:00
benvin bdfd2dbf01 Merge pull request 'ci: fetch vault from artifactapi instead of dnf install' (#3) from benvin/ci-vault-install-speedup into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #3
2026-07-25 09:48:25 +10:00
Ben Vincent edaab78e22 Escape VAULT_VERSION for woodpecker YAML substitution ($$ -> shell)
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
2026-07-25 00:32:18 +10:00
benvin 9942b157f8 ci: fetch vault from artifactapi instead of dnf install
ci/woodpecker/pr/plan Pipeline failed
ci/woodpecker/pr/pre-commit Pipeline was successful
CI installed vault by shelling out to `dnf install vault -y`, which reads
metadata for every enabled repo (appstream/baseos/crb/epel/ha) and downloads
the 169MB vendored vault RPM from the unkin repo on every pipeline run
(~39s per plan/apply job).

- Replace the dnf install with a pinned curl of the upstream vault zip from
  the artifactapi hashicorp-releases remote proxy, extracted with python3 to
  /usr/local/bin/vault.
- Pin the version via a VAULT_VERSION env var (1.20.0).
2026-07-25 00:27:20 +10:00
benvin f64c088798 Merge pull request 'Align VM node environments with live estate (develop)' (#2) from benvin/vm-env-develop into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #2
2026-07-25 00:12:52 +10:00
Ben Vincent 52273fb7aa Align VM node environments with live estate (develop)
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
2026-07-25 00:11:11 +10:00
benvin d8e54f5e23 Merge pull request 'Populate terragrunt-enc: encapi ENC data as code' (#1) from benvin/initial into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #1
2026-07-24 23:30:27 +10:00
Ben Vincent 8686753885 Fix backend path generation: evaluate path_relative_to_include at generate time
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
2026-07-24 23:25:32 +10:00
Ben Vincent 2a8c14b880 Re-run CI: terraform-enc ServiceAccount now provisioned
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline failed
2026-07-24 23:23:14 +10:00
Ben Vincent 054110d748 Populate terragrunt-enc: encapi ENC data as code
ci/woodpecker/pr/plan Pipeline failed
ci/woodpecker/pr/pre-commit Pipeline was successful
terragrunt-enc is the single source of truth for encapi ENC data (Puppet
statuses, roles, and node classifications), managed with Terraform/Terragrunt.
It supersedes Cobbler classification for Puppet and the terraform-incus
dual-write prototype (PR #39).

- Add modules/encapi (encapi_status / encapi_role / encapi_node, nodes
  FK-ordered after their role and status).
- Add config/encapi leaf: 3 statuses, 51 roles, and 143 node assignments
  (130 container VMs env production + 13 prodnxsr physicals env develop),
  all YAML-driven.
- Add config/root.hcl (consul backend infra/terraform/enc/<leaf>/state) and
  the encapi provider from the artifactapi registry (v0.1.0).
- Add Makefile, Woodpecker pre-commit/plan/apply pipelines, pre-commit
  config, ci/extract_incus_nodes.py, and expand the README.
2026-07-24 23:12:03 +10:00
gitadmin 1e01bc9673 Initial commit 2026-07-24 23:08:28 +10:00