threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

finish openresty factory #709

Closed despiegk closed 5 years ago

despiegk commented 5 years ago
andrewayoub commented 5 years ago

Using lua-resty-auto-ssl library made it requires no extra configurations at all, it will issue certificate for any domain. see example here

I have also refactored the test to use jumpscale http client instead of requests

and the test now creates two servers one hosting static page and the other one is the proxy server

Pishoy commented 5 years ago

Could not execute: 'bash /tmp/builder_openresty.sh'stderr:

JSX> j.builders.web.openresty.test()
Traceback (most recent call last): File "", line 1, in File "/sandbox/lib/jumpscale/Jumpscale/builders/web/BuilderOpenResty.py", line 232, in test if self.running(): File "/sandbox/lib/jumpscale/Jumpscale/builders/system/BuilderBaseClass.py", line 524, in running for startupcmd in self.startup_cmds: File "/sandbox/lib/jumpscale/Jumpscale/builders/web/BuilderOpenResty.py", line 212, in startup_cmds raise RuntimeError("cannot use lapis here, need openresty allone") RuntimeError: cannot use lapis here, need openresty allone

cannot use lapis here, need openresty allone

JSX> j.builders.web.lapis.uninstall()

JSX> j.builders.web.openresty.uninstall()

JSX> j.builders.web.openresty.test()

Traceback (most recent call last): File "", line 1, in File "/sandbox/lib/jumpscale/Jumpscale/builders/web/BuilderOpenResty.py", line 232, in test if self.running(): File "/sandbox/lib/jumpscale/Jumpscale/builders/system/BuilderBaseClass.py", line 524, in running for startupcmd in self.startup_cmds: File "/sandbox/lib/jumpscale/Jumpscale/builders/web/BuilderOpenResty.py", line 212, in startup_cmds raise RuntimeError("cannot use lapis here, need openresty allone") RuntimeError: cannot use lapis here, need openresty allone

cannot use lapis here, need openresty allone JSX>

BolaNasr commented 5 years ago

j.builders.web.openresty.install(reset=True) image

j.builders.web.openresty.test() image

Pishoy commented 5 years ago

still am getting error with development_jumpscale branch steps :

j.builders.web.openresty.install(reset=True)
j.builders.web.openresty.test()