Commit Graph

25 Commits

Author SHA1 Message Date
fiftin
a8a95495d8
feat(db): change algo for filling last_task of template model 2024-07-20 00:38:35 +05:00
fiftin
8bea0fc2c1
fix(terraform): provide inventory 2024-07-17 20:29:12 +05:00
Denis Gukov
48089343d8 feat(be): cleaning tasks 2024-06-30 12:48:36 +05:00
Denis Gukov
4bf2f1352a feat(be): query optimization 2024-06-29 21:23:41 +05:00
Denis Gukov
91601eb0eb
task stages (#2103)
* feat(be): add stages

* feat(tf): split to plan/apply

* fix(be): blocking
2024-06-17 23:37:45 +05:00
Denis Gukov
074e303085
Support TF/Bash (#2077)
Support OpenTofu and Bash
2024-06-13 01:20:57 +05:00
Denis Gukov
a3a4a1ca69
Merge branch 'develop' into develop 2024-05-20 15:46:18 +02:00
Thomas Boerger
d9d149fbc3
feat: move task logger into dedicated package 2024-04-12 12:32:54 +02:00
tothakos-code
21f9b50b66 feat: add secret survey field type 2024-03-19 09:49:33 +01:00
fiftin
02899c9ccb feat: status updating 2024-03-12 01:44:04 +01:00
fiftin
c150d90a75 feat(be): implement confirmation endpoint 2024-03-09 15:01:20 +01:00
fiftin
bdd758e59d feat(be): add confirm endpoint 2024-03-09 14:54:27 +01:00
Thomas Boerger
3b7436e22c
feat: upgrade all dependencies
I have updated all dependencies within go.mod by executing `go get -u
./...`, beside that I had to replace the imports for logrus, mergo and
squirrel to match the right names from their modules.
2024-02-27 12:06:05 +01:00
fiftin
78c93b1c84 fix: null pointer to logger 2024-02-05 01:38:15 +05:00
fiftin-quiz
57046eaf65 refactor(app): add app factory 2024-01-30 20:42:56 +05:00
Denis Gukov
b361695f68
Add app field to template (#1721)
* feat(be): add template app

* feat(be): add field app to template

* fix(be): add app to sql implementation

* refactor(be): extract AnsibleApp class

* refactor(be): rename LocalJobApp -> LocalApp

* feat(app): default app id = empty string

---------

Co-authored-by: fiftin-quiz <157730881+fiftin-quiz@users.noreply.github.com>
2024-01-30 14:26:11 +05:00
Denis Gukov
58850e9129 refactor: create package db_lib 2023-09-23 17:12:35 +02:00
Denis Gukov
e6c72fb330 fix(be): ignore max parallel tasks if it is 0 2023-09-17 22:06:28 +02:00
Denis Gukov
ed3693472f fix(config): bug with handing maps in config 2023-09-16 23:47:06 +02:00
Denis Gukov
aef7cbca04 feat: add status starting 2023-09-12 20:58:44 +02:00
Denis Gukov
a8921e6e82
Runners (#1458)
* feat(runners): update task status

* feat(config): add remote runner flag

* feat(runners): kill remote job

* feat(runners): update state
2023-09-10 23:18:25 +02:00
Denis Gukov
dc5bba69e6 chore(be): rename method 2023-08-30 11:13:48 +02:00
Denis Gukov
9f9606e18a fix(runners): use local job 2023-08-29 12:28:28 +02:00
Denis Gukov
d1b7ad021e
Runners (#1444)
* feat(runners): add register endpoint

* feat(runners): add remote runner

* refactor(runners): move functionality TaskRunner -> AnsibleJobRunner

* fix(runners): init job

* chore(runners): remote unused field

* feat(runners): use external logger from AnsibleJobRunner

* refactor(runners): remove status field

* refactor(runners): remove mutation from job

* feat(runners): pass username and verison to task

* test(runners): fix tests

* fix(runners): params for Run

* feat(runners): implement runner selection

* feat(runners): fill required fields

* fix(runners): session block

* feat(runners): kill process

* refactor(runners): rename fields to public

* feat(runners): remote runner functionallity

* refactor(runners): remove unused class

* fix(runners): send json

* feat(runners): runner registration

* feat(runners): logging

* feat(runners): server <-> running communication works

* feat(runners): pass creds to runenr
2023-08-29 00:51:04 +02:00
Denis Gukov
b5a99eba7f
Runners (#1439)
* refactor(runners): extract jobs to separate entity
2023-08-27 18:02:51 +02:00