Commit Graph

58 Commits

Author SHA1 Message Date
Khue Doan
21fac43e57 refactor: replace Terraform binary with OpenTofu
OpenTofu is a drop-in replacement for Terraform, so aside from changing
the binary, it only needs some minor adjustments.
2024-11-24 00:09:15 +07:00
Khue Doan
eb1381d38b chore(tools): update packages 2024-09-02 11:23:41 +07:00
Khue Doan
04344cfe79 test: replace Docker registry with Zot 2024-03-27 10:58:55 +07:00
Khue Doan
bad289d7da test: add CIS benchmark 2024-03-26 23:36:13 +07:00
Khue Doan
9135b60695 test: add storage benchmark 2024-03-13 10:11:25 +07:00
Khue Doan
d6d1cd41d5 test: do not skip TLS verify in production
The sandbox will set INSECURE_SKIP_VERIFY=true in the future.
2024-01-18 19:58:13 +07:00
Khue Doan
1af664d6c0 refactor!: replace Hajimari with Homepage
More eye candies.
2024-01-17 21:15:16 +07:00
Khue Doan
b98060294d refactor!: remove Tekton
Replaced by Woodpecker CI. It turns out I don't need that much power
from Tekton's flexibility, so it's not worth the maintenance overhead
for my specific use case at home.
2024-01-15 10:55:29 +07:00
Khue Doan
f48debbce3 chore: update dependencies 2024-01-06 01:56:35 +07:00
Khue Doan
50220aaf6a feat(dex): add Kanidm connector 2024-01-06 00:44:45 +07:00
Khue Doan
faf4e2504d test: add more ingress checks 2023-11-27 18:53:19 +07:00
Khue Doan
093cc0d713 chore: remove reference to Vault in docs and scripts 2023-11-26 16:27:11 +07:00
Khue Doan
9df8fea615 chore: upgrade all test packages to latest 2023-10-27 19:25:42 +07:00
Khue Doan
60fd8b9e9a build!: switch to Nix flake 2023-10-27 16:37:53 +07:00
Khue Doan
7f0a26fbe1 chore(tools): upgrade Nix hash 2022-12-29 23:21:07 +07:00
Khue Doan
c4c2f8e142 fix: increase smoke test ingress retries 2022-12-24 13:34:40 +07:00
Khue Doan
385d0ef924 test: increase wait timeout 2022-10-27 13:37:18 +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
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
6613e809e4 test: check versions of the tools 2022-09-21 20:10:35 +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
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
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
0f83f5b9a2 Remove test environent
Hard to keep it up to date, may add it back later
2021-04-18 23:53:19 +07:00
Khue Doan
d80e6442f4 Change main playbook file name 2021-03-03 21:51:19 +07:00
Khue Doan
d745da5167 Use the same playbook and ansible config in test 2021-03-02 11:21:09 +07:00
Khue Doan
d6bb107b7c Revert "Remove role to install snap"
This reverts commit fb64d06ab336f5487acdac9ed04e520975cd76e5.
2021-03-01 01:16:24 +07:00
Khue Doan
87934e8893 Add env secret template 2021-02-22 00:27:33 +07:00
Khue Doan
468aad25db Add minio for tfstate 2021-02-22 00:25:06 +07:00
Khue Doan
6b60373ac4 Add role to generate LXD client config 2021-02-21 22:28:06 +07:00
Khue Doan
5bd503dbce Remove role to install snap
Because we switched to Ubuntu and Ubuntu has snap installed by default
2021-02-21 21:03:32 +07:00
Khue Doan
b7b5ce1fd3 Force LXD fan network underlay subnet instead of auto 2021-02-21 21:01:35 +07:00
Khue Doan
f191d5a2e2 Switch to Ubuntu from Debian
Because of LXD fan networking issue

Can ping containers in different node
2021-02-21 20:58:06 +07:00
Khue Doan
a00cd2b288 Add snapshot and restore 2021-02-21 20:19:00 +07:00
Khue Doan
2cd7cf20e3 Remove all ansible role tags 2021-02-21 18:18:57 +07:00
Khue Doan
20fe827422 Remove reset target
Avoid accidentally delete everything
2021-02-21 17:44:21 +07:00
Khue Doan
b1ad9c0e4f Enable ansible pipelining for test environment 2021-02-21 14:07:03 +07:00
Khue Doan
ac442dbe2e Symlink metal roles to test 2021-02-21 10:50:39 +07:00
Khue Doan
80b26e878b Add role to install snap 2021-02-21 10:46:31 +07:00
Khue Doan
83c84d2eb8 Use root for ansible 2021-02-21 10:46:00 +07:00
Khue Doan
a4ad17310e Add reset target 2021-02-21 10:34:06 +07:00
Khue Doan
1fb9666e33 Replace multipass with vagrant 2021-02-21 09:55:26 +07:00
Khue Doan
f2602aa749 2 test node to form a LXD cluster instead of a single node 2021-02-16 17:55:06 +07:00
Khue Doan
b4fc52b860 LXD role test 2021-02-15 14:33:51 +07:00