gitlab-ci Questions

2

Solved

Q1: Whats the difference between concurrent = 3 [[runners]] .. executor = "shell" and concurrent = 3 [[runners]] ... executor = "shell" [[runners]] ... executor = &quo...
Psychodiagnostics asked 5/2, 2019 at 12:24

5

Solved

I am trying to configure a gitlab CI job to run only on the restricted branches, but I cannot find an only directive to do this.
Ferreby asked 27/2, 2019 at 8:35

4

How do I create badges for my project in gitlab? I know there is a webpage for it here https://docs.gitlab.com/ee/user/project/badges.html but I have no idea what they are saying. suppose my pro...
Infuse asked 30/5, 2018 at 13:1

8

Is it possible to have a gitlab-ci file wheres a build job defined with the following requirements: get executed when manual OR get executed by master push I thought of something like this, but...
Heathenize asked 5/12, 2017 at 10:49

5

Solved

I am running the below code section in gitlab-ci.yml file: script: - pip install --upgrade pip - cd ./TestAutomation - pip install -r ./requirements.txt Below are the keys and values. So I have t...
Staves asked 22/11, 2021 at 15:6

4

I want to use arrays in variables of my gitlab ci/cd yml file, something like that: variables: myarrray: ['abc', 'dcef' ] .... script: | echo myarray[0] myarray[1] But Lint tells me that file is...
Underskirt asked 17/11, 2021 at 15:10

2

Solved

I'm trying to improve the project building script, described in YML-file, the improvement itself seems quite trivial, but the idea of accidentally ruining the auto-builds scares me a bit. Right no...
Rigatoni asked 13/7, 2018 at 11:55

3

Solved

I get this error on a fresh install of gitlab. The message looks like: fatal: unable to access 'https://gitlab-ci- token:[email protected]/something.git/': Peer's Certificate issuer is not ...
Tableware asked 10/8, 2017 at 8:40

13

Solved

recently my runners have been stopped and I don't know why? I've just upgraded nodejs on the server and it did happen. after this problem, I've tried to update gitlab to the latest version and ch...
Chaim asked 25/6, 2017 at 12:26

2

Solved

I am working with GitLab 14.6.2-ee. I am trying to use the YAML reference feature to re-use code snippets in my GitLab configuration files. I've boiled it down to what I think is the simplest use c...
Hypso asked 9/9, 2022 at 18:24

2

I am having difficulty with my pipeline I'm trying to configured, based off of this document - link I am trying to integrate the example pipeline code into my current one, I have got this far: defa...
Unhallowed asked 28/7, 2021 at 16:26

4

I am working on a multi-pipeline project, and using trigger keyword to trigger a downstream pipeline, but I'm not able to pass artifacts created in the upstream project. I am using needs to get the...
Tsarevna asked 24/2, 2021 at 17:48

3

I have a gitlab rule condition like below. '$ACTION && $REGION && $ROLE_ARN && $PACKAGEURL && $ACTION == "new" && $CLOUD_PLATFORM == "aws&quot...
Steel asked 21/6, 2022 at 13:42

4

Solved

I'd can't seem to find any documentation of manual staging in Gitlab CI in version 8.9. How do I do a manual stage such as "Deploy to Test"? I'd like Gitlab CI to deploy a successful RPM to dev, ...
Petronella asked 9/8, 2015 at 13:22

6

Solved

I looked at any other questions but can't find my own solution! I setting up a CI in gitlab and use the gitlab's shared runner. In build stage I used docker image as base image but when i use docke...
Patric asked 29/12, 2018 at 10:35

3

Solved

I have a .gitlab-ci.yml file which allows needs to execute the same function for every step. I have the following and this works. image: name: hashicorp/terraform before_script: - export MYDATE...
Pampero asked 1/12, 2021 at 15:33

10

Solved

Here is my code giltlab-ci.yml : before_script: ## ## Install ssh-agent if not already installed, it is required by Docker. ## (change apt-get to yum if you use an RPM-based image) ## - 'whi...
Hypergolic asked 18/3, 2019 at 14:25

3

The problem I'm working on a Laravel package project and setting up a pipeline to test it (against php 7.3, 7.4 and 8.0) on merge request and publishing it to my package registry on main branch. I'...
Jeffreyjeffreys asked 24/3, 2021 at 11:35

6

Solved

I'm using Gitlab CI/CD to deploy my .netcore application to AWS Beanstalk. How can I update the appSettings.json values in my .netcore application when deploying to different environments using var...
Agglutinin asked 24/7, 2020 at 13:48

5

Solved

I am new to GitLab and facing a problem where if I trigger two pipelines at the same time on same gitlab-runner, they both run in parallel and results in failure. What I want is to limit the run to...
Amaras asked 1/4, 2020 at 7:18

8

Solved

Even though all my steps pass successfully , Gitlab CI shows this - "Cleaning up file based variables 00:01 ERROR: Job failed: exit code 1" and fails the job at the very end . Also intere...
Despondent asked 22/12, 2020 at 16:18

2

I am running a gitlab-ci job that will fetch locally a file from a remote server, more or less as follows: retrieve_docs: stage: fetch_docs image: debian:jessie script: - ssh $USERNAME@$SERVER...
Sensitize asked 14/11, 2017 at 10:2

4

I'm using Gitlab to hosts two private Python packages. One, say package B, depends on the other, say A. I would like to setup correctly package B, so I have a setup.py with install_requires=[ 'pac...
Blandishments asked 8/10, 2020 at 15:54

3

From this link, https://docs.gitlab.com/ee/ci/yaml/#retry it shows that it is possible to cause gitlab to retry a job based on certain circumstances. Those circumstances are listed in the 'when' s...
Monty asked 16/4, 2020 at 4:38

11

Solved

I have a .gitlab-ci.yml file which contains following: image: docker:latest services: - docker:dind before_script: - docker info - docker-compose --version buildJob: stage: build tags: - ...
Epithelium asked 5/10, 2016 at 7:56

© 2022 - 2024 — McMap. All rights reserved.