Skip to main content

Questions tagged [gitlab-runner]

1 vote
0 answers
28 views

Using Chocolaty to install Visual Studio 2022 Build Tools on Windows using the command line fails

Problem statement I need an automated way of installing Visual Studio 2022 Build Tools on any version of Windows Server (on an EC2 instance). The intention is to use the server as a Gitlab Runner (...
Jans Rautenbach's user avatar
0 votes
0 answers
41 views

How to fake an armhf (arm32v7) arch on automated CICD pipelines without root privileges

In my current organization we have physical CICD runners that have been installed with qemu, and the binaries have been registered in binfmt to automatically start qemu when an armv7/armhf binary is ...
Claudio's user avatar
  • 111
1 vote
2 answers
2k views

SSHD: no matching host key type found. Their offer: [email protected]

In short, I have a pipeline in GitLab CI that runs on an alpine:latest image. In the pipeline I run to install ssh: apk update && apk upgrade && apk add --update openssh And then I ...
rhuanpk's user avatar
  • 121
0 votes
1 answer
2k views

Gitlab.com - how to access a project's package registry from another project's CI pipeline?

Given 2 gitlab.com projects on a Free Tier: A Source project contains some packages in its "Package Registry" (example id: 12345678), A Consumer project have a CI pipeline, which job ...
Bob's user avatar
  • 111
0 votes
1 answer
313 views

Bitbucket to Gitlab Webhook to trigger pipeline

We've got following on-prem scenario: Devs working in Bitbucket on Apps, Ops working in Gitlab for "Gitops" things. We'd like to automate builds and deployment via our Gitlab pipeline and ...
mschau's user avatar
  • 3
0 votes
1 answer
772 views

Flutter build pipeline takes a long. How can I make it quicker?

I have a self-hosted GitLab that stores my codes. My flutter project uses this pipeline to build an app bundle: stages: - build cache: paths: - $CI_PROJECT_DIR/.pub-cache/ image: ghcr.io/...
Mohammad Mahdi's user avatar
1 vote
0 answers
2k views

Getting "Not authorized" error when running SonarQube analysis in Docker container with GitLab Runner

I am trying to run a SonarQube analysis in a Docker container using GitLab Runner, but I'm encountering the following error: Caused by: org.springframework.beans.factory.BeanCreationException: Error ...
Sri's user avatar
  • 23
0 votes
1 answer
2k views

how to share "build repository dir" between jobs in multiple gitlab runner configuration?

I'm using a gitlab runner to deploy application -shared gitlab runner and concurrent count is 4 /etc/gitlab-runner/config.toml concurrent = 4 check_interval = 0 executor = ...
lee's user avatar
  • 1
0 votes
1 answer
336 views

Cannot execute nested command on remote host over ssh tunnel

Im running the following command in my GitLab CI job: ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')" The problem is that it returns me the ...
Milkncookiez's user avatar
0 votes
1 answer
1k views

gitlab runner error with environment

I have installed a new gitlab runner and am getting an error. ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-...
sflyer's user avatar
  • 1