zeus
4 years ago
30 changed files with 917 additions and 118 deletions
@ -0,0 +1,70 @@ |
|||
#FROM alpine:3.11 |
|||
FROM node:alpine |
|||
|
|||
LABEL MAINTAINERS="Guillaume Scheibel <guillaume.scheibel@gmail.com>, Damien DUPORTAL <damien.duportal@gmail.com>" |
|||
|
|||
# Installing package required for the runtime |
|||
RUN apk add --no-cache \ |
|||
bash \ |
|||
curl \ |
|||
ca-certificates \ |
|||
findutils \ |
|||
font-bakoma-ttf \ |
|||
git \ |
|||
graphviz \ |
|||
inotify-tools \ |
|||
make \ |
|||
python3 \ |
|||
py3-pillow \ |
|||
py3-setuptools \ |
|||
tzdata \ |
|||
unzip \ |
|||
build-base \ |
|||
libxml2-dev \ |
|||
which \ |
|||
nginx |
|||
|
|||
# Installing Python dependencies for additional |
|||
# functionnalities |
|||
RUN apk add --no-cache --virtual .pythonmakedepends \ |
|||
build-base \ |
|||
python3-dev \ |
|||
py3-pip \ |
|||
&& pip3 install --no-cache-dir \ |
|||
actdiag \ |
|||
pip install supervisor supervisor-stdout \ |
|||
'blockdiag[pdf]' \ |
|||
nwdiag \ |
|||
seqdiag \ |
|||
&& apk del -r --no-cache .pythonmakedepends |
|||
|
|||
|
|||
COPY dist /home/node/swarmlab-app |
|||
COPY src-local/llo /home/node/server/llo |
|||
COPY src-local/package.json /home/node/server/package.json |
|||
|
|||
RUN mkdir -p /home/node/run \ |
|||
&& mkdir -p /home/node/logs \ |
|||
&& chown -R node.node /home/node \ |
|||
&& chmod -R 755 /home/node \ |
|||
&& ln -s /usr/local/bin/node /usr/bin/node \ |
|||
&& mkdir -p /run/nginx \ |
|||
&& npm install pm2@latest -g |
|||
|
|||
|
|||
USER node |
|||
|
|||
WORKDIR /home/node/server |
|||
RUN set -uex; \ |
|||
# npm run build no need it! |
|||
npm install; \ |
|||
npm i async chokidar url-exist-sync axios socketio-auth socket.io-client https socket.io bufferutil utf-8-validate --save \ |
|||
npm audit fix; \ |
|||
npm cache clean --force; |
|||
|
|||
WORKDIR /home/node/swarmlab-app |
|||
VOLUME /home/node/swarmlab-app |
|||
|
|||
EXPOSE 443 8080 3000 3080 |
|||
|
|||
CMD ["pm2-runtime", "ecosystem.config.js"] |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 12 KiB |
@ -1 +1 @@ |
|||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.84310fb0.css" rel="preload" as="style"><link href="/css/chunk-vendors.7ca8a1ff.css" rel="preload" as="style"><link href="/js/app.a72e0553.js" rel="preload" as="script"><link href="/js/chunk-vendors.b4c99bde.js" rel="preload" as="script"><link href="/css/chunk-vendors.7ca8a1ff.css" rel="stylesheet"><link href="/css/app.84310fb0.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.b4c99bde.js"></script><script src="/js/app.a72e0553.js"></script></body></html> |
|||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.ed7b5fa8.css" rel="preload" as="style"><link href="/css/chunk-vendors.8f6b4875.css" rel="preload" as="style"><link href="/js/app.a5b73d3b.js" rel="preload" as="script"><link href="/js/chunk-vendors.07104166.js" rel="preload" as="script"><link href="/css/chunk-vendors.8f6b4875.css" rel="stylesheet"><link href="/css/app.ed7b5fa8.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.07104166.js"></script><script src="/js/app.a5b73d3b.js"></script></body></html> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,43 @@ |
|||
module.exports = { |
|||
"apps": [ |
|||
{ |
|||
"name" : "www", |
|||
"autorestart" : true, |
|||
"watch" : true, |
|||
"cwd" : "/home/node/swarmlab-app", |
|||
"script" : "nginx -g 'daemon off;'", |
|||
"exec_interpreter" : "none", |
|||
"log_type" : "json", |
|||
"log_file" : "/home/node/logs/logfilenginx", |
|||
"error_file" : "/home/node/logs/errorfilenginx", |
|||
"out_file" : "/home/node/logs/outfilenginx", |
|||
"log_date_format": "YYYY-MM-DD HH:mm Z", |
|||
"merge_logs" : true, |
|||
"exec_mode" : "fork_mode", |
|||
"max_restarts": 10, |
|||
"max_memory_restart": "500M", |
|||
"restart_delay" : 1000 |
|||
}, |
|||
{ |
|||
"name" : "server", |
|||
"autorestart" : true, |
|||
"watch" : true, |
|||
"cwd" : "/home/node/server", |
|||
"script" : "llo/new.js", |
|||
"run_as_user" : "node", |
|||
"args" : "start", |
|||
"pid_file" : "/home/node/pid.pid", |
|||
"log_type" : "json", |
|||
"log_file" : "/home/node/logs/logfile", |
|||
"error_file" : "/home/node/logs/errorfile", |
|||
"out_file" : "/home/node/logs/outfile", |
|||
"log_date_format": "YYYY-MM-DD HH:mm Z", |
|||
"merge_logs" : true, |
|||
"exec_mode" : "fork", |
|||
"max_restarts": 10, |
|||
"max_memory_restart": "500M", |
|||
"restart_delay": 1000 |
|||
}, |
|||
] |
|||
} |
|||
|
@ -0,0 +1,56 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
swarmlabclient: |
|||
image: hub.swarmlab.io:5443/playground-hybrid-agent:latest |
|||
user: root |
|||
privileged: true |
|||
environment: |
|||
- NODENAME={{.Node.Hostname}} |
|||
- NODEID={{.Node.ID}} |
|||
deploy: |
|||
replicas: 1 |
|||
placement: |
|||
max_replicas_per_node: 1 |
|||
#constraints: |
|||
#- node.id==${noderead} |
|||
#- node.labels.region==okeanos |
|||
resources: |
|||
limits: |
|||
cpus: '0.50' |
|||
memory: 250M |
|||
reservations: |
|||
cpus: '1' |
|||
memory: 750M |
|||
restart_policy: |
|||
condition: on-failure |
|||
delay: 5s |
|||
max_attempts: 5 |
|||
window: 120s |
|||
update_config: |
|||
parallelism: 2 |
|||
delay: 10s |
|||
order: stop-first |
|||
ports: |
|||
- "3088:443" |
|||
#- "3000:3000" |
|||
networks: |
|||
hybrid-net: |
|||
volumes: |
|||
#- /var/run/docker.sock:/var/run/docker.sock |
|||
#- /etc/localtime:/etc/localtime:ro |
|||
- ${nodepath}/ecosystem.config.js:/home/node/swarmlab-app/ecosystem.config.js |
|||
- ${nodepath}/dist:/home/node/swarmlab-app/dist |
|||
- ${nodepath}/src-local:/home/node/swarmlab-app/dist/src-local |
|||
#- ${nodepath}/src-local/llo/new.js:/home/node/server/llo/new.js |
|||
- ${nodepath}/src-local/llo:/home/node/server/llo |
|||
#- ${nodepath}/hybrid/swarmlab-sec:/home/node/server/hybrid |
|||
# proxy |
|||
- ${nodepath}/nginx/swarmlab-stats-proxy-server.conf:/etc/nginx/conf.d/default.conf |
|||
- ${nodepath}/keys/swarmlab.crt:/etc/nginx/swarmlab.crt |
|||
- ${nodepath}/keys/swarmlab.key:/etc/nginx/swarmlab.key |
|||
|
|||
|
|||
networks: |
|||
hybrid-net: |
|||
|
@ -0,0 +1 @@ |
|||
7544 |
@ -1,10 +0,0 @@ |
|||
|
|||
|
|||
|
|||
dockerswarm=$(docker info --format "{{json .}}" | jq .OSType) |
|||
tempswarm="${dockerswarm%\"}" |
|||
tempswarm="${tempswarm#\"}" |
|||
dockerswarm=$tempswarm |
|||
echo $dockerswarm |
|||
|
|||
|
@ -0,0 +1,462 @@ |
|||
let SessionLoad = 1 |
|||
if &cp | set nocp | endif |
|||
let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 |
|||
let v:this_session=expand("<sfile>:p") |
|||
silent only |
|||
cd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' |
|||
let s:wipebuf = bufnr('%') |
|||
endif |
|||
set shortmess=aoO |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/AdhocView.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src-local/llo/new.js |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/mytable.vue |
|||
badd +50 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/dockerservices.vue |
|||
badd +43 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/availableservices.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork.vue |
|||
badd +20 /data/appl/ok/swarmlab-hybrid-agent/src/store/modules/create_pipelineLLO.js |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/myservices.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/App.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/myconnect-server.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/myconnect-server.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices.vue |
|||
badd +58 /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/deploy-bootstrap.vue |
|||
badd +30 /data/appl/ok/swarmlab-hybrid-agent/src/components/managedeploy.vue |
|||
badd +1 /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/view-service.vue |
|||
argglobal |
|||
silent! argdel * |
|||
$argadd mynetwork.vue |
|||
set stal=2 |
|||
edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/AdhocView.vue |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd _ | wincmd | |
|||
split |
|||
1wincmd k |
|||
wincmd w |
|||
wincmd w |
|||
wincmd _ | wincmd | |
|||
split |
|||
1wincmd k |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe '1resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '4resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 4resize ' . ((&columns * 102 + 102) / 205) |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 393 - ((12 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
393 |
|||
normal! 010| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/mytable.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/mytable.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/mytable.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 51 - ((4 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
51 |
|||
normal! 0 |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/myservices.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/myservices.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/myservices.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 21 - ((0 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
21 |
|||
normal! 09| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 35 - ((0 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
35 |
|||
normal! 010| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
exe '1resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '4resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 4resize ' . ((&columns * 102 + 102) / 205) |
|||
tabedit /data/appl/ok/swarmlab-hybrid-agent/src-local/llo/new.js |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd w |
|||
wincmd _ | wincmd | |
|||
split |
|||
1wincmd k |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 102 + 102) / 205) |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 115 - ((1 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
115 |
|||
normal! 03| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/dockerservices.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/dockerservices.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/dockerservices.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 148 - ((0 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
148 |
|||
normal! 09| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/availableservices.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/availableservices.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/availableservices.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 312 - ((0 * winheight(0) + 11) / 23) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
312 |
|||
normal! 013| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components |
|||
wincmd w |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 23 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 102 + 102) / 205) |
|||
tabedit /data/appl/ok/swarmlab-hybrid-agent/src/store/modules/create_pipelineLLO.js |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 344 - ((20 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
344 |
|||
normal! 015| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/App.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/App.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/App.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 406 - ((0 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
406 |
|||
normal! 019| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
tabedit /data/appl/ok/swarmlab-hybrid-agent/src/components/myconnect-server.vue |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 26 - ((25 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
26 |
|||
normal! 0 |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/myconnect-server.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/myconnect-server.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork/myconnect-server.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 145 - ((6 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
145 |
|||
normal! 0 |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
tabedit /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices.vue |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
argglobal |
|||
enew |
|||
file /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/manage-service.vue |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 18 - ((11 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
18 |
|||
normal! 011| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
exe 'vert 1resize ' . ((&columns * 102 + 102) / 205) |
|||
exe 'vert 2resize ' . ((&columns * 102 + 102) / 205) |
|||
tabedit /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/deploy-bootstrap.vue |
|||
set splitbelow splitright |
|||
wincmd _ | wincmd | |
|||
vsplit |
|||
1wincmd h |
|||
wincmd w |
|||
wincmd _ | wincmd | |
|||
split |
|||
1wincmd k |
|||
wincmd w |
|||
set nosplitbelow |
|||
set nosplitright |
|||
wincmd t |
|||
set winminheight=1 winheight=1 winminwidth=1 winwidth=1 |
|||
exe 'vert 1resize ' . ((&columns * 75 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 18 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 129 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 28 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 129 + 102) / 205) |
|||
argglobal |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 262 - ((44 * winheight(0) + 23) / 47) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
262 |
|||
normal! 010| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/managedeploy.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/managedeploy.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/managedeploy.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 12 - ((11 * winheight(0) + 9) / 18) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
12 |
|||
normal! 023| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
argglobal |
|||
if bufexists('/data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/view-service.vue') | buffer /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/view-service.vue | else | edit /data/appl/ok/swarmlab-hybrid-agent/src/components/manageservices/view-service.vue | endif |
|||
setlocal fdm=manual |
|||
setlocal fde=0 |
|||
setlocal fmr={{{,}}} |
|||
setlocal fdi=# |
|||
setlocal fdl=0 |
|||
setlocal fml=1 |
|||
setlocal fdn=20 |
|||
setlocal fen |
|||
silent! normal! zE |
|||
let s:l = 292 - ((1 * winheight(0) + 14) / 28) |
|||
if s:l < 1 | let s:l = 1 | endif |
|||
exe s:l |
|||
normal! zt |
|||
292 |
|||
normal! 07| |
|||
lcd /data/appl/ok/swarmlab-hybrid-agent/src/components/mynetwork |
|||
wincmd w |
|||
3wincmd w |
|||
exe 'vert 1resize ' . ((&columns * 75 + 102) / 205) |
|||
exe '2resize ' . ((&lines * 18 + 25) / 50) |
|||
exe 'vert 2resize ' . ((&columns * 129 + 102) / 205) |
|||
exe '3resize ' . ((&lines * 28 + 25) / 50) |
|||
exe 'vert 3resize ' . ((&columns * 129 + 102) / 205) |
|||
tabnext 6 |
|||
set stal=1 |
|||
if exists('s:wipebuf') |
|||
silent exe 'bwipe ' . s:wipebuf |
|||
endif |
|||
unlet! s:wipebuf |
|||
set winheight=1 winwidth=20 shortmess=filnxtToOA |
|||
set winminheight=1 winminwidth=1 |
|||
let s:sx = expand("<sfile>:p:r")."x.vim" |
|||
if file_readable(s:sx) |
|||
exe "source " . fnameescape(s:sx) |
|||
endif |
|||
let &so = s:so_save | let &siso = s:siso_save |
|||
doautoall SessionLoadPost |
|||
unlet SessionLoad |
|||
" vim: set ft=vim : |
Loading…
Reference in new issue