Commit Graph
277 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Sonnet 4.6 ba64df9bb7 fix(dns): correct common.sh source path in setup/linux.sh
The script sourced common.sh relative to its own directory (setup/),
but the file lives one level up in dns/. Fixes CI failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 00:39:19 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 aa074e26cd fix: set executable bit on shell scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:44:48 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 8825394e36 refactor: centralize WSL2 detection in scripts/meta/env/runtime.sh
Add IS_WSL2 export to runtime.sh and replace all inline
grep-based WSL2 guards in administration scripts with a
source + variable check for consistency.

Affected scripts:
- scripts/administration/systemd/enable/wsl2.sh
- scripts/administration/tls/trust/wsl2.sh
- scripts/administration/network/dns/setup/wsl.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:36:59 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 e9a3e03845 refactor: rename windows.sh to wsl2.sh for clarity
More precise naming — these scripts target WSL2 specifically,
not Windows natively. Update all README and Makefile references.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:33:18 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 6041c932b0 refactor(systemd): move enable script to systemd/enable/windows.sh
Reorganize for consistency: action before platform in the path.
- scripts/administration/systemd/windows/enable.sh
  → scripts/administration/systemd/enable/windows.sh

Update README files and Makefile reference accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:31:17 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 592f51cade refactor(systemd): move WSL2 systemd enable script to systemd/windows/
Move scripts/administration/wsl2/enable-systemd.sh to
scripts/administration/systemd/windows/enable.sh for a more consistent
and platform-neutral directory structure.

Add README.md for both systemd/ and systemd/windows/ and update
Makefile reference accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:29:49 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 6643fbd75d refactor(tls): reorganize CA trust scripts into tls/trust/ subdirectory
Move CA trust scripts into a dedicated subdirectory for better structure:
- scripts/administration/trust_ca.sh → scripts/administration/tls/trust/linux.sh
- scripts/administration/wsl2/trust-ca-windows.sh → scripts/administration/tls/trust/windows.sh

Update Makefile references and add README.md for both tls/ and tls/trust/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:27:32 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 244eae0875 refactor(dns): reorganize DNS setup scripts into setup/ subdirectory
Move platform-specific DNS setup scripts into a dedicated subdirectory
for better structure and discoverability:
- scripts/administration/wsl2/setup-dns.sh → scripts/administration/network/dns/setup/wsl.sh
- scripts/administration/network/dns/setup.sh → scripts/administration/network/dns/setup/linux.sh

