gitlab-ci Questions

2

how to provide own CA Root certificate and SSL Client certificate (cert + key) to dockerd in gitlab-ci pipeline for own docker registry? I have virtual machine (CentOS 7) and installed docker and ...

4

Solved

I am trying to build windows container using https://gitlab.com, but I didnot find if this is supported or not. I made a test with a really simple Dockerfile: FROM mcr.microsoft.com/windows/serve...
Galle asked 26/1, 2019 at 17:23

4

Solved

Is it possible to invalidate or clear a pipeline cache with the Gitlab CI after a pipeline completes? My .gitlab-ci.yml file has the following global cache definition cache: key: "%CI_PIPELIN...
Prognostication asked 26/1, 2018 at 21:18

4

I've been trying to initiate my pipeline on gitlab CI/CD for a demo project. I've installed gitlab-runner in my windows local machine and gave the executor type as "Shell". And I've succe...
Beverly asked 24/6, 2021 at 3:28

2

I have a Dockerfile which I can build using kaniko in the GitLab CI/CD pipeline. Currently the build stage both builds the Container and pushes it to the remote Docker repository. I would like to u...
Whisler asked 30/6, 2020 at 20:25

12

How do I run a .gitlab-ci.yml job only on a tagged Master branch? job: script: - echo "Do something" only: - master - tags The above code will run if either condition exists: a Master branc...
Server asked 14/3, 2017 at 20:31

4

Solved

How can I make GitLab CI run on merge request and after merge? Two branches, dev and master. Two jobs, test and deploy. On merge request from any branch to dev branch, CI will trigger. But I onl...
Karney asked 23/7, 2018 at 9:48

3

Solved

I am trying to integrate gitlab CI on my node project, I have SSH access, but my script stop with error : fatal: could not read Username for 'https://gitlab.com': No such device or address debug2: ...

2

I'm trying to run a continuous integration in GitLab CI consisting of: build the docker image run tests push the docker image to a registry Those are running inside one job. I can do it without...
Avionics asked 26/4, 2019 at 6:31

4

Solved

I want to fetch the description of the merge request to generate changelog. Is it possible to get the description??
Nightlong asked 20/3, 2020 at 7:1

4

Solved

I've tried to get my setup work with gitlab-ci. I have a simple gitlab-ci.yml file build_ubuntu: image: ubuntu:14.04 services: - rikorose/gcc-cmake:gcc-5 stage: build script: - apt-get updat...
Conchitaconchobar asked 30/5, 2017 at 8:26

7

Solved

I've finally manage to make it work so that when you push to a branch job would launch, but I keep waiting for it to launch around 3min and then I've got errors which I need to fix and then commit ...
Siberia asked 4/3, 2018 at 0:21

4

Solved

I have a two private repositories: MyProject, MyProjetUtils. My project uses the MyProjectUtils as a submodule. My .gitsubmodules looks like this: [submodule "MyProjetUtils"] path = MyPr...
Vaclava asked 8/7, 2021 at 10:2

3

Solved

I currently have two jobs in my CI file which are nearly identical. The first is for manually compiling a release build from any git branch. deploy_internal: stage: deploy script: ....<dep...
Thyestes asked 22/4, 2020 at 5:4

5

Solved

The task create:release creates a new release. How do we add the artifact core.zip in task create:release? prepare:release: stage: prepare_release before_script: - echo "Setting up packages...

3

Solved

I'm writing a gitlab-ci.yaml script for my pipeline, and trying to define an array of strings variable (simplified version of the code): npm_audit: variables: PACKAGE-WHITE-LIST: ["package A", "...
Heimer asked 12/8, 2019 at 7:44

3

I have 2 stages with multiple jobs and the jobs in the first stage have some rules that tell them if the need to run or not, so what I am trying to do is to tell some of the jobs in the second stag...
Complacence asked 7/8, 2022 at 15:24

3

I wanted to send an email when schedule pipeline is failed. I have configure Project -> Settings -> Integrations -> Pipelines emails but these are sending emails for all the pipelines. I...
Jaclyn asked 15/3, 2019 at 8:59

4

How can I add a file from my project into a Docker using in a gitlab-ci job. Suppose I have below job in my .gitlab-ci.yml . build:master: image: ubuntu:latest script: - cp sample.txt /sample.t...
Tiki asked 6/10, 2018 at 12:47

1

We are migrating from gitlab to github. With gitlab pipelines I am checking the repository and dynamically generating a child pipeline with the actual jobs to run. This is easiest explained by the ...
Rummy asked 7/6, 2022 at 0:55

5

I am trying to build my docker image within the gitlab ci pipeline. However it is not able to find the docker command. /bin/bash: line 69: docker: command not found ERROR: Job failed: error ex...
Mchale asked 5/7, 2018 at 16:50

5

I have a project created and configured on private Gitlab v9.0 instance. I have imported this project on Jenkins v2.46.1, the connection with gitlab is successful. Afterwards, I tried to configure ...
Debor asked 14/4, 2017 at 7:54

1

I'm working on a solution to develop the CICD Pipeline for dotnet MAUI project which is using following environment. Development machine - MAC OS Ventura 13.5.1 dotnet SDK - 7.0.302 MAUI- iOS appl...
Sustainer asked 8/9, 2023 at 13:44

3

I am wondering if it's possible to store credentials like passwords, tokens and keys safely in my GitLab project. Currently there are a bunch of Java files with some passwords stored in it for tes...

10

Solved

I have registered a personal GitLab runner several months ago, which I no longer use. How do I completely delete it so that it does not show up on my GitLab CI/CD settings page?
Diminish asked 13/3, 2021 at 16:40

© 2022 - 2024 — McMap. All rights reserved.