Questions tagged [gitlab-auto-devops]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
700 views

Why does npm install fail with Assertion failed: (fd > STDERR_FILENO) using buildah?

Hey I have a Dockerfile for a project that I want to build inside of a Gitlab ci/cd pipeline running on Kubernetes. The Image is built inside a buildah container from quay.io, but while the project ...
iaquobe's user avatar
  • 121
0 votes
0 answers
66 views

Cannot log into new GitLab installation

I have recently installed an instance of GitLab CE using Docker. The application sits behind an Nginx proxy and I can access the login page without problems. Unfortunately, I also cannot log into ...
Factor Three's user avatar
1 vote
0 answers
1k views

Docker-in-docker/GitLab CI: adding and using credential helper

For my organization I am building a GitLab CI/CD pipeline for one of our projects. One job in this pipeline will be executed on a Docker executor GitLab runner running on one of our own servers. The ...
Joshua Schroijen's user avatar
0 votes
1 answer
57 views

Keep GitLab environment running in Docker container

I'm aiming to deploy an environment for testing. It's a PHP application, and I could simply serve the PHP files using the embedded server. My .gitlab-ci.yml is plain simple: docker_test: stage: ...
Eduar's user avatar
  • 101
0 votes
2 answers
19k views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
Kalel's user avatar
  • 244
2 votes
0 answers
1k views

How to set a job to manual based on previous stage failure in gitlab pipeline?

I have a pipeline as below. If I keep the allow_failure value true for the teardown job, the next job is running directly. allow_failure=true If I keep the allow_failure value false for the teardown ...
Kalel's user avatar
  • 244
0 votes
1 answer
722 views

How to resume a manual step in pipeline with gitlab api?

I have a pipeline as below. pipeline First two are automatic and the last two jobs are manual. When I ran the curl command to run the pipeline, as below. curl -X POST \ --fail \ -F token=...
Kalel's user avatar
  • 244
1 vote
0 answers
92 views

How to automatically link commit-history to a ticketing system?

Our organization uses Gitlab to host all our git-repositories. Most commits refer to one (sometimes more) Jira-tickets and/or other issue-trackers. Something like: Add a widget to the trinket Jira: ...
Mikhail T.'s user avatar
  • 2,377
0 votes
1 answer
1k views

How do I have to configure certmanaager when using a gitlab managed cluster?

I use a scaleway kubernetes cluster v1.21.1 managed by gitlab. To do this, I created a Cluster Management Project with the default template. https://docs.gitlab.com/ee/user/clusters/...
Gonios's user avatar
  • 1
1 vote
1 answer
59 views

Local non LDAP CI-Pipeline User accessing NFS share used by LDAP users

We have a cache directory on NFS which gets written to by LDAP users. In CI we have the problem that its non-LDAP User can't properly change files in this cache directory. What is the "correct&...
Harald Thomson's user avatar
0 votes
1 answer
2k views

How pass dotenv file to my deployment using Gitlab's Auto DevOps

Recently I was deployed a EKS cluster and connect it with our Gitlab.com group, I already deployed some examples and templates from Gitlab and all works fine. Now I’ll want to deploy my Node.js based ...
Rodrigo Moreno's user avatar
1 vote
0 answers
2k views

GitLab Runner : unable to update URL base from redirection

I'm currently experimenting with a problem to set up a GitLab Runner. First, I can't run my Runner because I can't use the same file with two processes on Windows 10. It means that I have to create a ...
seedbarrett's user avatar
2 votes
2 answers
373 views

Will a root domain with an A record pointing to a private IP address be publicly visible? (Gitlab)

I have private Gitlab instance running on a private IP. I want to host a website with Gitlab pages that is only visible inside my network and not accessible from the outside. Also I need my private ...
Micromegas's user avatar
0 votes
1 answer
197 views

GitLab: Global (instance-level) variables for CI builds

How can I set up global environment variables in GitLab that are not project-specific, but apply to all projects? Classic use cases are deployment keys, docker registry credentials and connect proxy ...
uav's user avatar
  • 564
2 votes
1 answer
3k views

Configure gitlab-ci.yml to run pytest in docker container on Gitlab CI

I have a Cookiecutter django project which uses Docker. I write my tests using pytest and I run my tests using docker-compose -f local.yml run django pytest. My local.yml file is in my root dir (where ...
Micromegas's user avatar
3 votes
2 answers
11k views

ERROR: (gcloud.auth.activate-service-account) Could not read json file /root/gcloud-service-key.json: No JSON object could be decoded

I'm getting the below error when running CI/CD pipeline in GitLab. $ echo "$GCLOUD_SERVICE_KEY" > ${HOME}/gcloud-service-key.json $ gcloud auth activate-service-account [email protected]....
GihanS's user avatar
  • 131
1 vote
0 answers
401 views

GitLab AutoDevOps Error timeout deployment rollout to finish kubernetes

I applied the AutoDevOps gitlab-ci configuration. Connect Kubernetes cluster to DigitalOcean. Pipeline timeout error. What could be the problem? $ deploy secret/myprod-xjxj5s-secret replaced ...
Vladimir Galynsky's user avatar
1 vote
1 answer
1k views

How to make custom docker image for Gitlab CI

I have CI on Gitlab for creating of my android application. This is example of my .gitlab-ci.yml: image: openjdk:8-jdk variables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ...
Piduna's user avatar
  • 571
0 votes
1 answer
380 views

Issue with the Azure File Copy on VM

I am trying to copy my files to my virtual machine using Azure File copy tas in my release definition and I am getting the following error :- Could not fetch access token for Managed Identity. Please ...
user508189's user avatar
0 votes
1 answer
417 views

Gitlab CI won't serve Angular app to staging environment

I am trying to set up a pipeline that does the following: Commit new Angular code Build live review app for testing Manual push to production I have been able to successfully build the app within the ...
punygod's user avatar
8 votes
4 answers
6k views

How to set environment variables for the CI/CD in GitLab when using Auto DevOps (with GCP Kubernetes)?

I'm having quite a few moving parts here, so, I'm not sure what's wrong yet. I set up my variable this way: but during the build phase, I get this failure (it's a Django application): raise ...
Pablo Fernandez's user avatar