threefoldtecharchive / jumpscaleX_builders

Apache License 2.0
1 stars 0 forks source link

create jumpscale builder for taiga #33

Closed hossnys closed 4 years ago

hossnys commented 4 years ago

taiga is a project management tool which installed here using installation docs here

more deatils here https://support.grid.tf/thread/49

ranatrk commented 4 years ago

The builder is already implemented in j.builders.apps.taiga, but there are some errors when installing. Currently working on making sure it is working correctly

ranatrk commented 4 years ago

WIP: some refactoring in install and start functions is done. Need to fix some configurations for the builder to be complete and ready to be used in a script.

ranatrk commented 4 years ago

Fixes in builder: https://github.com/threefoldtech/jumpscaleX_builders/commit/a5aaca1e6b64d553667637ab265a7222dc57fd70

configurations will be altered slightly in the script, but still working on changing the default password for admin user

ranatrk commented 4 years ago

Builder:https://github.com/threefoldtech/jumpscaleX_builders/commit/cacc48a73d28bacc8494ee5c07abf3b9b8fa1bcd Server: https://github.com/threefoldtech/jumpscaleX_libs_extra/commit/a71b15a106f60c4297a3db10e750784b3e9fc0db

note To use the server :

taiga_server = j.servers.taiga.get(backend_repo="",frontend_repo="",events_repo="")
taiga_server.install()
taiga_server.start()
ranatrk commented 4 years ago

Some changes were done to taiga builder and server. Now working Builder: https://github.com/threefoldtech/jumpscaleX_builders/blob/development/JumpscaleBuilders/apps/BuilderTaiga.py Server : https://github.com/threefoldtech/jumpscaleX_libs_extra/blob/development/JumpscaleLibsExtra/servers/taiga/TaigaServer.py

To use the server:

taiga_server = j.servers.taiga.get(backend_repo="",
                                   frontend_repo="",
                                   events_repo="",
                                   host="",port="",
                                   branch_backend="",
                                   branch_frontend="",
                                   branch_events="",
                                   secret_="")
taiga_server.install(reset=True)
taiga_server.start()
hossnys commented 4 years ago

verified :

JSX> taiga_server = j.servers.taiga.get(backend_repo="https://gitlab.com/threefoldforks/Threefold-Circles.git",frontend_repo="http
s://gitlab.com/threefoldforks/Threefold-Circles-front-dist.git",events_repo="https://gitlab.com/threefoldforks/Threefold-Circ
les-events.git",branch_backend="stable",branch_frontend="stable",branch_events="master")                                     

JSX> taiga_server.install()
JSX> taiga_server.start() 

Screenshot from 2019-10-16 11-50-33