Commit Graph

1657 Commits

Author SHA1 Message Date
Khue Doan
cb1b80e34a Revert "perf(argocd): skip dry run for new CRD"
This reverts commit 377b02a6ea.

This option is resource specific, need to add an annotation to each one.
e284fd71cb/pkg/sync/sync_context.go (L734)
2022-12-24 14:11:17 +07:00
Khue Doan
377b02a6ea perf(argocd): skip dry run for new CRD
Currently, on first sync, many apps (such as nginx) will wait for ServiceMonitor,
which is created by the system/monitoring-system and takes a long time to sync.
This will significantly improve the installation speed.
2022-12-24 13:41:16 +07:00
Khue Doan
c4c2f8e142 fix: increase smoke test ingress retries 2022-12-24 13:34:40 +07:00
Khue Doan
8391d54ca5 chore(kube-prometheus-stack): upgrade to latest version
Since ArgoCD server side apply is enabled
2022-12-24 13:25:16 +07:00
Khue Doan
fcae2f4870 feat(argocd): upgrade and enable server side apply 2022-11-28 17:14:02 +07:00
Khue Doan
749c0e6d79 feat: add direnv support 2022-11-06 12:03:48 +07:00
Khue Doan
1965fa30f4 docs: add instructions for modifying the sandbox 2022-10-30 11:20:24 +07:00
Khue Doan
385d0ef924 test: increase wait timeout 2022-10-27 13:37:18 +07:00
Khue Doan
583e4e4717 docs: submitting patches 2022-10-25 18:26:06 +07:00
Khue Doan
686fea5764 build: run clean by default 2022-10-22 13:47:56 +07:00
Khue Doan
005840c6e1 chore: update k3d config from dev branch 2022-10-22 12:35:16 +07:00
Khue Doan
ea4d9b1ed9
test(tools): add more version checks
https://github.com/khuedoan/homelab/pull/88
2022-10-22 12:18:58 +07:00
Khue Doan
4bf068b7f6 fix(pxe): ensure the controller is running on a supported OS 2022-10-21 23:53:13 +07:00
Khue Doan
272d13c2e4 ci: rename .tekton to .ci 2022-10-15 13:24:08 +07:00
Khue Doan
b6c879a8e3 docs: add more references 2022-10-14 22:52:51 +07:00
Khue Doan
014cc8f571 docs: add some post install steps 2022-10-14 21:59:50 +07:00
Khue Doan
8f7bd25996 refactor(bootstrap): check Gitea Ingress instead of curl
- A bit faster (no need for timeout)
- Still works if NGINX is down
2022-10-14 21:31:07 +07:00
Khue Doan
750614c866 refactor(bootstrap): download Helm dependency when template
Instead of make target
2022-10-14 21:22:04 +07:00
Khue Doan
c58ef20ecb build: add clean up target 2022-10-14 21:19:13 +07:00
Khue Doan
78829cb4cd feat(tools): add jq 2022-10-14 21:17:56 +07:00
Khue Doan
12143551c7 fix(metal): always generate SSH key without passphrase
https://github.com/khuedoan/homelab/issues/92

Using SSH key with passphrase requires ssh-agent, which the tools
container doesn't have
https://stackoverflow.com/questions/50277495/how-to-run-an-ansible-playbook-with-a-passphrase-protected-ssh-private-key
2022-10-12 09:24:15 +07:00
Khue Doan
58a2d8f5cd ci: disable Terraform validate in pre-commit hook
Just run static checks in pre-commit, we have Terratest for validate
2022-10-09 16:05:31 +07:00
Khue Doan
507118385c perf(test): check tool versions in parallel 2022-10-03 13:01:57 +07:00
Khue Doan
a5a6db14b6 refactor: replace wait-main-apps script with Terratest test cases 2022-10-03 12:52:27 +07:00
Khue Doan
daf627849d refactor(test): replace grc with gotestsum 2022-10-03 12:26:14 +07:00
Khue Doan
7a50009c46 test(tools): use pure Nix shell
More closely corresponds to the “real” Nix build
2022-10-03 11:49:14 +07:00
Khue Doan
4f6baed675 chore(tools): update versions 2022-10-03 11:48:18 +07:00
Khue Doan
926a769232 style(docs): enable nav sections 2022-10-01 12:19:56 +07:00
Khue Doan
ce48615993 docs: add cert and test docs 2022-10-01 11:53:18 +07:00
Khue Doan
c90fc5ee22 docs: tools container package version test decision record 2022-09-21 20:55:24 +07:00
Khue Doan
6613e809e4 test: check versions of the tools 2022-09-21 20:10:35 +07:00
Khue Doan
ba2d3d8c74 docs: add index pages for overview content 2022-09-20 23:47:06 +07:00
Khue Doan
1405fadf1a refactor(docs): apply the Diátaxis framework
Squashed commit of the following:

