Commit Graph

52 Commits

Author SHA1 Message Date
Denis Gukov
89a2ddf6b5 feat(be): ansible-semaphore -> semaphoreui 2024-10-26 12:56:17 +00:00
Denis Gukov
074e303085
Support TF/Bash (#2077)
Support OpenTofu and Bash
2024-06-13 01:20:57 +05:00
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
Denis Gukov
37ccbade63 fix(be): error message 2024-04-27 12:00:15 +05:00
Thomas Boerger
3565a2d391
feat: simplify call to store event logs 2024-04-12 09:23:13 +02:00
fiftin
5fe5ae388d
refactor(errors): add method WriteErrorStatus 2024-04-02 23:10:42 +02:00
fiftin
6e5bac8130 fix: validate inventory before save 2024-03-18 15:33:40 +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
quantumsheep
5761b4e15e
feat: support yaml static inventories 2022-05-24 17:55:20 +02:00
Denis Gukov
05dd7c5653 feat: remove soft delete functionality 2022-02-03 12:06:24 +05:00
Denis Gukov
d87a0147d5 refactor(be): remove duplication 2021-10-13 19:33:07 +05:00
Denis Gukov
e692d2403e refactor(be): add enum for event object type 2021-10-13 19:07:22 +05:00
Denis Gukov
749291a690 feat(be): pass ansible_user/password to ansible-playbook via file 2021-09-12 03:18:26 +05:00
Denis Gukov
d269a53625 feat(be): add user id to activity log 2021-08-20 11:28:50 +05:00
Denis Gukov
2b8a942e33 fix(be): remove boltdb user 2021-05-17 02:44:42 +05:00
Denis Gukov
779760d6aa fix(be): lint 2021-03-13 01:30:17 +05:00
Denis Gukov
027e45fc86 refactor(be): migrate projects to Store 2020-12-17 00:19:20 +05:00
Denis Gukov
49fea98db3 refactor(be): migrate key to Store 2020-12-08 13:24:54 +05:00
Denis Gukov
4707bd92ee refactor(be): delete inventory via Store 2020-12-07 23:51:11 +05:00
Denis Gukov
385e788795 feat(be): migrate inventories to Store 2020-12-07 17:13:59 +05:00
Denis Gukov
fd1d42782b refactor(be): return models to db package 2020-12-05 14:13:43 +05:00
Denis Gukov
6e1a6d20ca refactor(be): template and environment endpoints use Store
Rename util to helpers
Bind returns bool instead of error
2020-12-04 13:46:02 +05:00
Denis Gukov
0d64b43f18 refactor(be): move util.go to api directory 2020-12-04 13:46:02 +05:00
Denis Gukov
b083f74322 fix(be): delete global Mysql variable and add interface Store for dialect-independent communication with database. 2020-12-04 13:46:02 +05:00
Denis Gukov
d09fc1d26c feat(be): support sqlite 2020-12-01 21:37:29 +05:00
Denis Gukov
33adc2b063 fix(be): remove excess panic 2020-11-22 05:32:49 +05:00
Denis Gukov
fdb31800ee feat(web2): team page 2020-11-04 01:56:22 +05:00
Denis Gukov
1bff6c2dad feat: inventory page 2020-11-03 23:09:09 +05:00
Stanislav Simovski
5ccae272d4 Remove mulekick, move functions to util 2019-07-09 20:45:27 +03:00
Stanislav Simovski
ab5927427d Remove mulekick router, use mux directly
Revert one more commit
2019-07-09 20:39:18 +03:00
Stanislav Simovski
09a2b31eb3 mux != Koa, undo refactor before it gets worse 2019-07-09 19:11:01 +03:00
Stanislav Simovski
bb97b8d757 Execute next middleware in stack only if present 2019-07-09 18:55:42 +03:00
Stanislav Simovski
23d65ba0c2 Refactored all routes to use native mux Middelware 2019-07-09 16:07:16 +03:00
Stanislav Simovski
23fdc8550b Set version on windows taskfile
It doesn't otherwise build on windows since by default it's `1`:
```powershell
Taskfiles versions should match. First is "2" but second is "1"
```

backup
2019-07-09 16:07:10 +03:00
Matej Kramny
d5f8335f2a fix dependency 2019-07-09 10:36:20 +08:00
tom whiston
17fa7bb407 add gometalinter to tools and run it in circle.
extract some error checking and logging in places where linting needed or errors not checked
2018-04-05 21:24:19 +00:00
Denis
346af83e25 Remove redundant variable 2018-03-08 19:01:10 +05:00
Denis
b849c22559 Use os.Getwd() instend of './' 2018-03-08 19:00:15 +05:00
Denis
4aeef04369 feat: add tests 2018-03-08 16:37:38 +05:00
Denis
a63fd9d570 Validate inventory path before save 2018-03-08 14:04:34 +05:00
Denis
de7cb3453d Removed AWS/DO/GCloud inventory types 2018-03-08 12:39:20 +05:00
Denis Gukov
472aa30d61 feat: add File type of Inventory 2017-10-26 12:33:03 +05:00
laeshiny
fa69fd13d8 Add sort, order parameter to Get Request of "project/id/inventory"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name (or type)

- order: ordering manner
 example) asc (or desc)
2017-03-16 23:55:50 +09:00
laeshiny
8c30b75c57 Rearrange list of Task Template, Inventory, Environment, Team in UI
- Add "order by alias (or name)" to query of getting list in Task Template, Inventory, Environment, Team
2017-03-15 00:04:48 +09:00
laeshiny
89fc1f77c8 correct the response content and code
- add an inventory id to the response content
- replace the response code to 201 (Created)
2017-03-11 14:47:26 +09:00
laeshiny
d944f252c7 add content to response of post /project/{project_id}/inventory 2017-03-10 23:56:23 +09:00
Matej Kramny
2a2b7e8aed merge models -> db 2017-02-22 21:12:16 -08:00
Matej Kramny
3f3da12d37 🎉 gin -> net/http 2017-02-22 15:21:49 -08:00
Matej Kramny
1ddfcd5b5f moar refactor
- c.MustGet( -> context.Get(r,
- c.Get( -> context.GetOk(r,
2017-02-22 14:21:52 -08:00
Matej Kramny
2f16f70e98 begin refactor gin -> net/http 2017-02-22 14:17:36 -08:00