Category "gitlab-ci"

Abstract contents of gitlab-ci file to only use "include"

I've a gitlab-ci file that works as is no problem, however, a question has been asked as to whether we can abstract the contents of this file/move this file to

Unable to run testcafe tests on CI/CD gitlab but works fine locally on the runner

I am seeing an issue running testcafe tests on the gitlab runner. The tests runs fine locally on the gitlab runner, but when run off the CI/CD pipeline it fails

GitLab job allow failure on certain exit code

I have a GitLab CI/CD job doing some stuff. I want some executed commands to be able to fail and result in a warning for this job, but I also want other command

Gitlab: Is there a way to limit the concurrency jobs in Gitlab by number?

I have a Gitlab Runner running on Kubernetes. I see there are options to limit concurrent jobs from the runner level, but it would be preferable if we could do

Gitlab CI: Using "environment" key with trigger in job

I am looking to use the environment keyword as shown below in job which has trigger. deploy: stage: deploy environment: name: develop variables:

Running plotly dash selenium tests in gitlab CI

So I'm attempting to implement selenium tests within a GitLab ci pipeline. Currently, I've run these tests on my local system mirroring the testing method that

Adds needs relations to GitLab CI yaml but got an error: the job was not added to the pipeline

I am trying to add needs between jobs in the Gitlab CI yaml configuration file. stages: - build - test - package - deploy maven-build: stage: build

NPM Login without manually entering the username, password & email

I have been able to login to my npm registry manually, ie: on my local machine - but for some reason it's not working when it goes through the CI. The problem h

The connection to service named com.apple.fonts was invalidated on xcodebuild -resolvePackageDependencies

I am using fastlane to build my unity iphone application. It worked perfectly until all of a sudden i started getting the following error/warning during build:

Gtilab pipeline trigger don't work over webhook (returns 404)

I have created a custom trigger form my project in GitLab and it works fine on branch 'main' via curl (with POST queries): curl -X POST -F token=%myToken% -F re

Cannot source vault secrets using the built-in method in gilab-ci

I can use the JWT auth method and obtain a token: export VAULT_TOKEN=\ $(vault write -field=token auth/jwt/login role=$my_role_name jwt=$CI_JOB_JWT) I can also

denied: requested access to the resource is denied when pushing image to gitlab registry

I'm trying to push an image to gitlab registry. I've done it many times, so I wonder why I get this error. I build the image with latest tag: Successfully t

I want to run gitlab-runner like executing commands hook only

I have a dedicated server and attached Git-Runner. We just want to run something like this on a file path git pull npm install npm run prod the problem is git-

How to fix? "kex_exchange_identification: read: Connection reset by peer"

I want to copy data with scp in GitLab pipeline using PRIVATE_KEY error is : kex_exchange_identification: read: Connection reset by peer Connection reset by x.x

How do i add custom certificate to gitlab-ci.yml file with default runner. I am running this on cloud

variables: MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository - Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer

Why does Gitlab CI fail to get git submodule but on subsequent push checks out the submodule?

My project consists of a parent project and a child project. The child project is included in the parent project as a submodule. I am using Gitlab CI. Below is

Common script for all jobs inheriting a hidden one in Gitlab CI

We have a common included CI config file (.services.yml) for a set of projects looking like this: stages: - ... - build - ... .build: stage: build scrip

GitLab Runner suddenly fails to run jobs using Docker Machine and AWS Autoscaling

I use GitLab Runner for running CI jobs on AWS EC2 spot instances, using its autoscaling feature with Docker Machine. All of a sudden, today GitLab CI failed to

How to Access Postgres Service from Child Docker Container in Gitlab-CI? How do I access IP address of postgres service or gitlab shared runner?

I have setup a gitlab-ci build with the architecture illustrated below. (source: gitlab.com) . The listener container is unable to communicate with the postgres

GitLab CI in GKE private cluster can't connect to master

So far we have been using GKE public cluster for all our workloads. We have created a second, private cluster (still GKE) with improved security and availabilit