Commit Graph

41 Commits

Author SHA1 Message Date
Brian Zoetewey
76d14365fd Fix issue with multiple vaults and runners 2024-10-04 15:08:59 -04:00
Brian Zoetewey
0250b0b9f7 Fix backup/restore and demo project 2024-10-04 15:08:59 -04:00
Denis Gukov
c7b352dba3 fix(be): null pointer 2024-09-30 00:58:21 +05:00
Denis Gukov
bea1c6045f feat(be): use omitempty for json config 2024-09-29 23:53:33 +05:00
Denis Gukov
0078297d25 feat(runners): add explicit registration 2024-09-29 21:07:15 +05:00
Denis Gukov
55cc129238 feat(runners): change api url: 2024-09-29 15:40:07 +05:00
Denis Gukov
1ce8dd08a3 refactor(runners): runner <-> server comminication protocol 2024-09-29 14:57:02 +05:00
Denis Gukov
dc565f3508 feat(be): api/runners -> internal/runners 2024-09-26 17:52:31 +05:00
fiftin
8bea0fc2c1
fix(terraform): provide inventory 2024-07-17 20:29:12 +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
fiftin
afd2f59e4a
fix(runners): pass inventory repo to the runner 2024-05-27 22:00:40 +02:00
Thomas Boerger
d9d149fbc3
feat: move task logger into dedicated package 2024-04-12 12:32:54 +02:00
Thomas Boerger
1d7244a8c4
feat: move sshagent to separate package, update log interface 2024-04-12 12:21:05 +02:00
Denis Gukov
d33d752bea
unregister runner (#1875)
* fix(login): expire cookie on error with login

* feat: allows to unregister runner via cli

* feat(runner): add subcommands

* feat(runners): unregister command

* refactor(runner): move config to util.gol

* Revert "fix(login): expire cookie on error with login"

This reverts commit 6d726e3475.
2024-03-27 14:43:41 +01:00
fiftin
7a1e08023e feat(runners): change log messages 2024-03-27 12:04:30 +01:00
fiftin
26f609b3a5 fix(runners): check statuses from server 2024-03-12 03:03:43 +01:00
fiftin
179a2625f7 fix(be): logger for playbook 2024-03-12 02:20:30 +01:00
fiftin
02899c9ccb feat: status updating 2024-03-12 01:44:04 +01:00
gavrilov.nikita
741a6748fd Fix deprecation io/ioutil 2024-03-10 22:07:19 +03: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
f7da53c75c fix(runner): pass token in PUT request 2024-01-08 00:50:37 +05:00
Denis Gukov
7d99fd2e7d feat(runner): support env vars 2024-01-07 22:25:52 +05:00
Denis Gukov
8263693622 fix(runner): check token 2024-01-07 21:35:02 +05:00
Denis Gukov
446515fd1a fix(runner): status code condition 2024-01-07 18:37:22 +05:00
Denis Gukov
f47c2ee407 fix(runner): chanage log messages 2024-01-07 18:36:48 +05:00
Denis Gukov
6c0ff218bb
fix(config): support yes for bool (#1536)
* fix(config): support yes for bool

* feat(runners): add logs

* feat(runners): add logs
2023-10-01 16:38:05 +02:00
Denis Gukov
b7c1eea8e6 fix: merge conflict 2023-09-23 17:54:46 +02:00
Denis Gukov
58850e9129 refactor: create package db_lib 2023-09-23 17:12:35 +02:00
Denis Gukov
bc3210994a feat(runners): use 1 atomic for check and send 2023-09-20 03:01:28 +02:00
Denis Gukov
7f6173bf14 fix(runners): add atimic checks 2023-09-20 02:17:41 +02:00
Denis Gukov
a6c89d041b fix(runner): duplication of runners and tasks 2023-09-20 01:03:58 +02:00
Denis Gukov
ed3693472f fix(config): bug with handing maps in config 2023-09-16 23:47:06 +02:00
Denis Gukov
b829285981 ci: return dev workflow 2023-09-13 12:43:11 +02:00
Denis Gukov
0522ad169f feat(runners): add SetStatus method 2023-09-12 19:40:22 +02:00
Denis Gukov
0304e7cac3 fix(runners): pass vault key 2023-09-11 02:00:10 +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
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