Hi there,
Since 2 week my gitlab-ci dosn’t trigger pipline after git push.
My .gitlab-ci.yml sems to be ok with the CLInt
image: ruby:2.2
services:
_ - mysql:latest_
stages:
_ - test_
_ - deploy_
variables:
_ GIT_SSL_NO_VERIFY: “false”_
_ MYSQL_ROOT_PASSWORD: root_
_ MYSQL_USER: gitlab-ci_
_ MYSQL_PASSWORD: root_
_ MYSQL_DATABASE: bdd_
test:
_ stage: test_
_ script: echo “Running tests”_
deploy_prod:
_ stage: deploy_
_ image: ruby:2.4_
_ before_script:_
_ - ‘which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )’_
_ - eval $(ssh-agent -s)_
_ - ssh-add <(echo “$SSH_PRIVATE_KEY”)_
_ - mkdir -p ~/.ssh_
_ - ‘[[ -f /.dockerenv ]] && echo -e “Host *\n\tStrictHostKeyChecking no\n\n” > ~/.ssh/config’_
_ script:_
_ - echo “Deploy to prod server”_
_ environment:_
_ name: prod_
_ only:_
_ - master_
When i push a file on branch master nothing apears.
If i launch a pipeline manualy it’s ok.
I try on two of my project, it’s the same.
What’s wrong, where can I look or test ?