Commit Graph

82 Commits

Author SHA1 Message Date
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
Oussama Jarrousse
7f80e3812d go fmt 2024-03-16 04:18:26 +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
gavrilov.nikita
741a6748fd Fix deprecation io/ioutil 2024-03-10 22:07:19 +03:00
Denis Gukov
ebb0c2c286
Merge pull request #1584 from robinmalik/develop
Add: Support for Microsoft Team Channel Alerts (via Adaptive Card webhook)
2024-03-02 18:35:11 +01: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
Robin Malik
2e51ab7f1f Add support for Microsoft Team Channel Webhook 2023-10-21 10:47:11 +01:00
Denis Gukov
67099f1031 fix(be): check port format 2023-09-20 10:22:26 +02:00
Denis Gukov
f981f14d16
Vault cli (#1463)
* feat(be): add cli command vault rekey

* feat(vault): use tx

* feat(vault): docs

* fix(vault): rekey flag
2023-09-09 14:41:41 +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
adbbe87e74 chore: public url 2023-07-23 02:23:25 +02:00
Denis Gukov
7bf59cf234 refactor(be): move printing db info to separate method 2022-11-20 01:20:00 +05:00
Denis Gukov
cf7e5f895a feat(be): disable of sslmode for postgres when setup 2022-11-20 00:22:17 +05:00
Denis Gukov
07c6860ccb feat(be): support session connection for boltdb 2022-11-19 03:23:30 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
8bb37dc3cc fix(docker): bolt support 2022-10-05 22:40:30 +05:00
Loïc Tosser
e72a5a6ee6 Slack alerts 2022-04-11 12:29:48 +04:00
Denis Gukov
cb5ec3e7dc chore(cli): more human readable error message 2022-02-01 01:16:01 +05:00
Denis Gukov
fa4e13a0f1 refactor(be): remove global vars of task pool and schedule pool 2022-01-29 23:14:36 +05:00
Denis Gukov
b5eac6ca2f refactor(be): move schedules to package services 2022-01-29 16:24:51 +05:00
Denis Gukov
f5ad81f7c0 fix(be): checking build version by nil 2022-01-26 16:52:31 +05:00
Denis Gukov
5823bd8a7c fix(be): use correct command for running semaphore server 2022-01-24 22:22:10 +05:00
Denis Gukov
9b86ca69f2 refactor(cli): rename command service to server 2022-01-24 19:37:43 +05:00
Denis Gukov
9cf52616ec fix(cli): bug with config path parameter 2022-01-24 01:19:22 +05:00
Denis Gukov
d942cce1bc test(be): fix tests after migration refactoring 2022-01-23 18:21:27 +05:00
Denis Gukov
9520c0cd1b feat(be): implement migrations for BoltDB 2022-01-23 18:03:23 +05:00
Denis Gukov
4b024af095 feat(cli): add default value for config option 2022-01-21 21:27:48 +05:00
Denis Gukov
f0ee0dfc87 feat(fe): add instruction how to add user 2022-01-20 23:40:52 +05:00
Denis Gukov
6be09da63c feat: REMOVE PLACEHOLDER USER FUNCTIONALITY 2022-01-19 02:26:48 +05:00
Denis Gukov
458ee316ba feat(be): placeholder user 2021-12-18 18:16:34 +05:00
Denis Gukov
29499661c6 fix(be): pass linter 2021-12-16 03:27:59 +05:00
Denis Gukov
76bc2e29c5 feat(cli): returns ability to upgrade semaphore 2021-12-16 03:18:41 +05:00
Denis Gukov
a36b948691 fix(be): Access key file not found https://github.com/ansible-semaphore/semaphore/issues/783 2021-11-03 17:51:36 +05:00
Denis Gukov
034bdd456f fix(be): check directory state before trying create it 2021-11-03 01:07:37 +05:00
Denis Gukov
4db5a8cfa1 fix(cli): command description 2021-10-11 13:30:19 +05:00
Denis Gukov
6bd6c338f7 feat(be): timeout of boltdb 2021-09-17 15:05:04 +05:00
Denis Gukov
813eae8fa3 refactor(be): refreshing schedule pool after schedule updated 2021-09-06 20:45:43 +05:00
Denis Gukov
0b5998274d refactor(be): remove schedule global variable 2021-09-06 17:01:38 +05:00
Denis Gukov
6eeb6706d4 feat: add schedule functionality 2021-09-06 16:05:10 +05:00
Denis Gukov
7443671059 feat(be): add access key encryption 2021-08-31 04:02:41 +05:00
Denis Gukov
81e50f82ef fix(config): fill dialect field 2021-08-28 22:57:04 +05:00
Denis Gukov
0b3b56620c refactor(config): add field dialect 2021-08-28 22:03:34 +05:00
Denis Gukov
22e422e15a feat(cli): add user management commands 2021-08-28 16:44:41 +05:00
Denis Gukov
a5a9f0cf0f feat(cli): add env variable SEMAPHORE_CONFIG_PATH 2021-08-28 00:14:20 +05:00
Denis Gukov
b25908c4c6 fix(cli): mark user args as required 2021-08-27 23:54:48 +05:00
Denis Gukov
38a41764da refactor(cli): user add command 2021-08-27 13:50:26 +05:00
Denis Gukov
4c3e2f4383 feat(cli): support arg -config for back compatibility 2021-08-26 01:36:04 +05:00