commit 257867f196376df55fa0f57edbdf33967b1da04e
Author: Khue Doan <mail@khuedoan.com>
Date:   Sun Sep 18 16:45:42 2022 +0700

    refactor(docs): apply the Diátaxis framework
2022-09-19 02:40:07 +07:00
Trang Mai
710f6e9f98
test: mark TestToolsContainer as failed if error occurs (#84)
* test: mark TestToolsContainer as failed if error occurs

* add trangmaiq

Co-authored-by: Trang Mai <tqmai@axon.com>
2022-08-30 15:03:20 +07:00
Khue Doan
ea1d597b33 docs: revert split demo table 2022-08-29 14:46:49 +07:00
Khue Doan
18e12d3ebf docs: minor style update 2022-08-29 14:28:12 +07:00
Khue Doan
ddeb169f7b refactor(renovate): change schedule to daily 2022-08-29 14:23:51 +07:00
Khue Doan
8447502d54 feat: add ZeroTier for remote access
- Fully open source
- Has free hosted version (my.zerotier.com)
- Can be automated with Terraform
- Pretty good performance with UDP hole punching
2022-08-29 14:01:25 +07:00
Khue Doan
1d2d73a7a3 docs: add tools container runbook 2022-08-26 19:50:45 +07:00
Khue Doan
4e4ca0d053 docs(sandbox): add link to default passwords
https://github.com/khuedoan/homelab/issues/80
2022-08-26 19:32:03 +07:00
Khue Doan
81582db448 chore(external): remove redundant empty provider block 2022-08-26 19:21:49 +07:00
Khue Doan
adbaf32aa5 refactor(tools): switch to Nix
- Nix is more reproducible (pinned to a specific hash)
- Faster rebuild after changing the package list (due to /nix caching in volume)
- Users can still use make tools (wrapped in Docker) without installing Nix
- Using nix-shell will work if you have nix installed.
2022-08-26 19:08:52 +07:00
Alan Kwan
6e361596ac
chore(dev): install latest k3d (#76)
* install latest k3d

* adding as contributor

* remove intermediate layer

Co-authored-by: Alan Kwan <alan.kwan@epicgames.com>
2022-08-13 09:12:29 +07:00
Khue Doan
c14a611bfa Revert "refactor(tools): reduce reflector sort to 5 most recently synchronized servers"
This reverts commit d00ec32548.

Although it's faster to build with 5, sometimes all 5 servers are down, so 20 is safer.
2022-08-07 18:02:28 +07:00
Khue Doan
d8cac81b4c test(external): add simple test with init and validate 2022-08-06 13:55:11 +07:00
Khue Doan
7830ecef42 style: add color to test output 2022-08-03 19:29:48 +07:00
Khue Doan
40b8ef75b3 test: initial unit test and integration test support 2022-08-03 14:13:39 +07:00
Khue Doan
4ec027a1bc perf(metal): install just OpenSSH server
Instead of the entire Headless Management group
2022-07-27 19:05:14 +07:00
Khue Doan
1844118fd1 docs: add v0.0.8 changelog 2022-07-26 21:06:59 +07:00
Khue Doan
5c004b47f4 feat(scripts): print warnings when getting admin credentials 2022-07-26 01:23:38 +07:00