Questions tagged [gitlab-runner]
The gitlab-runner tag has no summary.
11 questions
0
votes
0
answers
85
views
gitlab-runner starts getting 403-errors after some time
This happened several times already: after registering, the runner starts up fine and processes jobs as expected.
Then, after some time later, it starts getting 403 (unauthorized) errors, when trying ...
2
votes
0
answers
281
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 (...
0
votes
0
answers
59
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 ...
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 ...
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 ...
0
votes
1
answer
352
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 ...
0
votes
1
answer
905
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/...
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 ...
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 = ...
0
votes
1
answer
356
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 ...
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-...