I’m really having difficulty here trying to setup Gitlab CI to produce anything for me. I’ve read the guides here:
And seem to have followed every step, but every time I push a commit, I get no builds. Here is my .gitlab-ci.yml file:
# Is performed before the scripts in the stages step before_script: - source /etc/profile - bash ci/docker_install.sh > /dev/null # Defines stages which are to be executed stages: - build # Stage "build" run-build: stage: build script: - apt-get install -y libncurses5-dev libglib2.0-dev libgeoip-dev libtokyocabinet-dev zlib1g-dev libncursesw5-dev libbz2-dev - autoreconf -fvi - dpkg-buildpackage -us -uc - mkdir build - mv ../*.deb build/ # This stage is only executed for new tags only: - tags # The files which are to be made available in GitLab artifacts: paths: - build/*
I have two runners:
and they both seem to communicate just fine with gitlab CE. I’m on the latest release, 8.16.4. The only thing I haven’t tried yet is pushing directly to my master branch, but from what I’ve read, it shouldn’t matter what branch I push to. Can anyone tell me what I’m doing wrong? I can work out the gitlab-ci.yml file later, for now I’d be happy with just seeing it ATTEMPT to build something.