test api swarm
This commit is contained in:
@@ -18,7 +18,14 @@ prod_build:
|
||||
- branches
|
||||
services:
|
||||
- name: docker:20.10.21-dind
|
||||
command: ["--insecure-registry=10.99.253.167:8090","--registry-mirror=http://10.99.253.167:8090","--insecure-registry=10.99.253.167:8088","--registry-mirror=http://10.99.253.167:8088","--insecure-registry=harbor.dvgd.rzd","--tls=false"]
|
||||
command: [
|
||||
"--insecure-registry=10.99.253.167:8090",
|
||||
"--registry-mirror=http://10.99.253.167:8090",
|
||||
"--insecure-registry=10.99.253.167:8088",
|
||||
"--registry-mirror=http://10.99.253.167:8088",
|
||||
"--insecure-registry=harbor.dvgd.rzd",
|
||||
"--tls=false"
|
||||
]
|
||||
variables:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
DOCKER_DRIVER: overlay2
|
||||
@@ -43,10 +50,13 @@ prod_deploy:
|
||||
- branches
|
||||
script:
|
||||
- docker login -u $HARBOR_PULL_USER -p $HARBOR_PULL_PASS $REPO
|
||||
- tag=$CI_COMMIT_TAG docker compose up -d
|
||||
#- tag=$CI_COMMIT_TAG docker compose up -d
|
||||
- tag=$CI_COMMIT_TAG docker stack deploy -c docker-compose.yml parr-api --with-registry-auth
|
||||
# tag=$IMAGE_VERSION docker compose -f docker-compose.aihit-syncher.yml up -d
|
||||
parallel:
|
||||
matrix:
|
||||
- RUNNER: shell-1
|
||||
- RUNNER: shell-api-swarm-01
|
||||
#- RUNNER: shell-1
|
||||
tags:
|
||||
- ${RUNNER}
|
||||
|
||||
@@ -62,7 +72,14 @@ prod_aihit_build:
|
||||
- branches
|
||||
services:
|
||||
- name: docker:20.10.21-dind
|
||||
command: ["--insecure-registry=10.99.253.167:8090","--registry-mirror=http://10.99.253.167:8090","--insecure-registry=10.99.253.167:8088","--registry-mirror=http://10.99.253.167:8088","--insecure-registry=harbor.dvgd.rzd","--tls=false"]
|
||||
command: [
|
||||
"--insecure-registry=10.99.253.167:8090",
|
||||
"--registry-mirror=http://10.99.253.167:8090",
|
||||
"--insecure-registry=10.99.253.167:8088",
|
||||
"--registry-mirror=http://10.99.253.167:8088",
|
||||
"--insecure-registry=harbor.dvgd.rzd",
|
||||
"--tls=false"
|
||||
]
|
||||
variables:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
DOCKER_DRIVER: overlay2
|
||||
@@ -105,7 +122,14 @@ prod_espp-template_build:
|
||||
- branches
|
||||
services:
|
||||
- name: docker:20.10.21-dind
|
||||
command: ["--insecure-registry=10.99.253.167:8090","--registry-mirror=http://10.99.253.167:8090","--insecure-registry=10.99.253.167:8088","--registry-mirror=http://10.99.253.167:8088","--insecure-registry=harbor.dvgd.rzd","--tls=false"]
|
||||
command: [
|
||||
"--insecure-registry=10.99.253.167:8090",
|
||||
"--registry-mirror=http://10.99.253.167:8090",
|
||||
"--insecure-registry=10.99.253.167:8088",
|
||||
"--registry-mirror=http://10.99.253.167:8088",
|
||||
"--insecure-registry=harbor.dvgd.rzd",
|
||||
"--tls=false"
|
||||
]
|
||||
variables:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
||||
Reference in New Issue
Block a user