Console Output
Started by upstream project "DEV-STG-CI-Java-Service-Tree-Framework-Global-Config" build number 59
originally caused by:
Started by user admin
Running as SYSTEM
Building remotely on remote-node3 (remote-node) in workspace /jenkins_home/workspace/DEV-CD-Java-Service-Tree-Framework-Global-Config
[DEV-CD-Java-Service-Tree-Framework-Global-Config] $ /bin/sh -xe /tmp/jenkins6845460563892948581.sh
+ tee allinone.yml
version: '3.6'
services:
global-config:
image: 313.co.kr:5550/313devgrp/java-service-tree-framework-global-config:24.0.0
environment:
SPRING_PROFILES_ACTIVE: stg # 여기에 원하는 프로파일을 설정
SLACK_TOKEN: xoxb-6506875664277-6522692878945-oPqPDaebTVqUNHQfoIokVc9y
TZ: Asia/Seoul
ports:
- 33133:33133
extra_hosts:
- "313.co.kr:192.168.25.31"
- "db.313.co.kr:192.168.25.40"
- "nas.313.co.kr:192.168.25.42"
- "ubuntu.313.co.kr:192.168.25.31"
- "www.313.co.kr:192.168.25.31"
volumes:
- global-config-volume:/mnt
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.hostname == k8s2]
networks:
- allinoneNetwork
logging:
driver: fluentd
options:
fluentd-address: 192.168.25.33:24224
fluentd-async-connect: "true"
fluentd-retry-wait: "1s"
fluentd-max-retries: "30"
tag: globalconfig
volumes:
######################################### Application #########################################
global-config-volume:
driver: local
driver_opts:
type: "nfs"
o: "addr=192.168.25.42,nolock,soft,rw,sync"
device: ":/volume1/web/allinone/app/global-config"
networks:
allinoneNetwork:
driver: overlay
attachable: true
[DEV-CD-Java-Service-Tree-Framework-Global-Config] $ /bin/sh -xe /tmp/jenkins15329324062111209669.sh
+ GATEIP=192.168.25.33 NFSSERVER=192.168.25.42 NFSPATH=/volume1/web ELKVERSION=7.17.13 docker stack deploy -c allinone.yml allinone
Updating service allinone_global-config (id: ix7bcotaui0q8y1n4k06u6n00)
Finished: SUCCESS