Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
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
7bf59cf234 refactor(be): move printing db info to separate method 2022-11-20 01:20:00 +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
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
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
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