Browse Source

version 1.1

master
zeus 2 weeks ago
parent
commit
668c7db588
  1. 1
      .gitignore
  2. 2
      dist/index.html
  3. 1
      dist/js/app.673c1aaf.js.map
  4. 4
      dist/js/app.82dc7c9c.js
  5. 1
      dist/js/app.82dc7c9c.js.map
  6. 17
      src-local/community/config/rootapostolos-ansibletest.js
  7. 1
      src-local/community/rootapostolos@swarmlab.io_ansibletest_microservice-alpine313
  8. 1
      src-local/community/rootapostolos@swarmlab.io_mytest1_microservice-ipterm
  9. 8
      src/components/mynetwork/availablemicroservicescustom.vue
  10. 1
      src/components/mynetwork/builderservices.vue
  11. 32
      src/components/mynetwork/customservices.vue

1
.gitignore

@ -19,6 +19,7 @@ testfilemanager/
README-update
src-local/community/rootapostolos@swarmlab.io_mytest1_microservice-ipterm
src-local/community/rootapostolos@swarmlab.io_ansibletest_microservice-alpine313
swarmlabdoc.js
swarmlabdoc.asciidoc_config

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><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.389c85c2.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.673c1aaf.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.389c85c2.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.673c1aaf.js"></script></body></html>
<!DOCTYPE html><html lang=""><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.389c85c2.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.82dc7c9c.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.389c85c2.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.82dc7c9c.js"></script></body></html>

1
dist/js/app.673c1aaf.js.map

File diff suppressed because one or more lines are too long

4
dist/js/app.673c1aaf.js → dist/js/app.82dc7c9c.js

File diff suppressed because one or more lines are too long

1
dist/js/app.82dc7c9c.js.map

File diff suppressed because one or more lines are too long

17
src-local/community/config/rootapostolos-ansibletest.js

@ -0,0 +1,17 @@
{
"servicedata": {
"service": "ansibletest",
"baseservice": "microservice-alpine313",
"user": "rootapostolos@swarmlab.io",
"port1": "",
"url1": "",
"name1": "",
"port2": "",
"url2": "",
"name2": "",
"port3": "",
"url3": "",
"name3": ""
},
"baseservicedata": {"name":"microservice-alpine313","large":"no","custom":"true","customostext":"Base OS: alpine3.13","customos":"apk add --no-cache net-tools ","customshtext":"It is executed after all the normal builds","customsh":" #!/bin/sh","app":false,"url":"http","port":"80/tcp","ttyd":true,"ttydport":"3787/tcp","ttydurl":"http"}
}

1
src-local/community/rootapostolos@swarmlab.io_ansibletest_microservice-alpine313

@ -0,0 +1 @@
Subproject commit 90b1c87737d0baad3effd1f72c45f5e6261a1c67

1
src-local/community/rootapostolos@swarmlab.io_mytest1_microservice-ipterm

@ -1 +0,0 @@
Subproject commit 73dd22c502c6de2b258627b883ece5806a82053f

8
src/components/mynetwork/availablemicroservicescustom.vue

@ -25,6 +25,14 @@
<div class="input-group input-group-sm sm-3">
<div class="input-group-prepend">
<button
class="btn btn-outline-success"
round
type="button"
@click="setFilter">
Refresh Table</button>
</div>
<input type="text"
class="form-control"

1
src/components/mynetwork/builderservices.vue

@ -341,6 +341,7 @@ export default {
token:this.token,
service:data.swarmlabname
})
console.log(log)
this.swarmlab=data
var service = {
data: data,

32
src/components/mynetwork/customservices.vue

@ -150,9 +150,10 @@
</span >
</label>
<textarea class="form-control" name="custompackages" rows="8"
placeholder="e.g. apt-get update && apt-get -y install or apk update && apk add --no-cache "
v-model="form_os"
>
{{ form_os }}
{{ form_os }}
</textarea>
</div>
</b-col>
@ -167,6 +168,7 @@
</span >
</label>
<textarea class="form-control" name="customshell" rows="8"
placeholder="#!/bin/bash "
v-model="form_sh"
>
{{ form_sh }}
@ -458,7 +460,8 @@ export default {
//console.log('false')
})
this.$root.$on('hybrid_build_micro_service', (service) => {
//console.log(service);
console.log(service);
this.setserviceform2null()
this.menou = true
this.myservicename = {}
this.customserviceall = []
@ -466,6 +469,7 @@ export default {
this.customservice = {}
this.menouselect = false
this.customservice.microservice = service.data.swarmlabname
this.form_baseservice = service.data.swarmlabname
if( service.log.hasOwnProperty('data')){
if( service.log.data.hasOwnProperty('data')){
@ -522,7 +526,6 @@ export default {
})
this.$root.$on('hybrid_build_micro_myservice', (service) => {
console.log(service);
this.menou = true
this.myservicename = {}
this.customserviceall = []
@ -704,6 +707,29 @@ export default {
//console.log(data.myservicename)
//console.log(this.form_myservicename)
},
setserviceform2null() {
this.form_myservicename = ''
this.form_baseservice = ''
this.form_sh = ''
this.form_os = ''
this.form_readme = ''
this.form_gitrepo = ''
this.form_version = ''
this.form_rclocal = ''
this.form_url1 = ''
this.form_url2 = ''
this.form_url3 = ''
this.form_port1 = ''
this.form_name1 = ''
this.form_port2 = ''
this.form_name2 = ''
this.form_port3 = ''
this.form_name3 = ''
console.log('refresh')
//console.log(data.myservicename)
//console.log(this.form_myservicename)
},
setservice() {
//console.log(this.selected);
var cc = this.selected

Loading…
Cancel
Save