Commit graph

53 commits

Author SHA1 Message Date
jon brookes
02b114e0e6 feat: add scripts for pre-flight checks and user input wait in k3s pipeline 2025-10-14 17:49:59 +01:00
jon brookes
f23e1c41ff feat: add .env file existence check and load it in startup script 2025-10-14 16:50:12 +01:00
jon brookes
b4c0f17b12 feat: add script to copy .env file to k3s-vm-1 after pre-flight checks 2025-10-14 16:32:05 +01:00
jon brookes
bb4d0cc701 feat: update Forgejo deployment URL and add installation check in startup script 2025-10-14 15:58:09 +01:00
jon brookes
8faa97a8bb feat: env INSTALL_LONGHORN
Add Ansible playbooks for Longhorn, MetalLB, and Traefik installation

conditional on presence of INSTALL_LONGHORN=true
2025-10-10 13:33:11 +01:00
jon brookes
80f4e5a53b fix: Update cert-manager
improve installation script and increase max readines retries for cert-manager
2025-10-08 15:03:24 +01:00
jon brookes
9fc84486a1 test cloudflare terraform dns updates 2025-10-04 12:24:03 +01:00
jon brookes
e0891f6c09 fix: Add create_tfvars script and update pipeline configuration 2025-10-03 15:46:30 +01:00
jon brookes
2ab7872af1 Add Google Cloud K3s infrastructure support
- Add Terraform configuration for GCP instance and storage
- Add startup script for K3s installation and configuration
- Add pipeline scripts for deployment and management
- Add Forgejo deployment manifests and configuration
2025-10-02 15:41:50 +01:00
jon brookes
7384722305 Merge branch 'main' of ssh://codeberg.org/headshed/infctl-cli 2025-09-05 19:37:42 +01:00
marshyon
8eadfc58b6 bump version 2025-09-05 19:11:29 +02:00
jon brookes
d53a0a75f7 bump version 2025-09-05 18:09:02 +01:00
jon brookes
c23d2aef9f Merge branch 'feature/enhanced-configuration' 2025-09-05 17:21:19 +01:00
jon brookes
11b1f1b637 update: Added Longhorn installation process and updated memory allocation for VMs
update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

update: Added Longhorn installation process and updated memory allocation for VMs

update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

fix: corrected JSON formatting for config json

update: reduce VM memory allocation to 2GB, add Longhorn installation scripts and prerequisites, and implement checks for existing pods

fix: merge issues

fix: merge issues

update: Added Longhorn installation process and updated memory allocation for VMs

update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

update: Added Longhorn installation process and updated memory allocation for VMs

update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

fix: corrected JSON formatting for config json

update: reduce VM memory allocation to 2GB, add Longhorn installation scripts and prerequisites, and implement checks for existing pods

update: improve error logging in RunJsonDeployment and RunCommand functions

update: add jq installation to provision script

update: add version flag

bump version

fix: improve error messages for config file reading

feat: add Windows gitbash installation support and improve binary download process

clean up tmp code

fix: increase timeout for some slower windows clients

feat: add Ingress and Service configurations for nginx deployment, and implement MetalLB  and Traeik installation scripts

refactor: remove obsolete Traefik installation script

feat: add environment checks and configurations for Vagrant setup, including dnsmasq  MetalLB  and ingress

feat: add deployment and installation scripts for infmon-cli, including Kubernetes configurations

feat: refactor customer project creation and add success/failure job scripts

refactor: rename customer references to project in configuration and application logic

feat: enhance JSON deployment handling with retry logic and command execution improvements

feat: enhance RunJsonDeployment with error handling and retry logic; add tests for configuration reading

feat: add automatic creation of base and config JSON files from examples if they do not exist

refactor: remove database package and related functionality; update app state initialization and error handling

refactor: update deployment handling to use ProjectConfig; improve error messages and logging

feat: enhance RunJsonDeployment retry logic with configurable delay; improve logging for retries

feat: implement LoadConfigs function for improved configuration loading; add logger setup

refactor: remove unused fields from BaseConfig and ProjectConfig structs for cleaner configuration management

refactor: clean up tests by removing obsolete functions and simplifying test cases

chore: update version to v0.0.5 in install script

feat: implement default configuration creation for BaseConfig and ProjectConfig; enhance validation logic

fix: enhance configuration parsing and loading; streamline flag handling and error reporting

refactor: remove obsolete configuration download logic from installation script
2025-09-05 16:49:06 +01:00
jon brookes
b2b028a16c feat: add Ingress and Service configurations for nginx deployment, and implement MetalLB and Traeik installation scripts
refactor: remove obsolete Traefik installation script

feat: add environment checks and configurations for Vagrant setup, including dnsmasq  MetalLB  and ingress
2025-08-24 17:35:03 +01:00
jon brookes
bd222ce39e fix: increase timeout for some slower windows clients 2025-08-22 11:44:43 +01:00
jon brookes
5780a2201a clean up tmp code 2025-08-21 17:20:15 +01:00
jon brookes
48781147cc feat: add Windows gitbash installation support and improve binary download process 2025-08-21 17:15:24 +01:00
jon brookes
faa7927376 fix: improve error messages for config file reading 2025-08-21 16:46:58 +01:00
jon brookes
8347534736 bump version 2025-08-21 11:42:47 +01:00
jon brookes
a095c95be0 Merge branch 'temp-merge-branch' 2025-08-21 11:22:05 +01:00
jon brookes
eb2442ed76 Merge branch 'main' of ssh://codeberg.org/headshed/infctl-cli 2025-08-21 11:17:59 +01:00
jon brookes
636a0494ac update: Added Longhorn installation process and updated memory allocation for VMs
update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

