Commit Graph

104 Commits

Author SHA1 Message Date
Denis Gukov
1ffa29030e fix(config): init ldap mappings in interactive setup 2024-10-19 21:40:43 +05:00
Denis Gukov
648e31b85d feat(cli): add aliases user->users vault->vaults 2024-10-13 14:38:09 +00:00
Denis Gukov
fd6a258f04 feat(cli): add log level option 2024-10-13 13:10:54 +00:00
Denis Gukov
27c7c5565a refactor(cli): add struct of global options 2024-10-13 13:01:38 +00:00
Denis Gukov
151106ac3f feat(runner): support flag --stdin-registration-token 2024-10-13 09:26:22 +00:00
Denis Gukov
8dd85afa15 fix(cli): return ask directory path 2024-09-30 01:29:58 +05:00
Denis Gukov
4afe568db6 fix(cli): respect --config option in setup command 2024-09-30 01:18:08 +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
611c0efbbe Merge branch 'develop' into runners_ui 2024-09-28 16:38:24 +05:00
Denis Gukov
41b682ff38 chore(be): remove asking DingTalk settings in setup 2024-09-27 23:52:41 +05:00
shaxiao
8335649a81 feat: Add dingtalk webhook notification medium 2024-09-26 14:28:51 +08:00
Denis Gukov
02631b2643 feat(cli): add flag --no-config to do not read config file. All options can be read from env vars 2024-09-26 00:28:22 +05:00
fiftin
37230c2f2b
fix(apps): init apps in config 2024-07-10 17:35:21 +05:00
Denis Gukov
3fe1e91651 fix(apps): updating app 2024-07-09 13:57:33 +05:00
Denis Gukov
a6133354c1 feat: lookup default apps 2024-07-08 00:51:50 +05:00
Denis Gukov
7195913a5f feat: load options from db 2024-07-07 22:12:21 +05:00
Denis Gukov
074e303085
Support TF/Bash (#2077)
Support OpenTofu and Bash
2024-06-13 01:20:57 +05:00
fiftin
0e52c674b6
fix: init config in setup 2024-05-26 14:27:40 +02:00
Denis Gukov
89eb8804fb
Merge pull request #1986 from semaphoreui/rm_upgrade_cli_command
feat(cli): remove upgrade command
2024-05-10 16:12:54 +05:00
fiftin
669b535514
feat(cli): remove upgrade command 2024-05-01 16:34:50 +05:00
Thomas Boerger
377048f6ed
feat: rebuild task file and drop version generator 2024-04-28 00:10:27 +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
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