Questions tagged [gitlab-pipelines]

86 questions
1
vote
1 answer

How to push to package registry of personal Gitlab project?

I am using my organization's Gitlab instance and want to upload to the package registry of a personal project from my CI pipeline. I have been able to up-and download from shared projects' package registries using the format specified in the…
mghin
  • 11
  • 3
1
vote
1 answer

Job failed from GitLab pipeline to Kubernetes pod

I have some GitLab pipelines which are using Kubernetes pods in EKS I had some issues initially with token registration which was solved by resetting the token on GitLab and replacing it in gitlab-runner-secret I do specify that I used for…
msilviu
  • 11
  • 3
1
vote
1 answer

Gitlab Artifcacts Store Previous Artifacts

Using Gitlab Job Artifacts: https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html How do I store the previous run's artifacts along with the current run? I know I can use the name keyword in order to give my artifacts a unique name. This will…
1
vote
1 answer

Getting fatal error in object: unshallow in gitlab pipeline

I am trying to push a change to gitlab, but my gitlab pipeline is failing due to below error. fatal error in object: unshallow I dont have access to the gitlab build pipeline, so cant update anything there. The only thing I know from…
aru_sha4
  • 368
  • 2
  • 11
1
vote
0 answers

Merging into a trigger for GitLab CI

I have a gitlab-ci.yml that works for normal stages. .install-template: &install_env before_script: ... after_script: ... unit-tests: <<: *install_env stage: test script: ... ... I am now trying to do some dynamic children…
lr100
  • 648
  • 1
  • 9
  • 29
1
vote
2 answers

How to detect in GitLab CI that a pipeline was triggered when a Merge Request was created

I'm doing a script that sends a message in Ryver based on certain events for GitLabs Merge Request. The supported scenarios: When a Merge Request is created When comments are made (Code Review) when new commits make the pipeline fail The following…
Fingolricks
  • 1,196
  • 2
  • 14
  • 30
1
vote
1 answer

Gitlab CI/CD how to catch curl response in pipeline

I have a pipeline which starts some maven/java app, now I want to add a test stage , where I check if the app starts successfully , for example: when the build stage finishes, I check with curl 127.0.0.1:8080 if response 200 ok , else failed. How…
1
vote
1 answer

gitlab CI/CD deploy laravel project

I Want to deploy my laravel project through ci/cd gitlab, I have a problem with deploying my project. i am trying to deploy my laravel project to cpanel through gitlab CI. I am using deployer package in this project but when i push my commit to…
1
vote
1 answer

Duplicate part of gitlab repository to another repository inside gitlab

I have a Shared Server running IIS that accepts Git automatic deployment, I am using .Net 2.2. Files will be deployed to the plesk website as soon as they are pushed to the gitlab repository using SSH and WebHooks. So this repository will only have…
Tito
  • 722
  • 4
  • 26
  • 55
1
vote
0 answers

See Gitlab CI/CD pipeline on my local machine

I am using gitlab on a server for storing and managing our projects. But each time I push my code, I have to: => log on the gitlab's front => select my project => CI/CD => Pipeline Is there a way to see that terminal running all the .gitlab-ci.yml…
Rodskin
  • 11
  • 1
1
vote
1 answer

StyleCop.Analyzers integration into GitLab

I have a C# project (.NET Core 3.1) and I use with it a nuget package StyleCop.Analyzers. It analises my code during builds and shows various warnings if finds any problems with my code. Now I wonder is it possible to integrate its checks into…
Pupkin
  • 1,211
  • 3
  • 13
  • 30
1
vote
1 answer

Gitlab Pipeline - How to check the logs of a runnning instance?

I started my Spring Boot REST API application successfully with a gitlab pipeline. I can make a call to the application endpoints with Postman and I receive the expected responses with status 200. But now I want to check the logs of my application,…
bwx--2
  • 181
  • 2
  • 11
1
vote
1 answer

Healthcheck of SpringBoot service in Gitlab CI/CD pipeline

I have a Gitlab CI/CD pipeline which: builds Spring Boot app packages it to a Docker image deploy the image using docker run ... I'd like to be able to validate the service after deployment. I want to be informed by the pipeline about the failure.…
1
vote
1 answer

Unable to encode JSON in a Gitlab Yaml Pipeline

I'm unable to submit Dropbox API request from YML Gitlab Pipeline using PowerShell (Windows runner). The API requires to pass a JSON as a header parameter and encoding that JSON into YML Gitlab Pipeline doesn't work: `--header…
Mando
  • 11,414
  • 17
  • 86
  • 167
0
votes
0 answers

Trigger GitLab pipeline based on an external event (Example - A binary image has been uploaded to Nexus)

I have a problem where the application code is developed and built in vendor premises and only code binary is sent in the form of docker image and uploaded to Nexus repository. Now, I need to create a deployment pipeline in GitLab which will be…