update: Added Longhorn installation process and updated memory allocation for VMs

update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

fix: corrected JSON formatting for config json

update: reduce VM memory allocation to 2GB, add Longhorn installation scripts and prerequisites, and implement checks for existing pods

update: improve error logging in RunJsonDeployment and RunCommand functions

update: add jq installation to provision script

update: add version flag
2025-08-21 11:08:52 +01:00
jon brookes
5f347aec14 fix: merge issues 2025-08-20 15:58:33 +01:00
jon brookes
9434d70ac8 fix: merge issues 2025-08-20 15:42:01 +01:00
jon brookes
268e1a136b update: Added Longhorn installation process and updated memory allocation for VMs
update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network

fix: corrected JSON formatting for config json

update: reduce VM memory allocation to 2GB, add Longhorn installation scripts and prerequisites, and implement checks for existing pods
2025-08-20 15:24:01 +01:00
jon brookes
1605aa4f90 update: Added Longhorn installation process and updated memory allocation for VMs
update: Added 'git' and 'vagrant' to required tools in pre-flight checks

fix: configured k3s install to use internal nic for flanel network
2025-08-20 08:58:59 +01:00
jon brookes
d839fd5687 update: bump infctl version to v0.0.3 in install script 2025-08-16 15:37:08 +01:00
jon brookes
aa912d55df update: enhance Vagrant setup with new scripts for node and workstation installation, and update provisioning to target specific VMs 2025-08-16 11:52:28 +01:00
jon brookes
5f448d7fc7 update: enhance command execution with real-time logging and add shorthand flag for deployment file 2025-08-16 11:45:47 +01:00
jon brookes
4b8a27a2d7 update: add *.cast to .gitignore to exclude cast files from version control 2025-08-16 11:42:51 +01:00
jon brookes
34fbe9b5b3 update: add k3s_url_ip variable to configuration files and update references in Ansible playbooks 2025-08-09 13:32:07 +01:00
jon brookes
ae59661982 update: add network configuration variables and enhance Ansible playbooks for dynamic IP handling 2025-08-09 11:02:15 +01:00
jon brookes
eba7f8322d update: remove obsolete traefik service configuration and add playbook for copying K3s config 2025-08-08 17:41:57 +01:00
jon brookes
514e05a1f6 update: add installation scripts for Vagrant and Ansible, enhance k3s setup, and improve provisioning process 2025-08-07 19:08:46 +01:00
jon brookes
ff55197c58 update: modify Vagrantfile to conditionally set public network bridge and ensure vbguest auto-update is disabled 2025-08-07 10:51:27 +01:00
jon brookes
e9e05d1c60 update: enhance Vagrantfile with workstation configuration and adjust network settings for VMs 2025-08-07 10:22:11 +01:00
jon brookes
9ce3197c0b added Ansible playbooks for k3s and keepalived installation, and updated provisioning script 2025-08-07 10:21:27 +01:00
jon brookes
b12749a3f0 added initial workstation to vagrantfile 2025-08-06 08:40:16 +01:00
jon brookes
f39f98b319 fix: windows check added to vagrant config 2025-08-06 08:39:26 +01:00
jon brookes
698e67d8c0 added k3s install 2025-08-05 13:52:33 +01:00
jon brookes
6eabd40021 added vagrant build 2025-08-04 21:44:28 +01:00
jon brookes
2997f0252a added vagrant scripts 2025-08-03 11:54:46 +01:00
6ff4033a13 bump version 2025-07-16 18:12:46 +01:00
Jon Brookes
b1aba889e3 Merge pull request 'chore/test-local-dev-builds' (#3) from chore/test-local-dev-builds into main
Reviewed-on: https://codeberg.org/headshed/infctl-cli/pulls/3
2025-07-16 19:09:43 +02:00
3300e4fadb bump version 2025-07-16 18:08:24 +01:00
e64666340a chore/test-local-dev-builds (#2)
tested initial dev deployment to local k3d

Reviewed-on: https://codeberg.org/headshed/infctl-cli/pulls/2
Co-authored-by: jon brookes <jon@headshed.dev>
Co-committed-by: jon brookes <jon@headshed.dev>
2025-07-16 18:50:16 +02:00
33c8a232c7 added dev preflight check 2025-07-16 17:45:29 +01:00
62ab3f88cd tested local dev k3d single node cluster local storage + removed redundant scripts 2025-07-16 17:39:09 +01:00
Jon Brookes
506142ccd7 Merge pull request 'changed app to use json config for pipeline steps' (#1) from chore/code-refactor into main
Reviewed-on: https://codeberg.org/headshed/infctl-cli/pulls/1
2025-07-14 17:49:27 +02:00