gitlab-ci-runner Questions
2
Solved
I am using a docker+machine to run my gitlab ci/cd jobs.
My .gitlab-ci.yml looks as such:
image: docker:latest
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: ""
servic...
Meal asked 4/8, 2021 at 15:37
2
i got this
/bin/sh: eval: line 98: bash: not found
message by executing the gitlabb .yml file.
I added in the before script section the line
- apk update && apk add openssh
which was not...
Boracite asked 30/8, 2020 at 9:20
2
Solved
I create a new Project with a Submodule and want to run a gitlab-ci.yml.
But every time the runner tells me he has no access or cant find the project.
The runner is an shared runner on a windows 1...
Beauharnais asked 31/1, 2020 at 8:29
6
I install a Specific Runners,and the status is actived.
my .gitlab-ci.ymi file code:
stages:
- build
build_maven:
stage: build
only:
- master
script:
- echo "hello CI/CD"
tags:
...
Whore asked 12/7, 2019 at 7:58
3
I have the following gitlab-ci.yml file that reads the package.json using the jq processor to dynamically set the variable name of the artifact folder, something along the lines of
image: node:la...
Kampmeier asked 4/4, 2018 at 1:0
3
Solved
I try to implement a conditional versioning depending on if the CI script runs for a tagged branch or not.
However the version var is not resolved. Instead it is printed as a string.
The relevant ...
Eberle asked 8/7, 2019 at 8:41
2
Solved
I have a directory which is generated during a build and it should not be deleted in the next builds. I tried to keep the directory using cache in .gitlab-ci.yml:
cache:
key: "$CI_BUILD_REF_NAME"...
Butterfingers asked 22/3, 2017 at 9:52
7
Solved
Currently I'm facing the issue:
ERROR: Job failed (system failure):
prepare environment:
setting up credentials:
secrets is forbidden:
User "system:serviceaccount:default:gitlab-runner&quo...
Cohdwell asked 18/9, 2021 at 23:1
5
Solved
I have the latest docker image of GitLab running in a test environment and I'm running into an issue with the GitLab runner. It's unable to clone via the HTTP link, yielding the following message:
...
Scriber asked 30/11, 2015 at 16:18
5
Solved
With my colleagues, we work on a C++ library that becomes more and more important each day. We already built continuous integration utilities through the gitlab-ci.yml file that let us:
Build &am...
Clara asked 28/9, 2017 at 14:54
5
I have a private git repo. My runner is on a separate machine, both ubuntu. When I try ping $CI_REGISTRY in the yml file, I see during the build that the $CI_REGISTRY domain name is not resolving t...
Keneth asked 16/7, 2020 at 23:10
1
Solved
I have the following build configuration for a multi-project gradle file:
stages:
- test
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/cac...
Alcinia asked 23/12, 2017 at 14:49
3
Solved
I want to add a tag when building a Docker image, I'm doing this so far but I do not know how to get the latest tag on the repository being deployed.
docker build -t company/app .
My goal
docker b...
Mesonephros asked 13/6, 2019 at 16:25
3
Solved
Currently I have this line in my .gitlab-ci.yml file:
if (( $coverage < $MIN_COVERAGE )) ; then echo "$coverage% of code coverage below threshold of $MIN_COVERAGE%" && exit 1 ;...
Niel asked 11/5, 2022 at 21:10
3
Solved
gitlab ci error could not translate host name "postgres" to address: Name does not resolve
I use gitlab-ci in my rails app, it ran correctly till yesterday
but it does not pass due to:
rake aborted!
PG::ConnectionBad: could not translate host name "postgres" to address: Name does not re...
Derive asked 15/2, 2020 at 9:12
1
Solved
Is there a way to configure 5 postgresql instance in a Gitlab CI?
This is my configuration:
image: something:latest
variables:
SPRING_PROFILES_ACTIVE: gitlab-ci
POSTGRES_USER: gitlab-ci
POSTG...
Rovelli asked 4/11, 2017 at 18:22
3
Solved
I have a GitLab ci job to download and build few files and then publish to another server. I have done a POC and was successful. The problem is that I would like to customize the job when triggered...
Leila asked 28/3, 2019 at 6:12
4
Solved
I have a gitlab pipeline where there are two stages, one is build and the other one is deploy. The build stage is run when a commit is made. I want a way to run the deploy job when the merge reques...
Lucubration asked 15/9, 2020 at 0:27
6
Solved
How should I authenticate if I want to use an image from the Gitlab Registry as a base image of another CI build?
According to https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs...
Acatalectic asked 8/7, 2016 at 14:55
5
I'm trying to unregister gitlab-runner on EC2 instance (Ubuntu machine) with the following command:
sudo gitlab-runner --debug unregister --token [RUNNER-TOKEN] --url [RUNNER-URL]
and I'm getting ...
Feudal asked 19/7, 2020 at 7:12
2
I installed Gitlab-runner in WSL Ubuntu 20. Firstly, I have registered runner and ran successfully. But when I check the status of Gitlab-runner it show:
namlb@Admin:/etc/init.d$ sudo gitlab-runner...
Commix asked 23/10, 2021 at 3:32
4
Solved
How to setup Gradle publish task user credentials with GitLab CI secret variables? I am using gradle maven publish plugin, and here is snippet from build.gradle
repositories {
maven {
credential...
Amal asked 2/7, 2018 at 14:0
2
I'm using Gitlab self server community version ci/cd function, It has been running well, But suddenly one day,All the projects in the gitlab/cicd has failed, it mentions below errors:
Uploading art...
Magill asked 22/3, 2021 at 5:6
0
I have a Gitlab-Runner (version: 15.5.1) in a VM (Ubuntu 20.04.5 lts). The docker version is 22.06.0-beta.0. I'm trying to run a pipeline which use node:latest image but The following error message...
Barograph asked 14/12, 2022 at 9:34
8
Solved
I am learning GitLab CI/CD.
I installed GitLab and GitLab Runner from Officials. Whenever I run the pipeline during Maven build, the job gets stuck. I have a registered runner and it is avail...
Kao asked 19/11, 2018 at 8:28
© 2022 - 2024 — McMap. All rights reserved.