gitlab-ci-runner Questions
5
I am currently trying to use GitLab to run a CI/CD job that runs a Python file that makes changes to a particular repository and then commits and pushes those changes to master. I also have a role ...
Dwelt asked 19/7, 2018 at 10:14
1
Solved
I have three subprojects (Angular and Node.js) in the same GitLab project. Now I want to create the gitlab-ci.yml file for building and deploying one of this subprojects. Can I create three differe...
Serviceman asked 11/1, 2022 at 17:37
7
I'm using Gitlab CI 8.0 with gitlab-ci-multi-runner 0.6.0. I have a .gitlab-ci.yml file similar to the following:
before_script:
- npm install
server_tests:
script: mocha
client_tests:
script...
Sundown asked 4/11, 2015 at 15:54
2
When defining a variable in the variables block which uses a predefined CI variable, it cannot be referenced in the rules blocks. Here, only job_1 gets executed:
variables:
PRODUCTION_BRANCH: $CI_...
Beker asked 15/2, 2021 at 15:15
1
I have a folder named "public" containing subfolders (with subfolders and files, and so on) and files like:
└ public
└ folder1
└ file1.txt
└ folder2
p_file1.txt
p_file2.txt
These fo...
Bisulfate asked 22/11, 2021 at 9:36
3
Solved
I have a gitlab runner inside a docker container, runs fine if I run an image like nginx. But now I tried to run docker in docker (dind) inside the gitlab runner and I want to run docker-compose in...
Linkoski asked 5/2, 2018 at 19:24
2
Solved
"Host key verification failed." on Gitlab_ci when running "ssh name@server"
Here's a part of my gitlab_ci which is supposed to login to my server and run scripts from the repo:
script:
- which s...
Hoem asked 27/9, 2018 at 20:13
1
I want the some of the variables should be required before executing the pipeline in gitlab.
Can I achieve it.
I have below gitlab-ci.yml
stages: # Runs First - Anything that needs to run prior to ...
Paraesthesia asked 27/10, 2021 at 7:55
2
Solved
I have a .gitlab-ci.yaml with the extends directive, which works on the gitlab-ci, but I cannot test it with gitlab-runner exec, it looks like the extends is ignored by gitlab-runner.
I have two fi...
Apothecium asked 2/10, 2019 at 16:28
5
I'm trying to gitlab's CI/CD and was making a yml-file that build the project. The problem is that I get the following:
$ npm run build
> [email protected] build C:\GitLab-Runner\builds\Q...
Cameo asked 17/5, 2020 at 13:54
1
Solved
I have a scenario in Gitlab where I would like to ping a particular Slack channel when an MR is opened up for the first time in Gitlab. I've attempted to use rules for triggering when the source is...
Lynx asked 29/9, 2021 at 18:26
1
According to GitLab's CI documentation about !reference tag, it says:
Use the !reference custom YAML tag to select keyword configuration from other job sections and reuse it in the current section...
Intussuscept asked 9/4, 2021 at 21:37
1
Solved
I try to make a pretty basic GitLab CI job.
I want:
When I push to develop, gitlab builds docker image with tag "develop"
When I push to main, gitlab checks that current commit has tag, a...
Purcell asked 15/9, 2021 at 20:48
7
I am working to set up a gitlab runner for multiple projects, and we want to be able to set up environment variables for all of the projects. I tried to set global variables in the .bashrc for both...
Gardiner asked 24/5, 2017 at 21:58
2
Solved
I'm using single macOS GitLab runner to execute iOS jobs. The runner has been successfully paired with the GitLab and receives jobs, however, the job fails immediately and the runner reports back t...
Admirable asked 21/2, 2019 at 13:26
2
Solved
My overall goal is to install a self-hosted gitlab-runner that is restricted to use prepared docker images from my own docker registry only.
For that I have a system.d configuration that looks like...
Ligroin asked 20/5, 2021 at 12:5
3
Hello I got this error at the installation,
when I use the command "gitlab-runner run" or "gitlab-runner start":
ERRO[0000] Docker executor: prebuilt image helpers will be loade...
Moffat asked 8/12, 2020 at 20:39
1
In the last couple weeks I have been setting up my first pipeline using the public shared runners on GitLab.com for a php project in a private repository. The pipeline is pretty simple at this poin...
Finlay asked 21/6, 2019 at 15:12
0
Gitlab-CI: How to use needs with parallel matrix (or another way to handle multi-step CI with needs)
I have a Gitlab-CI use case that I can't properly figure out. The background is that I have multiple environments that need to have their own artifacts built and deployed. Let's say a simplified ca...
Iridaceous asked 15/8, 2021 at 21:28
1
Solved
We have installed gitlab runner on redhat server but we can't register it with our gitlab instance as it is protected (we need to login before it shows HTTPS).
When we clone the project repository:...
Sync asked 12/7, 2021 at 15:57
1
Solved
I want to generate a single coverage report for my C# project based on this tutorial
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-code-coverage
When starting a Gitlab CI pipel...
Incognizant asked 30/7, 2021 at 13:8
3
As a Sysadmin, I'm using gitlab as git server and some docker server as deploy servers. We have many projects on gitlab, Now I decide to use gitlab runner as a simple CI/CD ro automate deploy our p...
Assist asked 1/1, 2020 at 13:53
2
Solved
I'm using Gitlab 8.15.4 and the latest runner for that build. Because of our firewall I can't run npm install so I'm copying the node-modules from another location into the build folder. The runner...
Bewray asked 12/6, 2017 at 16:53
5
Solved
1- Environment:
Gitlab-CE
GitLab 13.2.1 (b55baf593e6)
GitLab Shell 13.3.0
GitLab Workhorse v8.37.0
GitLab API v4
Ruby 2.6.6p146
Rails 6.0.3.1
PostgreSQL 11.7
Debian GNU / Linux 10 server (buster)
...
Mahican asked 29/7, 2020 at 13:36
2
Solved
We have 4 deploy jobs in the same stage that can be run concurrently. From the Gitlab docs:
The ordering of elements in stages defines the ordering of jobs' execution:
Jobs of the same stage are ...
Anselmi asked 19/10, 2017 at 10:46
© 2022 - 2024 — McMap. All rights reserved.