Commit Graph

46 Commits

Author SHA1 Message Date
Denis Gukov
4795e37113 Merge branch 'develop' into add-ansible-vault-password-client-script 2024-10-31 00:16:54 +05:00
Denis Gukov
89a2ddf6b5 feat(be): ansible-semaphore -> semaphoreui 2024-10-26 12:56:17 +00:00
Brian Zoetewey
69817a38f2 Move implementation of Ansible vault password client script to TemplateVault. 2024-10-22 15:50:31 -04:00
Brian Zoetewey
a4c4f43b58 Add Ansible Vault Password Client Script support 2024-10-22 11:26:03 -04:00
Denis Gukov
d99940fcd6
Merge pull request #2408 from yoo/develop
fix(apps): pass environment variables to tf/tofu init
2024-10-21 12:20:23 +05:00
Denis Gukov
c4d98b1136 fix(be): use pointer for git branch 2024-10-19 19:16:32 +05:00
yoo
178b1df14b fix(apps): pass environment variables to tf/tofu init 2024-10-10 13:36:59 +02:00
Brian Zoetewey
792d42bf26 Allow override of Template git branch. Prefer Task override when running Local Job. 2024-10-07 10:04:15 -04:00
Brian Zoetewey
fa24bc9ab0 Allow override of Task git_branch 2024-10-07 10:04:05 -04:00
Denis Gukov
4011f358b0 feat(backup): use marshal/unmarshal function 2024-10-07 14:35:20 +05:00
Brian Zoetewey
87db92151c Initial pass at multiple ansible vault support. 2024-10-04 15:08:59 -04:00
Denis Gukov
ba778ababe feat: add env var for build version 2024-09-24 20:58:51 +05:00
Shane Mc Cormack
c7191b01e2 fix(apps): Fix passing arguments and variables to shell apps. 2024-08-16 17:42:02 +01:00
fiftin
fef54a1d5f
fix(environment): decrypt secrets 2024-07-18 00:41:11 +05:00
fiftin
bb748cb480
fix: provide app for demo project templates 2024-07-16 11:35:36 +05:00
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