You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by my...@apache.org on 2020/03/16 14:03:48 UTC
[incubator-dlab] branch DLAB-1629 updated: [DLAB-1629]: Project
creation fails fixed
This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1629
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1629 by this push:
new b58da76 [DLAB-1629]: Project creation fails fixed
b58da76 is described below
commit b58da769a31122a73e0533dfd2b9a3db41088026
Author: bodnarmykola <bo...@gmail.com>
AuthorDate: Mon Mar 16 16:03:28 2020 +0200
[DLAB-1629]: Project creation fails fixed
---
.../src/general/lib/os/debian/edge_lib.py | 30 ++++++++++++++--------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
index 2fa166e..d8a2684 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
@@ -123,8 +123,8 @@ def install_nginx_lua(edge_ip, nginx_version, keycloak_auth_server_url, keycloak
sudo('wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz')
sudo('tar -xzf LuaJIT-2.0.5.tar.gz')
- sudo('wget http://keplerproject.github.io/luarocks/releases/luarocks-3.3.1.tar.gz')
- sudo('tar -xzf luarocks-3.3.1.tar.gz')
+ sudo('wget http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz')
+ sudo('tar -xzf luarocks-2.2.2.tar.gz')
sudo('ln -sf nginx-{} nginx'.format(nginx_version))
@@ -143,19 +143,27 @@ def install_nginx_lua(edge_ip, nginx_version, keycloak_auth_server_url, keycloak
sudo('make')
sudo('make install')
- with cd('/tmp/src/luarocks-3.3.1/'):
+ with cd('/tmp/src/luarocks-2.2.2/'):
sudo('./configure')
sudo('make build')
sudo('make install')
- sudo('luarocks install lua-resty-jwt')
- sudo('luarocks install lua-resty-session')
- sudo('luarocks install lua-resty-http')
- sudo('luarocks install lua-resty-openidc')
- sudo('luarocks install luacrypto')
+ sudo('wget https://luarocks.org/manifests/cdbattags/lua-resty-jwt-0.2.0-0.rockspec')
+ sudo('luarocks install lua-resty-jwt-0.2.0-0.rockspec')
+ sudo('wget https://luarocks.org/manifests/bungle/lua-resty-session-2.26-1.rockspec')
+ sudo('luarocks install lua-resty-session-2.26-1.rockspec')
+ sudo('wget https://luarocks.org/manifests/pintsized/lua-resty-http-0.15-0.rockspec')
+ sudo('luarocks install lua-resty-http-0.15-0.rockspec')
+ sudo('wget https://luarocks.org/manifests/hanszandbelt/lua-resty-openidc-1.7.2-1.rockspec')
+ sudo('luarocks install lua-resty-openidc-1.7.2-1.rockspec')
+ sudo('wget https://luarocks.org/manifests/starius/luacrypto-0.3.2-2.rockspec')
+ sudo('luarocks install luacrypto-0.3.2-2.rockspec')
sudo('luarocks install lua-cjson')
- sudo('luarocks install lua-resty-core')
- sudo('luarocks install random')
- sudo('luarocks install lua-resty-string')
+ sudo('wget https://luarocks.org/manifests/avlubimov/lua-resty-core-0.1.17-4.rockspec')
+ sudo('luarocks install lua-resty-core-0.1.17-4.rockspec')
+ sudo('wget https://luarocks.org/manifests/hjpotter92/random-1.1-0.rockspec')
+ sudo('luarocks install random-1.1-0.rockspec')
+ sudo('wget https://luarocks.org/manifests/rsander/lua-resty-string-0.09-0.rockspec')
+ sudo('luarocks install lua-resty-string-0.09-0.rockspec')
sudo('useradd -r nginx')
sudo('rm -f /etc/nginx/nginx.conf')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org