Denis Gukov
60f3c72c22
Merge pull request #1771 from thibaultserti/develop
...
fix: slack color for failure
2024-03-01 14:27:07 +05: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
Thibault Ayanides
b932b96088
fix: slack color for failure
2024-02-19 21:55:18 +01:00
fiftin
e2f43bee7e
fix(schedule): parallel tasks with boltdb ( https://github.com/ansible-semaphore/semaphore/issues/1211 )
2024-02-10 18:59:56 +05:00
Denis Gukov
d173577f3d
feat(backup): add random suffix for resources with the same name
2024-02-10 18:23:11 +05:00
Denis Gukov
813358b266
feat(backup): add random suffix for resources with the same name
2024-02-10 18:21:39 +05:00
Denis Gukov
1fd655258a
fix(backup): nullpointer error with cron
2024-02-10 15:30:41 +05:00
samerbahri98
6d2b34858f
fix(api): restore cron
2024-02-07 22:19:25 +01:00
samerbahri98
9c0b53a216
test(api): restore
2024-02-07 22:19:25 +01:00
samerbahri98
84a3841c80
feat(api): restore
2024-02-07 22:19:23 +01:00
samerbahri98
6a2cfcc3ac
feat(api): backup
2024-02-07 22:19:22 +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
34485b7b8e
feat(backend): add config option max_task_duration_sec
2023-12-25 04:17:12 +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
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
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
Andras Elso
dbbb73c0b7
Fix test
2023-09-20 00:26:17 +02:00
Denis Gukov
c8a00ba1e4
fix(alerts): version instaed of build id
2023-09-19 23:34:51 +02:00
Denis Gukov
47f9c851e6
chore(alerts): use ERR instead of WARN
2023-09-19 23:14:21 +02:00
Denis Gukov
80cb157e52
fix(alerts): do not panic on error
2023-09-19 23:11:51 +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
e6c72fb330
fix(be): ignore max parallel tasks if it is 0
2023-09-17 22:06:28 +02:00
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