Commit Graph

67 Commits

Author SHA1 Message Date
fiftin-quiz
3c5aaac576 feat: add confirmation state 2024-01-30 17:47:03 +05:00
Denis Gukov
58850e9129 refactor: create package db_lib 2023-09-23 17:12:35 +02:00
Andras Elso
4553cfea99 Handle ssh keys with internal ssh agent 2023-09-19 21:31:41 +02:00
Denis Gukov
0522ad169f feat(runners): add SetStatus method 2023-09-12 19:40:22 +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
e2df7758a1 refactor(be): config struct 2023-07-23 16:18:02 +02:00
Denis Gukov
81dd70ae1f fix: replace config flag use_external_git to option git_client 2023-04-25 20:04:03 +02:00
mgukov
f62cea4353 fix: ignore knows_hosts check 2023-03-13 16:02:59 +07:00
Denis Gukov
5b4adb3cea feat: add config flag use_external_git 2023-03-12 21:45:46 +01:00
mgukov
9c7a0cf7f3 merge upstream/develop 2023-03-12 23:10:05 +07:00
mgukov
745bd7188b fix: use InsecureIgnoreHostKey policy for known_hosts checking 2023-03-12 23:01:47 +07:00
Denis Gukov
c3eaa6fa19 chore: use go-git 2023-03-11 10:22:02 +01:00
Denis Gukov
c048c9b5bf chore: return to external git 2023-03-10 20:42:01 +01:00
mgukov
f27d2d5174 Merge remote-tracking branch 'upstream/develop' into develop 2023-03-07 13:06:15 +07:00
mgukov
df4932a5fc refactor: rename git client files 2023-03-06 12:51:11 +07:00
mgukov
d8b7cc54ba feat: use go git client by default 2023-03-06 12:48:03 +07:00
mgukov
6754025fa0 fix:fix repository pull 2023-02-26 16:27:11 +07:00
mgukov
ab14adf445 fix:GetLastCommitMessage 2023-02-26 15:36:46 +07:00
mgukov
5530e7b7a0 fix: check if err is NoErrAlreadyUpToDate 2023-02-26 15:21:45 +07:00
mgukov
13b2f52c8c fix: login/passwort authentication method support 2023-02-26 13:58:21 +07:00
mgukov
40e018aaa1 feat:support go-git client 2023-02-26 13:22:47 +07:00
Denis Gukov
d6e1315db7 feat(be): use env vars for db options 2023-01-27 22:59:19 +04:00
Dino Paškvan
6ff9b34c10 Add back ENV variable support 2022-06-14 12:58:52 +02:00
Denis Gukov
0366de2fce refactor(be): remove unused method 2022-03-16 00:13:27 +05:00
bakito
b442fa9576
colored output 2022-03-13 16:25:03 +01:00
Denis Gukov
7774378d8c fix(be): bug with ldap tls https://github.com/ansible-semaphore/semaphore/issues/756 2022-02-10 10:53:10 +05:00
Denis Gukov
d2790162eb fix(be): bug with installation and deletion git pk 2022-02-07 11:18:07 +05:00
Denis Gukov
32a6c952ce refactor(be): move some functionality to GitRepository and AnsiblePlaybook classes 2022-02-06 20:37:55 +05:00
Denis Gukov
f9ea2df04e fix(be): bug with deserializing secrets 2022-02-06 17:17:28 +05:00
Denis Gukov
a30df1527e fix(be): bug with getting remote commit 2022-02-06 16:05:40 +05:00
Denis Gukov
fe9c602c5d fix(be): bug with panic https://github.com/ansible-semaphore/semaphore/issues/855 2022-02-05 22:34:34 +05:00
Denis Gukov
dec20af128 fix(be): cron condition 2022-01-31 09:22:08 +05:00
Denis Gukov
208e615a6e feat(be): cron task with condition 2022-01-30 22:43:15 +05:00
Denis Gukov
bf7b50316a refactor(be): extract Ansible to separate class 2022-01-30 18:04:09 +05:00
Denis Gukov
88f4603028 refactor(be): extract git functionality to separate class 2022-01-30 16:22:18 +05:00
Matej Kramny
121567fa03 sample Projects UI, cleanup vendor/
- Update dependencies
- Remove lib/
- Dashboard
2016-03-28 18:28:26 +01:00
Matej Kramny
0f180756ab Auth page
- Restructuring & co
2016-03-18 22:03:28 +00:00
Andrew Replogle
199b82a699 RE ISSUE-56: Prepend PATH and add PYTHONPATH to spawn env args 2015-12-29 17:33:14 +00:00
Andraz Brodnik
9c951dbca4 If users in db don't create default user (fixes #48)
If there are any users in the DB skip the creation of the default admin.

When user starts the app from scratch the default admin is created. If the user adds another admin and deletes the default user,
the default admin will not be created.
If there is the case that the user deletes all admins (including the one he is using right now) the default admin is created again.

This fixes bug #48 which can be a security issue for open deploys of semaphore application.
2015-10-22 14:45:27 +02:00
Andraz Brodnik
2524e315db Replace root home with home of the semaphore user 2015-10-08 22:41:35 +02:00
Matej Kramny
6d6085a2d5 Merge pull request #29 from rmessner/issue-playbook-creation
Fix Identity not being attached to a playbook on creation
2015-09-15 10:27:14 +01:00
Raphael MESSNER
d7b9cc1f35 Fix the issue about identity on playbook creation 2015-06-07 08:29:04 +02:00
Matej Kramny
11bd1e49df User adding/editing 2015-06-02 16:02:44 +02:00
Matej Kramny
f09478ec58 Get rid of grunt, fix users routing issues 2015-06-02 15:25:19 +02:00
Matej Kramny
50d60df7c4 Fix navigation err 'ui.sref' -> 'ui-sref' 2015-06-02 15:25:19 +02:00
Anže Jenšterle
73f012b8d7 initial user management, still not working as intended 2015-06-02 15:25:19 +02:00
Matej Kramny
abe19ce636 Remove running tasks 2015-06-02 15:24:20 +02:00
Matej Kramny
7d64a0e5ed Fix editing, bugs after adding a playbook 2015-03-25 00:36:03 +00:00
Matej Kramny
58d8158116 Update site layout
- Add Dockerfile
- Add docker instructions to README.md
- Reorganise js & jade files
2015-03-25 00:36:00 +00:00
Matej Kramny
de773d99cd Remove extraneous console.log 2015-03-24 18:18:26 +00:00