Questions tagged [gitlab-runner]

10 questions
1
vote
2 answers

SSHD: no matching host key type found. Their offer: sk-ssh-ed25519@openssh.com

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 run an scp command: scp -P $SSH_PORT $FILES…
rhuanpk
  • 121
1
vote
0 answers

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 creating bean with name 'GlobalServerSettings'…
0
votes
0 answers

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 invoked. echo -1 >…
Claudio
  • 111
  • 3
0
votes
0 answers

Gitlab-runner pull ECR images to run pipeline stages

I have been trying to set this up of the better part of the day, and am wondering that there surely is an easier way to do this and i must be doing it wrong? image: amazon/aws-cli:latest stages: - terraform_plan - terraform_apply variables: …
0
votes
1 answer

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 executes a yarn install requiring a npm package from the Source…
Bob
  • 111
0
votes
1 answer

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 looking for ways to implement. The build part already works.…
mschau
  • 3
0
votes
1 answer

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/cirruslabs/flutter:3.16.3 workflow: rules: -…
0
votes
1 answer

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 = shell All jobs run in a different stage each…
lee
  • 1
0
votes
1 answer

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 following error: /usr/bin/bash: line 156: docker: command not…
0
votes
1 answer

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-loading for more information my file…
sflyer
  • 1
  • 4