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