Category "gitlab-ci"

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

Netfilx eureka server - client booth in docker at gitlab ci; 400 bad request

I'm working with two apps, one of them is server-app (Netflix eureka server) and the other is the client-app, they works perfectly on my machine, client registe

How to get the results (succeeded or failed) of previous stages/jobs in a pipeline of GitLab CI?

In one pipeline there are multiple stages. How can I get the results (succeeded or failed) of previous stages/jobs in the last stage/job of a pipeline?

Gitlab CI with Ansible

I am creating a pipeline which is automatically triggered when I push my code on gitlab.com. The project is about the provisioning of a machine. Here my .gitla

copy artifacts from gitlab runners to windows shared drive

Am new to gitlab runners. I need help with pipeline script to copy the artifact produced by gitlab pipeline( which runs on a linux runner and windows) to a wind

copy artifacts from gitlab runners to windows shared drive

Am new to gitlab runners. I need help with pipeline script to copy the artifact produced by gitlab pipeline( which runs on a linux runner and windows) to a wind

GitLab pass variable from one pipeline to another

We have a master pipeline, which is responsible for triggering pipelines from multiple projects and performing some steps. I want to pass a file from first pipe

Storing secrets and credentials securely in GitLab

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 wit

How to fetch entire repository with GitLab CI/CD?

I'm currently setting up GitLab CI/CD. We use GitVersion in our project, which throws the following error: /root/.nuget/packages/gitversiontask/5.3.7/build/GitV

Gitlab automatically stops environment after merge

In our team we have multiple static environments. There is always dev and test and for certain customers where our infrastructure is allowed to deploy also stag

Manual approval in GitLab CI deployment pipeline

we've got a GitLab CI build / test / deployment pipeline and need to insert a manual approval between deployment to Test and promoting to Prod. I can't figure o

How to get schedules description in gitlab?

I have a scheduled pipeline in gitlab, whose description is "run everyday". similar to this https://docs.gitlab.com/ee/ci/pipelines/schedules.html How can I fet

gitlab-runner:Pipeling is pending infinitely

I install a Specific Runners,and the status is actived. my .gitlab-ci.ymi file code: stages: - build build_maven: stage: build only: - master scrip

Gitlab CI, include rule's if condition is ignored

I've following in .gitlab-ci.yml: include: # env variables - local: test.yml rules: - if: $CI_BUILD_REF_NAME == "dev" - local: int.yml rules

Use artifacts from merge request job in GitLab CI

In my project I use merge requests to test builds, and deploy once the commit is merged to master. Currently my .gitlab-ci.yml looks like: build: stage: build

[Gitlab]Where can I find Gitlab Pages hosted on my private Gitlab instance?

I tried to set up Gitlab Pages, until now I finished uploading my static website files👇 Uploading artifacts... coverage/lcov-report: found 77 matching

Make sure a job is rerun in later pipelines if it has failed in previous pipeline and is subject to files changes rules in Gitlab CI

I have a Gitlab CI job that has a rule making the job run if any of 3 paths are modified. I made the job fail purposefully. Then, I modified the README.md - a f