Compare commits
3 Commits
6a3d13cdfc
...
1d7e14bb74
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d7e14bb74 | |||
| 2152259140 | |||
| 529ba5e123 |
@@ -2,15 +2,6 @@
|
|||||||
|
|
||||||
SERVER=minio-api.laoficina1782.com
|
SERVER=minio-api.laoficina1782.com
|
||||||
CUSTOMER=$1
|
CUSTOMER=$1
|
||||||
cat <<CONF > /tmp/rclone.conf
|
|
||||||
[minio]
|
mc --config-dir /tmp/mc-config alias set minio https://minio-api.laoficina1782.com minioadmin LIGTNbUgQr
|
||||||
type = s3
|
mc --config-dir /tmp/mc-config mirror --remove --overwrite --exclude "backend/docker/data/**" minio/$CUSTOMER /opt/sco/
|
||||||
provider = Minio
|
|
||||||
access_key_id = minioadmin
|
|
||||||
secret_access_key = LIGTNbUgQr
|
|
||||||
endpoint = https://minio-api.laoficina1782.com
|
|
||||||
region = us-east-1
|
|
||||||
acl = private
|
|
||||||
force_path_style = true
|
|
||||||
CONF
|
|
||||||
rclone --config /tmp/rclone.conf sync minio:$CUSTOMER /opt/sco/ --exclude "backend/docker/data/**" --s3-sign-accept-encoding=false --multi-thread-streams=0 --progress --verbose
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ jenkins:
|
|||||||
users:
|
users:
|
||||||
- id: admin
|
- id: admin
|
||||||
password: H0l4mund0!
|
password: H0l4mund0!
|
||||||
|
|
||||||
# Agentes permanentes (WebSocket): cada SCO conecta outbound a Jenkins via wss://.
|
# Agentes permanentes (WebSocket): cada SCO conecta outbound a Jenkins via wss://.
|
||||||
# Nombre = identificador en Jenkins. Label "sco" agrupa todos los SCOs,
|
# Nombre = identificador en Jenkins. Label "sco" agrupa todos los SCOs,
|
||||||
# luego cliente (ralph) y tienda (yabucoa / san-lorenzo / rio-grande).
|
# luego cliente (ralph) y tienda (yabucoa / san-lorenzo / rio-grande).
|
||||||
@@ -170,8 +169,26 @@ jenkins:
|
|||||||
inbound:
|
inbound:
|
||||||
webSocket: true
|
webSocket: true
|
||||||
- permanent:
|
- permanent:
|
||||||
name: "lab-oficina-sco-77"
|
name: "laboratorio-girboy-sco81"
|
||||||
labelString: "sco lab oficina"
|
labelString: "sco laboratorio girboy"
|
||||||
|
remoteFS: "/opt/jenkins-agent"
|
||||||
|
numExecutors: 1
|
||||||
|
retentionStrategy: "always"
|
||||||
|
launcher:
|
||||||
|
inbound:
|
||||||
|
webSocket: true
|
||||||
|
- permanent:
|
||||||
|
name: "laboratorio-girboy-sco82"
|
||||||
|
labelString: "sco laboratorio girboy"
|
||||||
|
remoteFS: "/opt/jenkins-agent"
|
||||||
|
numExecutors: 1
|
||||||
|
retentionStrategy: "always"
|
||||||
|
launcher:
|
||||||
|
inbound:
|
||||||
|
webSocket: true
|
||||||
|
- permanent:
|
||||||
|
name: "laboratorio-girboy-sco83"
|
||||||
|
labelString: "sco laboratorio girboy"
|
||||||
remoteFS: "/opt/jenkins-agent"
|
remoteFS: "/opt/jenkins-agent"
|
||||||
numExecutors: 1
|
numExecutors: 1
|
||||||
retentionStrategy: "always"
|
retentionStrategy: "always"
|
||||||
@@ -182,11 +199,9 @@ jenkins:
|
|||||||
unclassified:
|
unclassified:
|
||||||
location:
|
location:
|
||||||
url: https://jenkins.laoficina1782.com/
|
url: https://jenkins.laoficina1782.com/
|
||||||
|
|
||||||
security:
|
security:
|
||||||
globalJobDslSecurityConfiguration:
|
globalJobDslSecurityConfiguration:
|
||||||
useScriptSecurity: false
|
useScriptSecurity: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- script: |
|
- script: |
|
||||||
pipelineJob('deploy-ralph') {
|
pipelineJob('deploy-ralph') {
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ pipeline {
|
|||||||
["Deploy ${nodeName}": {
|
["Deploy ${nodeName}": {
|
||||||
node(nodeName) {
|
node(nodeName) {
|
||||||
unstash 'scripts'
|
unstash 'scripts'
|
||||||
sh "bash install.sh 'ralph'"
|
sh "bash install.sh 'mbs-ralphs'"
|
||||||
sh 'cat ~/sco-app/installed.txt'
|
sh 'cat ~/sco-app/installed.txt'
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
|||||||
Reference in New Issue
Block a user