Questions tagged [gitlab-pipelines]
86 questions
0
votes
1 answer
Gitlab: use pipeline artifaces in other pipeline
I'm migrating form Jenkins to Gitlab CI (self-hosted) and try to setup a workflow for all projects. One project is a Golang tool whose binary is required in other projects.
I've setup a working pipeline for the Golang project which builds a release…

Axel Steiner
- 3
- 2
0
votes
1 answer
Simulate a pipeline got Error: Request failed with status code 500
I’am trying to create my first pipeline so i followed to recommendation to validate my …gitlab-ci.yml file and then simulate the pipeline but i’am getting an Error 500 code. so here’s my .gitlab-ci.yml file:
image: docker:stable
stages:
Build…

Zemmouri Tarek
- 98
- 2
- 13
0
votes
0 answers
Gitlab Kubernetes Agent - error: error loading config file "/root/.kube/config": open /root/.kube/config: permission denied
I am trying to set up a Gitlab Kubernetes Agent in a small self-hosted k3s cluster.
I am however getting an error:
$ kubectl config get-contexts
error: error loading config file "/root/.kube/config": open /root/.kube/config: permission denied
I…

dev01
- 97
- 1
- 1
- 9
0
votes
1 answer
Curl using Environment variables in GitLab-ci.yml
I'm trying to send a slack notification using the .gitlab-ci.yml and I need to pass the Commit's message in the message like this:
"The version ${CI_COMMIT_TAG} Version is available!"
But i'm still not able to get the environment variable desired…

Clément
- 131
- 1
- 10
0
votes
0 answers
GitLab Pipeline Throws Invalid Provider Configuration Error on Terraform Configuration
I have some Terraform configuration which has up until now run successfully without any issues locally and without me explicitly inserting any provider block.
I transferred this very same set of configuration to a GitLab pipeline with 4 pipeline…

hitman126
- 699
- 1
- 12
- 43
0
votes
2 answers
Gitlab Pipeline to build docker Image of dotnetcore application and deploy
I have Installed Gitlab in one of the Ubuntu machine. And I have dotnetcore project in the name of ABC in the Gitlab.
But, In that ABC repo have multiple small doetnetcore application with different different directory like abc1 abc2 abc3 abc4.
I…

Deepak Sharma
- 331
- 3
- 11
0
votes
1 answer
gitlab ci pipeline auto trigger jobs
We have a gitlab ci pipeline which has multiple stages and jobs.
First, I have a config push stage and I have a job that sends config to 6 different clusters.
Then I have many different stages for deployment.
In the last stage, I have a stage that…

rider
- 69
- 2
- 12
0
votes
1 answer
Mirror of gitlab registry for Asia
Its really hard to push & pull from registry.gitlab.com in pipelines which is not on GCE, there is always an issue like latency or low bandwidth.
Is there any mirror for it or anyway to speedup the docker image push&pull process?

Salehi
- 362
- 2
- 13
0
votes
1 answer
Certicate and Service token in gitlab pipeline for kubernetes service
I am a neophyte, I'm trying to configure my project on gitlab to be able to integrate it with a kubernetes cluster infrastructure pipeline.
While I am configuring gitlab asked for a certificate and a token. Since kuberntes is deployed on azure, how…

Jonio
- 1,213
- 2
- 15
- 35
0
votes
1 answer
How to connect to SQL Server service from Docker in Docker?
I'm trying to build and run an ASP.NET Core app and test it with newman.
Here's the pipeline I have:
services:
- mcr.microsoft.com/mssql/server:2019-CU14-ubuntu-20.04
- docker:19.03.12-dind
variables:
VERSION: "0.0.0"
ACCEPT_EULA: Y
…

Michele mpp Marostica
- 2,445
- 4
- 29
- 45
0
votes
1 answer
Build and push docker-compose image into container registry
I would to create a docker image using docker-compose and push it into the gitlab container registry. The docker-compose file has some build.args so during compile compile I pass the env file using the --env-file flag.
The Dockerfile image is a two…

th3g3ntl3man
- 1,926
- 5
- 29
- 50
0
votes
1 answer
Error during installing dependencies in Gitlab pipeline
I got an error during installing dependencies in gitlab pipeline. I don't know what can I do with this error. Could someone explain why does it appear?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mozjpeg@7.1.1 postinstall: `node…

Dawid Szemborowski
- 93
- 1
- 9
0
votes
0 answers
Is it possible to send POST file to GitLab pipeline job artifact?
I have a pipeline running externally and send the status of the pipeline back to GitLab through GitLab API. I am wondering if it is also possible to send the pipeline logs and store them in the job artifact of GitLab. From what I understand, the…

Jane
- 151
- 3
- 12
0
votes
0 answers
GitLab Child Parent pipeline in self hosted CI VM with gitlab-runner
I have defined a separate GitLab pipeline on a dedicated YAML file np-pipeline.yml. Then I call it from another manual job with the trigger feature:
job:manual:new-np:
trigger:
include: .gitlab-ci/np-pipeline.yml
when: manual
I basically…

TPPZ
- 4,447
- 10
- 61
- 106
0
votes
1 answer
Uploading Vue Js Webapp using GitLab Pipeline to VMware gives 403 Forbidden Error
I am trying to deploy my web app using the GitLab pipeline to VMware but it keeps throwing me a 403 Forbidden error but it deploys perfectly fine when I use the The Cloud Foundry command-line interface (cf CLI). 403 Forbidden Error
The deployment…

Blacky_99
- 155
- 4
- 20