|
|
@ -634,6 +634,9 @@ export default { |
|
|
|
var log = await store.dispatch("pipelineLLO/getmountinfo",{ |
|
|
|
instance:this.hybridshowdata.Names |
|
|
|
}) |
|
|
|
var pocmypathtmp = log.data.mypath |
|
|
|
//console.log('log--poc--- ' + pocmypath) |
|
|
|
//console.log('log111111111111111---------- ' + JSON.stringify(log)) |
|
|
|
|
|
|
|
var container_bash = '/bin/sh' |
|
|
|
var container_user = false |
|
|
@ -646,7 +649,11 @@ export default { |
|
|
|
// ----- |
|
|
|
var swarmlabinstance1c = new RegExp("(/poc-|/POC-)"); |
|
|
|
var pocurl = 'no' |
|
|
|
console.log('log---------- ' + JSON.stringify(this.hybridshowdata)) |
|
|
|
//console.log('log---------- ' + JSON.stringify(this.hybridshowdata)) |
|
|
|
|
|
|
|
var myNetwork = this.hybridshowdata.Networks.split('_') |
|
|
|
var pocmypath = pocmypathtmp + myNetwork[0] |
|
|
|
//console.log('log---imypath ok------- ' + JSON.stringify(pocmypath)) |
|
|
|
if(swarmlabinstance1c.test(this.hybridshowdata.Image)){ |
|
|
|
var swarmlabinstance1cd = new RegExp("(->)"); |
|
|
|
if(swarmlabinstance1cd.test(this.hybridshowdata.Ports)){ |
|
|
@ -692,6 +699,12 @@ if(pocurl != 'no'){ |
|
|
|
info +='</p>' |
|
|
|
} |
|
|
|
|
|
|
|
var pocmypathinfo = '' |
|
|
|
if(pocmypath != ''){ |
|
|
|
|
|
|
|
pocmypathinfo += '<b>Project BaseDir:</b> '+pocmypath |
|
|
|
} |
|
|
|
|
|
|
|
info +='<p class="text-secondary">' |
|
|
|
info +=' <b>Directory Maps</b>' |
|
|
|
info +='<br>' |
|
|
@ -707,6 +720,7 @@ info +='<tr><td><b>Local</b></td><td><i>Container</i></td></tr>' |
|
|
|
} |
|
|
|
info +=' </table>' |
|
|
|
info +='</p>' |
|
|
|
info += pocmypathinfo |
|
|
|
info +='</h5><br>' |
|
|
|
info +='<br>' |
|
|
|
info +='<b>*</b> App with GUI: xhost +local:docker <br>' |
|
|
|