Commit Graph

31 Commits

Author SHA1 Message Date
Denis Gukov
d617280bc7 fix(apps): don't pass args to shell app 2024-07-10 14:32:44 +05:00
Denis Gukov
989d3b4a8e feat(apps): change log message 2024-07-10 13:12:01 +05:00
Denis Gukov
5244f923f6 refactor(be): bash -> shell 2024-07-05 21:46:47 +05:00
fiftin
2db419357e
feat(secrets): send secrets to bash and ansible 2024-07-03 01:18:30 +05:00
fiftin
46048ef770
feat(secrets): promote env secrets to task 2024-07-03 00:45:43 +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
00140cb8ab
Inventory repo (#2040)
* feat: add repo for inventory

* feat: add inventory repo

* feat: cloning inventory repo

* fix: error message for inventory path

* fix: error message for inventory path
2024-05-22 19:00:28 +02:00
fiftin
82c88b9022
feat(be): remove old inventory files 2024-05-21 18:47:03 +02:00
Denis Gukov
a3a4a1ca69
Merge branch 'develop' into develop 2024-05-20 15:46:18 +02:00
Christian Kröger
72522b5b9b add url for task page to semaphore_vars 2024-04-19 15:05:35 +02:00
Denis Gukov
576344aa04
Merge pull request #1929 from tboerger/remove-lib-package
Get rid of lib package, use non-generic package names
2024-04-15 12:35:13 +05:00
yudrywet
94cf1e3270 chore: fix some typos in comments
Signed-off-by: yudrywet <yudeyao@yeah.net>
2024-04-14 20:22:07 +08: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
fiftin
f353de742d
fix(be): use --become-user for become creds 2024-04-08 15:51:53 +02:00
fiftin
40151c7408
fix(secrets): become password value 2024-04-05 17:25:33 +02:00
Denis Gukov
3d571c0319
Use Stdin to pass secrets to ansible-playbook (#1911)
* feat: pass secrets via stdin

* feat: use pty

* feat(pty): logs

* feat(secrets): works

* fix(secrets): use correct ask flag of ansible playbook

* test(secrets): change tests
2024-04-05 14:36:04 +02:00
tothakos-code
21f9b50b66 feat: add secret survey field type 2024-03-19 09:49:33 +01:00
fiftin
7667665755 fix(be): status for local running job 2024-03-12 02:06:21 +01:00
fiftin
02899c9ccb feat: status updating 2024-03-12 01:44:04 +01: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
43b342b3e8 feat(secrets): use ssh agent for git 2023-09-23 17:47:27 +02:00
Denis Gukov
58850e9129 refactor: create package db_lib 2023-09-23 17:12:35 +02:00
Andras Elso
c80815656e Fix variable scope 2023-09-19 23:10:45 +02:00
Andras Elso
4553cfea99 Handle ssh keys with internal ssh agent 2023-09-19 21:31:41 +02:00
Denis Gukov
aef7cbca04 feat: add status starting 2023-09-12 20:58:44 +02:00
Denis Gukov
0522ad169f feat(runners): add SetStatus method 2023-09-12 19:40:22 +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