Update Makefile references accordingly and add README.md documenting
the purpose of each script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:24:40 +01:00
kevinveenbirkenbach 8a75959c11 Merge branch 'main' into feature/makefile-wsl2
# Conflicts:
#	.github/workflows/test-development.yml
#	Makefile
#	roles/svc-db-postgres/files/set_postgres_superuser_password.sh
#	scripts/administration/apparmor/restore.sh
#	scripts/administration/apparmor/teardown.sh
#	scripts/dns/setup.sh
#	scripts/install/package.sh
#	scripts/install/venv.sh
#	scripts/tests/development.sh
2026-03-24 20:20:27 +01:00
kevinveenbirkenbach 1c3ed01a9b Normalize shell script indentation 2026-03-23 12:06:20 +01:00
kevinveenbirkenbach b6d6bba058 Merge branch 'main' into feature/lint
# Conflicts:
#	scripts/image/release.sh
#	scripts/meta/wait/workflow_run.sh
2026-03-23 12:05:13 +01:00
kevinveenbirkenbach bf2353b125 Fix latest tagging for release backfills 2026-03-23 11:52:40 +01:00
kevinveenbirkenbach 21a160143b Wait for fork CI images instead of workflow completion 2026-03-23 11:37:07 +01:00
kevinveenbirkenbach 289a05ac13 Merge branch 'main' into feature/lint 2026-03-23 10:23:08 +01:00
kevinveenbirkenbach cfa04a189c Cancel PR runs via dedicated close workflow 2026-03-22 23:37:48 +01:00
kevinveenbirkenbach 3ad6c12d97 Make cancel_deleted_branch_runs script executable 2026-03-22 21:59:05 +01:00
kevinveenbirkenbach bab5240769 chore: format shell helper scripts 2026-03-22 21:52:46 +01:00
kevinveenbirkenbach 2e37a3689f Merge branch 'main' into feature/lint
# Conflicts:
#	Dockerfile
#	scripts/administration/ghcr/cleanup_ci_images.sh
#	scripts/meta/wait/image.sh
2026-03-22 21:51:23 +01:00
kevinveenbirkenbach f57569cce7 Protect active CI images during cleanup 2026-03-22 21:02:52 +01:00
kevinveenbirkenbach a3052fb77b ci: wait for fork prereq run in PR orchestrator 2026-03-22 20:33:41 +01:00
kevinveenbirkenbach 4a1aff872c Add branch-delete workflow to cancel active runs 2026-03-22 19:32:32 +01:00
Alejandro Roman 06d3dd8fe9 fix(makefile-wsl): add envsubst and docker compose plugin to dev smoke test containers 2026-03-22 00:19:03 +01:00
Alejandro Roman 384a39c9c0 fix(makefile-wsl): fix resolv.conf update failing on bind-mounted /etc in containers 2026-03-21 23:26:52 +01:00
Alejandro Roman 82744f40df fix(makefile-wsl): fix bootstrap failures in distro containers without systemd 2026-03-21 23:07:30 +01:00
Alejandro Roman 9b4315d8f2 feat(makefile-wsl): add package installer to bootstrap development environment 2026-03-21 22:27:32 +01:00
Alejandro Roman 2a3b470233 feat(makefile-wsl): add development environment smoke test for web-app-matomo 2026-03-21 16:08:28 +01:00
Alejandro Roman ce91178db1 fix(makefile-wsl): fix issues on tests related to wsl implementation with no guards 2026-03-21 16:08:28 +01:00
Alejandro Roman 954807e195 fix lint issues 2026-03-21 16:08:28 +01:00
Alejandro Roman da6e87191b fix(makefile-wsl): Fix the tesl app error and the ca trust 2026-03-21 16:08:28 +01:00
Alejandro Roman f68cee669d fix(makefile-wsl): all steps for bootstrap and dev-boostrap works with 0 manual changes 2026-03-21 16:08:28 +01:00
Alejandro Roman dd2bbb040d fix(makefile-wsl): fix system loop 2026-03-21 16:08:28 +01:00
Alejandro Roman a9439d3051 fix(makefile-wsl): fix system resolver issue for all envs 2026-03-21 16:08:28 +01:00
Alejandro Roman 75abada9a3 fix(makefile-wsl): skiping apparmor in a correct way 2026-03-21 16:08:28 +01:00
Alejandro Roman 9d1fae39f9 fix(makefile-wsl): root permisions to allow creation of files 2026-03-21 16:08:28 +01:00
Alejandro Roman 9bbdde5eb6 fix(makefile-wsl): ensure the system is ready to aovid errors 2026-03-21 16:08:28 +01:00
Alejandro Roman 4e57996fc1 feat(makefile-wsl): add the logic to avoid manual work in WSL for local test 2026-03-21 16:08:28 +01:00
kevinveenbirkenbach 427d901ef9 style: reformat push ci policy script 2026-03-21 11:45:39 +01:00
kevinveenbirkenbach d948f87ded Merge branch 'main' into feature/lint 2026-03-21 11:38:49 +01:00
kevinveenbirkenbach 3e49b8afd3 Made push_ci_policy.sh executable 2026-03-21 11:37:35 +01:00
kevinveenbirkenbach 38b972d637 Merge branch 'main' into feature/lint 2026-03-21 11:29:52 +01:00
kevinveenbirkenbach cfbe1dc3e6 Handle branch-creation CI based on main ancestry 2026-03-21 11:25:24 +01:00
kevinveenbirkenbach 67dfd4290e Fix shellcheck warning in DNS file writer 2026-03-21 09:52:07 +01:00
kevinveenbirkenbach d8218babfc Fix DNS hosts fallback and domains CLI 2026-03-21 09:12:24 +01:00
kevinveenbirkenbach dcfd7016ae refactor workflow apt installs into script 2026-03-21 02:22:38 +01:00
kevinveenbirkenbach 189267496d Rename module_utils package to utils 2026-03-21 02:05:39 +01:00
kevinveenbirkenbach 67c6ffdc87 Make DNS common helper executable 2026-03-21 01:46:13 +01:00
kevinveenbirkenbach 003a3a0b84 Merge branch 'main' into feature/lint
Resolve merge conflicts, keep the cleanup script move to scripts/image, and fix the resulting lint regressions.
2026-03-21 01:36:58 +01:00
kevinveenbirkenbach de4d485d86 Refactor domain helpers and DNS fallback generation 2026-03-21 01:19:49 +01:00
kevinveenbirkenbach 758bd2f2e2 test: switch development env smoke target from dashboard to matomo 2026-03-21 00:00:11 +01:00
kevinveenbirkenbach 19f984a061 Move GHCR cleanup script under scripts/image and add make target 2026-03-20 23:53:51 +01:00