Commit Graph

43 Commits

Author SHA1 Message Date
Khue Doan
de1f7176dd refactor(wireguard): use raw static config
I want to set up a mesh with multiple sites, so I need static peer
configurations instead of those generated by the WireGuard container.
2024-11-25 01:26:13 +07:00
Khue Doan
47aefc54af refactor!: remove the Docker wrapper for Nix shell 2024-11-23 09:35:01 +07:00
Khue Doan
18d51382ef feat: backup and restore script 2024-11-22 15:26:43 +07:00
Khue Doan
8d00d55eb1 refactor(argocd)!: merge bootstrap and system
This is a breaking change and requires cluster rebuild (carefully
replacing the ApplicationSets may should work but I didn't bother at the
current alpha stage):

- ApplicationSets are merged into a single root one
  to use the progressive sync feature when it's ready.
- Switched to server side apply to avoid CRDs not ready issues.

Also replace the apply script with Ansible, since the Ansible Helm
dependency update feature was released.
2024-04-17 15:21:11 +07:00
Khue Doan
a361fe3b57 chore(metal): update OS image to Fedora 39 2023-11-19 11:00:58 +07:00
Khue Doan
60fd8b9e9a build!: switch to Nix flake 2023-10-27 16:37:53 +07:00
Khue Doan
08ef4ecf01 build(docs): use mkdocs from nixpkgs instead of docker 2023-05-19 01:48:30 +07:00
Khue Doan
686fea5764 build: run clean by default 2022-10-22 13:47:56 +07:00
Khue Doan
c58ef20ecb build: add clean up target 2022-10-14 21:19:13 +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
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
40b8ef75b3 test: initial unit test and integration test support 2022-08-03 14:13:39 +07:00
Khue Doan
318988939a build: run post install scripts by default 2022-07-23 23:59:11 +07:00
Khue Doan
214f635697 feat: add pre-commit hooks 2022-07-19 21:16:19 +07:00
Khue Doan
5ddb62c08b docs: require external resources for production environment
- More secure
- We can still use development environment without external resources
2022-07-14 21:53:42 +07:00
Khue Doan
cd41343580
refactor(docs): migrate to mkdocs (#68)
* refactor(docs): migrate to mkdocs

* More markdown

* Admonitions
2022-07-06 12:33:35 +07:00
Khue Doan
dc7d1256a0 build: set kubeconfig from global Makefile
Separate build steps in Tekton can use service account instead of config file
2022-05-14 20:06:57 +07:00
Khue Doan
0b899cf326 build: PHONY by default for all global target 2022-04-22 07:53:34 +07:00
Khue Doan
166c1a93e3 refactor(configure)!: set configure as a make target 2022-03-14 23:37:56 +07:00
Khue Doan
958423c332 build: wait after external in make all target 2022-03-14 02:49:42 +07:00
Khue Doan
f4cccfdba2 build: always wait for main apps status 2022-03-14 02:42:59 +07:00
Khue Doan
9e59f1ad81 chore: cleanup lint targets
Let CI pipeline do it
2021-12-27 11:36:47 +07:00
Khue Doan
ac93024a61 build: add target to build all including external 2021-12-11 18:56:55 +07:00
Khue Doan
738236c7d2 build: optimize dev environment build targets 2021-12-01 22:44:10 +07:00
Khue Doan
e68c569f24 Fix incorrect bootstrap make target 2021-09-01 20:18:01 +07:00
Khue Doan
a8c4572b14 Remove cluster (Terraform RKE) layer in favor of k3s 2021-09-01 16:51:23 +07:00
Khue Doan
0d68a07489 Remove pre-commit hook 2021-08-22 23:57:20 +07:00
Khue Doan
b672b7a46b Rename infra layer to cluster 2021-08-20 19:31:04 +07:00
Khue Doan
34b28e8f5d Add pre-commit hook 2021-06-14 17:24:08 +07:00
Khue Doan
0ec52160ea Update docs 2021-06-10 20:27:57 +07:00
Khue Doan
e8a2aa98b4 Revert "Keep running lint even if the previous one failed"
This reverts commit 084984c65d.
2021-06-10 19:34:06 +07:00
Khue Doan
084984c65d Keep running lint even if the previous one failed 2021-06-10 19:31:57 +07:00
Khue Doan
03deb76eb9 Add linters for metal and infra 2021-06-10 19:28:34 +07:00
Khue Doan
6e39a3db19 Improve makefile targets consistency 2021-05-23 12:24:32 +07:00
Khue Doan
9fa5b58777 Change default global make targets 2021-05-16 13:20:27 +07:00
Khue Doan
b3f2d0dec3 Rework global makefile 2021-04-25 13:24:26 +07:00
Khue Doan
1b0a3c74fe Auto generate TODO list 2021-04-19 22:35:05 +07:00
Khue Doan
429808949f Rename tools container and add Makefile 2021-03-11 01:43:34 +07:00
Khue Doan
ece52c463c Remove platform layer 2021-02-15 12:10:02 +07:00
Khue Doan
fd452401da Add more target for each layer 2021-02-12 12:38:43 +07:00
Khue Doan
6eee51f65b Download Ubuntu ISO 2021-02-08 14:13:40 +07:00
Khue Doan
f4eb269f9d Clean up 2021-02-08 08:52:53 +07:00
Khue Doan
b4c0a0b1d1 Add WIP makefile 2021-01-27 16:44:47 +07:00