Category "gitlab-ci"

Gitlab CI/CD Spring boot Mysql sample Build and db connection successful but Junit test failing with Unknown database issue..! (DB exist)

Applying CI/CD With Spring Boot MySQL Gitlab I'm created very basic Spring boot crud application with MySQL, What I need to implement is Gitlab CI pipeline to a

GitLab pipeline with dotnet and node image

I'm creating a GitLab pipeline which should build, test and deploy a dotnet core application with Angular application. So far so good! This project was created

Detached head in gitlab ci pipeline - how to push correctly

I got some problems with a detached head for my repository in a CI pipeline. In the build stage of the pipeline I am running a script, which changes a specific

Un-register gitlab-runner on Ubuntu not working

I'm trying to unregister gitlab-runner on EC2 instance (Ubuntu machine) with the following command: sudo gitlab-runner --debug unregister --token [RUNNER-TOKEN]

Show remote command output in CI job results

I have CI pipeline which have stages like this. As it shows most of the stuff here is done on remote machine which is working fine. The only issues I am unable

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