Denis Gukov
618018dd9e
feat(backup): support integrations
2024-10-07 22:53:51 +05: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
258be69d92
test(backup): fix test
2024-10-07 16:50:25 +05:00
Denis Gukov
540b88a779
fix(backup): marshaling
2024-10-07 16:39:26 +05:00
Denis Gukov
e47ff5ecfc
test(backup): fix test
2024-10-07 14:42:56 +05:00
Denis Gukov
4011f358b0
feat(backup): use marshal/unmarshal function
2024-10-07 14:35:20 +05:00
Denis Gukov
ee62142c39
fix(backup): restore templates without env and inv
2024-10-07 10:46:50 +05:00
Denis Gukov
8168c547e2
test(backup): restoring project
2024-10-06 04:02:46 +05:00
Denis Gukov
85ccc9fcef
test(backup): correct unit test
2024-10-06 03:59:27 +05:00
Denis Gukov
117d16c418
feat(backup): restore backup struct
2024-10-06 03:58:18 +05:00
Denis Gukov
9aa492b53f
feat(backup): marshal/unmarshal
2024-10-06 03:16:12 +05:00
Denis Gukov
0d75e2e28d
refactor(backup): use source models
2024-10-06 01:43:00 +05:00
Denis Gukov
acd29797d4
refactor(backup): add tag backup and use it
2024-10-06 01:16:25 +05:00
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
Brian Zoetewey
87db92151c
Initial pass at multiple ansible vault support.
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
611c0efbbe
Merge branch 'develop' into runners_ui
2024-09-28 16:38:24 +05:00
Denis Gukov
ae3f878276
Merge pull request #2363 from shaxiaozz/shaxiaozz-feat-dingtalk-alert
...
feat: Add dingtalk webhook notification medium
2024-09-28 00:42:25 +05:00
Denis Gukov
1439dd3ae2
refactor(be): rename local variable
2024-09-27 01:44:18 +05:00
Denis Gukov
dc565f3508
feat(be): api/runners -> internal/runners
2024-09-26 17:52:31 +05:00
shaxiao
8335649a81
feat: Add dingtalk webhook notification medium
2024-09-26 14:28:51 +08:00
Denis Gukov
ba778ababe
feat: add env var for build version
2024-09-24 20:58:51 +05:00
Denis Gukov
53f125a45c
Merge pull request #2284 from gaoyue1989/develop
...
add Inventory ID when creating tasks
2024-08-22 09:00:18 +05:00
warlocgao
84c473482c
add tests
...
TestPopulateDetailsInventory is testing the Inventory id in task
TestPopulateDetailsInventory1 is testing the Inventory id in task is nil
2024-08-21 10:08:34 +08:00
warlocgao
73e83944b3
add task InventoryID is null use Template.InventoryID
2024-08-20 10:23:09 +08:00
Shane Mc Cormack
c7191b01e2
fix(apps): Fix passing arguments and variables to shell apps.
2024-08-16 17:42:02 +01:00
moonpanda
078034d9ed
add Inventory ID when creating tasks
2024-08-15 15:43:09 +08:00
Denis Gukov
4b966a7c28
fix(be): do not check active flag of schedule if repo id provided
2024-08-10 21:22:19 +05:00
fiftin
a8a95495d8
feat(db): change algo for filling last_task of template model
2024-07-20 00:38:35 +05:00
fiftin
fef54a1d5f
fix(environment): decrypt secrets
2024-07-18 00:41:11 +05:00
fiftin
8bea0fc2c1
fix(terraform): provide inventory
2024-07-17 20:29:12 +05:00
fiftin
bb748cb480
fix: provide app for demo project templates
2024-07-16 11:35:36 +05:00
fiftin
aab76094e4
test(bolt): fix util tests
2024-07-14 22:14:57 +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
Denis Gukov
ebc42a208b
Merge pull request #2161 from semaphoreui/env-secrets
...
Envionment Secrets
2024-07-03 01:52:30 +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
Arnaud V
70f4b7397e
Fix the rerun functionality when using an inventory from a git repo
...
Changed the way the cloneInventoryRepo() function handles git repositories:
The function will now try to pull the git repo if it can be pulled, else it will be cloned.
This behaviour is based on what is done in the updateRepository() function
Renamed the file from "LobalJob_inventory.go" to "LocalJob_inventory.go"
2024-07-01 10:42:40 +02:00
fiftin
f3f64f6a83
refactor(schedule): replace disabled field to active
2024-07-01 00:57:03 +05:00
fiftin
8fe600fd4f
feat(schedule): add name and allow disable
2024-07-01 00:16:35 +05:00
Denis Gukov
48089343d8
feat(be): cleaning tasks
2024-06-30 12:48:36 +05:00
Denis Gukov
4bf2f1352a
feat(be): query optimization
2024-06-29 21:23:41 +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
fiftin
afd2f59e4a
fix(runners): pass inventory repo to the runner
2024-05-27 22:00:40 +02:00
Prakyath Raj
4ded69c065
Check template type
2024-05-24 00:35:04 +05:30
Prakyath Raj
fcc32bac34
Removed build task id from alert
2024-05-23 22:08:04 +05:30
Prakyath Raj
7fddd34f73
Added get incoming version to alerts
2024-05-23 21:53:54 +05:30
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
Denis Gukov
f93969f340
feat: allow null for template's inventory ( #1953 )
...
* feat: allow null for template's inventory
* fix(web): show - if no inventory or environment provided
* test: fix tests
* test: fix tests
* test: fix tests
* fix: compile dredd test
2024-04-19 21:47:08 +05:00
Christian Kröger
f2e0fe5bb7
fix TaskRunner tests
2024-04-19 15:24:24 +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
Prakyath Raj
146f0a4d94
Use comma only if version is passed
2024-04-14 01:49:20 +05:30
Prakyath Raj
9a14ff6628
Fix author & version return values in alert
2024-04-13 15:36:11 +05:30
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
Thomas Boerger
ca684a7b05
feat: move random string to separate package
2024-04-12 10:00:44 +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
fiftin
205fe71bcb
fix(websocket): duplication logs for admin
2024-04-05 13:02:06 +02:00
fiftin
f20451b4c8
fix(backups): add inventory field
2024-04-03 11:02:29 +02:00
Denis Gukov
f758e75d9e
Merge pull request #1906 from semaphoreui/1870-author-details-missing-in-slack-alert
...
fix(alerts): use dash instead of user name of it is cron task
2024-04-03 00:45:34 +02:00
Denis Gukov
ab3fe8ba02
Merge pull request #1905 from semaphoreui/1832-refresh-does-not-seem-to-work-correctly
...
fix(backups): add the user to the restored project
2024-04-03 00:33:49 +02:00
fiftin
cbccad0de0
fix(alerts): use dash instead of user name of it is cron task
2024-04-03 00:28:36 +02:00
fiftin
0c9c611cb3
fix(backups): add the user to the restored project
2024-04-03 00:05:07 +02:00
fiftin
dafc6590df
fix(users): update task log for admins
2024-04-02 23:50:52 +02:00
fiftin
7f15af22b5
fix(slack): log messege for unsuccess sent
2024-04-02 14:16:34 +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
52f64e36fa
fix: email link
2024-03-23 21:59:29 +01:00
fiftin
c5448d0357
feat: use html for emails
2024-03-23 21:16:59 +01:00
fiftin
a369bd772f
feat: add emoji for all messengers
2024-03-23 20:55:33 +01:00
fiftin
e2707994cb
feat: add notification for confirmation
2024-03-23 20:36:43 +01:00
fiftin
8964689383
feat(notifications): add emoji to messages
2024-03-23 20:33:48 +01:00
fiftin
65d7a467fa
feat(integrations): add alias management endpoints
2024-03-20 14:01:52 +01:00
tothakos-code
21f9b50b66
feat: add secret survey field type
2024-03-19 09:49:33 +01:00
Oussama Jarrousse
631da95ea9
Adding rocket.chat alerts support (similar to slack)
2024-03-15 18:30:15 +01:00
Oussama Jarrousse
a43c94f6e7
Revert "Adding rocket.chat alerts support (similar to slack)"
...
This reverts commit 2bb8114464
.
2024-03-15 18:23:11 +01:00
Oussama Jarrousse
2bb8114464
Adding rocket.chat alerts support (similar to slack)
2024-03-15 18:20:54 +01:00
fiftin
26f609b3a5
fix(runners): check statuses from server
2024-03-12 03:03:43 +01:00
fiftin
f2c8bc2a4c
fix(be): deny waiting confirmation after confirmed
2024-03-12 02:53:29 +01:00
fiftin
179a2625f7
fix(be): logger for playbook
2024-03-12 02:20:30 +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
8a6d5821f8
Revert "feat: make inventory optional for template"
...
This reverts commit f6f3e4228f
.
2024-03-10 22:56:58 +01:00
fiftin
8aafae1417
Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop
2024-03-10 22:51:37 +01:00
fiftin
f6f3e4228f
feat: make inventory optional for template
2024-03-10 22:51:28 +01:00