Commit Graph

63 Commits

Author SHA1 Message Date
Denis Gukov
70dd0554d8 fix(runners): specify content type in webhook request 2023-09-17 01:09:08 +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
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
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
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
Denis Gukov
29b38c446c test: fix test after MR 2023-07-03 10:40:17 +02:00
Denis Gukov
62a771fec0
Merge pull request #1289 from cedbale/taskId
feat: expose taskID into semaphore_vars
2023-06-27 18:51:02 +02:00
Daniel Torlop
ad30f8252c
fix: email alert 2023-06-21 22:16:26 +02:00
Cédric
653029c94d
Update runner.go 2023-06-20 14:18:57 +02:00
Cédric
efdf4140f0 feat: provide task ID from semaphore_vars 2023-06-20 14:16:21 +02:00
mgukov
d8b7cc54ba feat: use go git client by default 2023-03-06 12:48:03 +07:00
mgukov
40e018aaa1 feat:support go-git client 2023-02-26 13:22:47 +07:00
Denis Gukov
1e58ff16f4 fix(be): housekeeping after clone 2022-11-21 00:37:05 +05:00
Denis Gukov
f830f3bbee test(be): task run 2022-11-20 14:10:33 +05:00
Denis Gukov
056aeb4942 fix(be): running task on boltdb 2022-11-20 13:15:29 +05:00
Denis Gukov
07c6860ccb feat(be): support session connection for boltdb 2022-11-19 03:23:30 +05:00
Denis Gukov
8d0a27822d fix(be): creating task/output for boltdb with no keep connection mode 2022-11-09 22:31:52 +05:00
Denis Gukov
53a75cf916 test: fix unit test 2022-11-09 21:37:38 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
e4cf341f9e fix(be): bug with derermining of playbook path, relates to https://github.com/ansible-semaphore/semaphore/issues/1068 2022-10-29 15:00:56 +05:00
anarchistcat
b27611e565 Diff mode test 2022-10-28 05:05:13 +02:00
Denis Gukov
1923eb751f fix(be): use correct collections path 2022-10-16 23:30:52 +05:00
Denis Gukov
0dd190dbcf fix(be): email sending 2022-10-02 22:10:56 +05:00
Loïc Tosser
13af56c031
Merge branch 'develop' into slack-alerts 2022-07-14 10:21:13 +04:00
Denis Gukov
fd259a4af4 fix(be): empty env field in environment, https://github.com/ansible-semaphore/semaphore/issues/980 2022-06-30 11:04:51 +05:00
Dino Paskvan
545df6fb87
Merge branch 'ansible-semaphore:develop' into develop 2022-06-24 12:31:30 +02:00
Dino Paškvan
e6a90b4762 Update runner to use new model 2022-06-24 12:31:00 +02:00
Denis Gukov
261719137a
Merge pull request #811 from jdhayes/develop
Added ansible limit to API
2022-06-23 17:02:21 +05:00
Dino Paškvan
6ff9b34c10 Add back ENV variable support 2022-06-14 12:58:52 +02:00
quantumsheep
5761b4e15e
feat: support yaml static inventories 2022-05-24 17:55:20 +02:00
Loïc Tosser
d86fb48b97 Improve slack messages 2022-04-19 16:32:03 +04:00
Loïc Tosser
d957c81789 Slack alerts 2022-04-19 10:51:13 +04:00
Loïc Tosser
e72a5a6ee6 Slack alerts 2022-04-11 12:29:48 +04:00
Denis Gukov
4bfb9bd78e feat(be): support git file:// protocol and local repo 2022-03-30 20:31:00 +05:00
Cyril
ebc0900820 set type argument in galaxy calls 2022-03-17 20:28:31 +01:00
Cyril
a5c49bc826 fix: typo on ansible-galaxy argument 2022-03-17 17:22:40 +01:00
Cyril
de3b1e2eb5 fix ansible-semaphore/semaphore#682 2022-03-17 17:18:56 +01:00
bakito
b442fa9576
colored output 2022-03-13 16:25:03 +01:00
Jordan Hayes
4b884ab567 Fixed limit override, now appends 2022-03-09 11:59:10 -08:00
Jordan Hayes
c24fdd19d1 Moved API limit patch to use Task Override 2022-03-09 10:48:42 -08:00
jhayes
b3caba78f8 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2022-03-08 11:04:13 -08:00
Denis Gukov
b127e054d8 feat(be): add max parallel tasks to project settings and ability to suppress success alerts for tasks 2022-02-14 16:52:28 +05:00
Jordan Hayes
1f4c8c1c76 Added ansible limit to args, again 2022-02-10 12:01:42 -08:00
Denis Gukov
32a6c952ce refactor(be): move some functionality to GitRepository and AnsiblePlaybook classes 2022-02-06 20:37:55 +05:00