Aravinth Manivannan
e4c418b45b
feat: show Gitea admin's login credentials and send creds via email to admin
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-06-29 00:49:58 +05:30
Aravinth Manivannan
b123bfa582
feat: grab commit ID after add_vm execution
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-06-29 00:27:47 +05:30
Aravinth Manivannan
e63719764a
fix: idempotency: change configuration in fleet repository too, when vm
...
ci/woodpecker/push/woodpecker Pipeline was successful
Details
create is re-run for the same VM with different configuration
fixes: https://gitea.hostea.org/Hostea/dashboard/issues/8
2022-06-28 23:57:02 +05:30
Aravinth Manivannan
49ae2189d4
feat & fix: make vm create/rm commands idempotent
...
SUMMARY
Commands are now tolerant to being invoked twice.
Command: vm create
Doesn't fail if VM of same name exists with the same
configuration
Doesn't fail if VM of the same name and different configuration
exist. Updates configuration and deploys(pushes to Hostea/fleet
repository) new configuration.
Command: vm delete
Doesn't fail if VM of given name doesn't exist
2022-06-28 20:54:21 +05:30
Aravinth Manivannan
e4a7310c79
feat & fix: don't append enough commands to hostscript and fix service.yml path
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-06-28 14:47:21 +05:30
Loïc Dachary
1eaa22b330
gitea runs on port 22, ssh on port 2222
ci/woodpecker/pr/woodpecker Pipeline failed
Details
2022-06-28 10:50:17 +02:00
Aravinth Manivannan
caadd0783a
fix: hostscript path
...
ci/woodpecker/push/woodpecker Pipeline failed
Details
fixes: https://gitea.hostea.org/Hostea/dashboard/issues/7
2022-06-28 12:00:47 +05:30
Aravinth Manivannan
927c2a7703
feat: vm delete management command
ci/woodpecker/push/woodpecker Pipeline was successful
Details
2022-06-28 01:24:43 +05:30
Aravinth Manivannan
0606c4ade0
feat: vm create management command
2022-06-28 00:57:25 +05:30
Aravinth Manivannan
026a1a4c12
chore: refactor infrastructure/views.py; move VM creation to utility fn
2022-06-27 20:59:24 +05:30
Aravinth Manivannan
8997d0ff0f
chore: cleanup config override in infrastructure/tests.py
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-06-27 04:37:56 +05:30
Aravinth Manivannan
26b7ea3ef2
fix & rm: create/rm hostscripts, rm HOSTEA_DOMAIN
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/pr/woodpecker Pipeline failed
Details
2022-06-25 18:24:52 +05:30
Aravinth Manivannan
beb4b29c49
feat: pass template configuration, map VM sizes, generate secrets
...
return gitea passwd, git pull before writing and push after add/rm
2022-06-25 18:02:03 +05:30
Aravinth Manivannan
f3324579c9
feat: utilities to add and remove VM on the Hostea repo
2022-06-24 20:35:32 +05:30