GitLab Newb really needs help creating a pipeline

I am trying to get the simplest thing setup in git lab and I cannot figure out why it is not working. I am following the tutorials in the docs to no avail. I want to create a simple pipeline that will touch a file on a server just to know that it is working. I cannot seem to be able to get CICD to do anything but get stuck, it seems that I am having issues with connecting the pipeline to the runners?!?! I get the following message:

This job is stuck because the project doesn't have any runners online assigned to it.!

But yet when I look it shows runners associated:


Is there any documentation that is actually good for GL? I am struggling to find anything that goes from A to Z. Any help is much appreciated!

Hey @brentjweaver, welcome to the community!

Is the Runner actually online and able to connect to GitLab? You can verify this with:

sudo gitlab-runner verify

That runner is also tagged with testing so by default it will only be able to run jobs that use that tag. If you haven’t included that tag in your CI then it won’t run until you configure it to run untagged jobs or include that tag in your .gitlab-ci.yml.

root@ubuntu1804:~# gitlab-runner verify
Runtime platform                                    arch=amd64 os=linux pid=15916 revision=ac2a293c version=11.11.2
Running in system-mode.

Verifying runner... is alive                        runner=38vvc1xQ


I set this runner to allow untagged jobs.

It now just waits and says:

This job is in pending state and is waiting to be picked by a runner

Some is janky about this too with the service:

root@ubuntu1804:/etc/systemd/system/ systemctl status gitlab-runsvdir.service ● gitlab-runsvdir.service - GitLab Runit supervision process Loaded: loaded (/usr/lib/systemd/system/gitlab-runsvdir.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2019-06-07 14:41:55 UTC; 2h 21min ago Main PID: 1747 (runsvdir) Tasks: 313 (limit: 4632) CGroup: /system.slice/gitlab-runsvdir.service ├─ 1747 runsvdir -P /opt/gitlab/service log: .............................................................................................. ├─ 1760 runsv prometheus ├─ 1761 runsv postgresql ├─ 1762 runsv node-exporter ├─ 1763 runsv redis ├─ 1764 runsv gitlab-workhorse ├─ 1765 runsv nginx ├─ 1766 runsv redis-exporter ├─ 1767 runsv logrotate ├─ 1768 runsv gitlab-monitor ├─ 1769 runsv postgres-exporter ├─ 1770 runsv alertmanager ├─ 1771 runsv gitaly ├─ 1772 runsv sidekiq ├─ 1773 runsv unicorn ├─ 1774 svlogd -tt /var/log/gitlab/node-exporter ├─ 1775 svlogd -tt /var/log/gitlab/gitlab-monitor ├─ 1776 svlogd -tt /var/log/gitlab/gitaly ├─ 1777 svlogd -tt /var/log/gitlab/nginx ├─ 1778 svlogd -tt /var/log/gitlab/redis ├─ 1779 svlogd -tt /var/log/gitlab/gitlab-workhorse ├─ 1780 svlogd -tt /var/log/gitlab/sidekiq ├─ 1781 svlogd -tt /var/log/gitlab/postgresql ├─ 1782 svlogd -tt /var/log/gitlab/unicorn ├─ 1783 svlogd -tt /var/log/gitlab/redis-exporter ├─ 1784 svlogd -tt /var/log/gitlab/logrotate ├─ 1785 svlogd -tt /var/log/gitlab/postgres-exporter ├─ 1786 svlogd -tt /var/log/gitlab/alertmanager ├─ 1787 svlogd -tt /var/log/gitlab/prometheus ├─ 1803 /opt/gitlab/embedded/bin/redis_exporter --web.listen-address=localhost:9121 --redis.addr=unix:///var/opt/gitlab/redis/redis.socket ├─ 1816 /opt/gitlab/embedded/bin/node_exporter --web.listen-address=localhost:9100 --collector.mountstats --collector.runit ├─ 1830 /opt/gitlab/embedded/bin/postgres_exporter --web.listen-address=localhost:9187 --extend.query-path=/var/opt/gitlab/postgres-exporte ├─ 1831 puma 3.12.0 (tcp://localhost:9168) [gitlab-monitor] ├─ 1832 /opt/gitlab/embedded/bin/alertmanager --web.listen-address=localhost:9093 --storage.path=/var/opt/gitlab/alertmanager/data --config ├─ 1833 /opt/gitlab/embedded/bin/prometheus --web.listen-address=localhost:9090 --storage.tsdb.path=/var/opt/gitlab/prometheus/data --confi ├─ 1843 /opt/gitlab/embedded/bin/gitaly-wrapper /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml ├─ 1844 nginx: master process /opt/gitlab/embedded/sbin/nginx -p /var/opt/gitlab/nginx ├─ 1847 /opt/gitlab/embedded/bin/postgres -D /var/opt/gitlab/postgresql/data ├─ 1849 sidekiq 5.2.7 gitlab-rails [0 of 25 busy] ├─ 1850 /bin/bash /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper ├─ 1893 /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml ├─ 1894 nginx: worker process ├─ 1895 nginx: worker process root@ubuntu1804:/etc/systemd/system/ gitlab-runner status Runtime platform arch=amd64 os=linux pid=24515 revision=ac2a293c version=11.11.2 gitlab-runner: Service is not running.

Notice that the binary status fails but the system status says it running, as well as the services are a different name.

Any thoughts are appreciated, and THANK YOU for taking the time to help me here!