StefRZ
March 28, 2017, 12:57pm
1
Hello all,
i have a personnal gitlab instance.
For one project i have 3 servers, on each one i added a runner linked with my repo. All the runner are green on the CI/CD page
but when i use the pipeline, seems only one is responding, do i have to add a specific configuration ?
Regards
Stephane
Can you post the runners config.toml
files and your .gitlab-ci.yml
?
StefRZ
March 29, 2017, 12:52pm
3
Hi,
thks for your interest in my problem
For the moment i can t access to the config.toml ( i m on a network without ssh available ) i give you the gitlab-ci.yml file.
But my question is, normally it s possible to have more than one runner listenning change on one repo ?
/.gitlab-ci.yml
variables:
OUTPUT: /var/www/projectnamewww/www/sym-www
BUILD_FOLDER: /var/www/projectnamewww/build
FILES_FOLDER: /var/www/projectnamewww/www/files
FILE_CONFIG: /var/www/projectnamewww/www/config/local.xml
stages:
deploy
put content to web folder:
type: deploy
script:
sudo rsync -a --delete $CI_PROJECT_DIR/ $OUTPUT
cp $FILE_CONFIG $OUTPUT/app/etc/local.xml
sudo mkdir $OUTPUT/var
sudo mkdir -p $OUTPUT/var/cache
sudo mkdir -p $OUTPUT/var/log
sudo chown -R www-data:www-data $OUTPUT/
tags:
prod
only:
- master
environment:
name: staging
StefRZ
March 29, 2017, 12:56pm
4
I add the CI/CD pipeline screenshot