Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Maximus
@leonmax0623_gitlab
image.png
This kind of error.
I can not figure out!
How can I pass my validation?
Please help me out!
Matt Marsh
@marshmn

@leonmax0623_gitlab : the error message seems quite clear - it is saying that your credit card is not valid.

Have you added a credit card to your account? And if so, is your credit card account in good standing?

Maximus
@leonmax0623_gitlab
Hi!
How can I add a credit card to my Gitlab account?
Amy
@pibion_gitlab
Hello, I manage a GitLab project and have a default, unprotected branch set (main). But when I make a new repository, the main branch is created and is protected.
Has something changed?
Okay, update! It seems that subgroups don't automatically inherit the settings of their parents. Is there a way to do that?
Zechariah Moore
@Zechariah_Moore_gitlab

Hey all
I'm looking for options of automating a deploy token - I already have some script that creates a subgroup off our variables/forks another repo into the subgroup.
I'm looking at options as far as creating a deploy token and i'm struggling with the script - I think It may require admin access to my generated token id which I don't currently have but it'd be nice to have a second set of eyes on it

var code = "formatted";

import gitlab
import  sys

# tokenauthentification
# token = 'my token'
gl = gitlab.Gitlab(private_token='my_private_key')

#
group_parent_id = 'my_created_parent_id_from_prior_script' 

# %%
deploy_tokens = gl.deploytokens.create({
    'name': 'name',
    'scopes': ['read_repository'],
    'username': 'username',
    'expires_at' : ''})

The error is 'DeployTokenManager' object has no attribute 'create' which to me means the deploytokens path isn't correct but it's what's current on readthedocs :/

2 replies
Garrett Heaton
@gbear14275_gitlab
Hello, is it possible to manage a gitlab installation via got (say in a gitlab project)? I feel like this form of gitception should be possible but don't seem to be finding any writeups on Google... Is this a horrible idea?
thisiz_A
@arunsanna
Hello, I am using the IAM role to run the backups from the toolbox and store them in S3. S3cfg is not using IAM and I don't want to use creds. Is there any solution for that?
Lalo Mores
@lalomores82_gitlab
Good morning, community! I'm seeing a lot of code questions. Is this the right place to ask about some funny behavior of my issue boards at gitlab.com ?
11 replies
Waseem Soomro
@soomro_gitlab
Hi. I have two factor enabled and can’t find option to disable it.
1 reply
Meanwhile I am using one time passwords to login but will run short of them. How can I seek help for this? Thanks
Vijay Prathipati
@vijay.prathipati1_gitlab
Changes to free tier public projects
  1. Effective June 1, 2022, all free tier public projects will be included in the 400 minutes per month CI/CD minutes quota.
  2. Before July 1, 2022, all free tier public open source projects will need to enroll in GitLab's Open Source Program to continue to receive GitLab Ultimate benefits.
Hi i am getting this notification on top of my project
is there any effect on my project after this deadline
4 replies
i am new to gitlab so can any suggest me what to do
gmcmullankx
@gmcmullankx
on gitlab.com some of our CI pipelines have started failing today with invalid yaml artifacts:reports config contains unknown keys: cobertura. Has this been deprecated?
1 reply
compound radius
@compound.radius_gitlab
has something changed with deploy tokens and registry.gitlab.com? I can successfully login, but I get an unauthorized: HTTP Basic : Access denied now. This has worked fine previously for months.
2 replies
Paul Saunders
@paul_saunders_gitlab
Looking for a definitive answer on how long (currently) audit events are kept for. https://docs.gitlab.com/ee/administration/audit_events.html#retention-policy says that there is none, and points to an open feature for adding a retention policy. But how long are they currently kept for?
Ohm0n
@thecyberd3m0n_gitlab
Hi!!
I'm trying to configure release job in Gitlab-CI
for now it looks like this and fails

release_job:
  stage: release
  needs:
    - job: build-web
      artifacts: true
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  rules:
    - if: $CI_COMMIT_TAG
    - if: $CI_COMMIT_BRANCH == 'master'
  script:
    - echo "Running the release job."
  release:
    tag_name: '$CI_COMMIT_TAG'
    ref: '$CI_COMMIT_TAG'
    name: 'Release $CI_COMMIT_TAG'
    description: 'Release created using the release-cli.'
$ echo "Running the release job."
Running the release job.
Executing "step_release" stage of the job script
00:01
$ release-cli create --name "Release $CI_COMMIT_TAG" --description "Release created using the release-cli." --tag-name "$CI_COMMIT_TAG" --ref "$CI_COMMIT_TAG"
time="2022-05-07T19:01:08Z" level=info msg="Creating Release..." cli=release-cli command=create name="Release " project-id=32201481 ref= server-url="https://gitlab.com" tag-name= version=0.11.0
time="2022-05-07T19:01:08Z" level=fatal msg="run app" cli=release-cli error="failed to create release: API Error Response status_code: 422 message: Ref is not specified" version=0.11.0
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
what I'm doing wrong?
31 replies
compound radius
@compound.radius_gitlab
I still can't find a solution for the docker login to registry.gitlab.com. Everything was working, now it isn't I have tried specifying docker login registry.gitlab.com:443 and that also did not change the result.
8 replies
Nicolas Goudry
@nicolas-goudry

Hi, I come here because I have a problem with a self-hosted runner and GitLab SaaS (gitlab.com). My runner can’t clone our private repositories anymore due to a SSL error.

Here is the error:

fatal: unable to access 'https://gitlab.com/company/group/subgroup/project.git/': SSL certificate problem: unable to get local issuer certificate

Does anyone else have this error ? I can see that the certificate of gitlab.com is expirating in 3 days, but I’m not sure it’s linked…

Justin Georgeson (Work)
@jghal
@nicolas-goudry I was seeing the same thing this morning, but only on one of our runners. I restarted the container for that runner and the error went away.
7 replies
eccentricson
@eccentricson:matrix.org
[m]
Hello, we are currently installing Gitlab using the environment toolkit, on AWS, backed with runners in EKS. When a new runner pod is created, it picks up a job. If I pause the runner in the Gitlab UI and resume it, it picks up a new job. However, if I don't touch it and kick off a pipeline job, the runner log says Checking for jobs... nothing. And it never actually picks up the job unless I pause/resume the runner, or delete the pod in K8s so it creates a new runner pod. I'm not finding much about this on the internet, and been debugging it for a few hours. Currently using gitlab-runner:alpine3.15-14.9.2 for the runner
eccentricson
@eccentricson:matrix.org
[m]
:point_up: Edit: Hello, we are currently installing Gitlab using the environment toolkit, on AWS, backed with runners in EKS. When a new runner pod is created, it picks up a job. If I pause the runner in the Gitlab UI and resume it, it picks up a new job. However, if I don't touch it and kick off a pipeline job, the runner log says Checking for jobs... nothing. And it never actually picks up the job unless I pause/resume the runner, or delete the pod in K8s so it creates a new runner pod. I'm not finding much about this on the internet, and been debugging it for a few hours. Currently using gitlab-runner:alpine3.15-14.10.0 for the runner. Gitlab is running 14.10.0 currently
eccentricson
@eccentricson:matrix.org
[m]
I got this fixed, deployed with the Environment Toolkit, Sidekiq was reading from the wrong Redis cluster. After a review of the queues in the "Background Jobs" in the Admin panel it became obvious there was a queuing issue. Latency climbed very high, jobs weren't being completed, etc. I hope my explanation here helps the next person who runs into this issue.
Vignesh Shanmuganathan
@vshanmuganathan_gitlab

Hi,

I added container scanning to my GItlab pipeline, but I dont see this stp in the pipeline nor their is any error.

FYI: My repo is private and weuploade our images to Gitlab COntainer registry.

THough doing this would suffice:
include:

- template: Jobs/Build.gitlab-ci.yml

  • template: Security/Container-Scanning.gitlab-ci.yml

Let me know if i am missing something

Jason Chen
@jason.chen7_gitlab
hey guys, question. is ios shared runners coming with release 15.0?
2 replies
anybody know? or if it has been punted to next release D:
Jordan LEFEBVRE
@lefjor_gitlab
Hi everyone, when I try to remove integration with my AKS cluster I get a 500 error from gitlab.com is there a way to know what's the problem ?
1 reply
remove.PNG
Capture 500.PNG
Mat
@matmicro
Is there a channel like this one on Discord ?
2 replies
Peter Bollen
@pbollen_gitlab
Playing around with gitlab-triage, and would like to configure pipeline-schedules as supported by https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/bin/manage_schedules. What would be the better approach to set this up, instead of copy-pasting these file(s) into my own repo?
Travis Newman
@travnewmatic

hey yeall

is downloading release assets from private repos via the API still busted? gitlab-org/gitlab#28978

curious what the right way to do this is

Matt Angell
@mangell_gitlab

Hi all, I’m a recruiter at GitLab and wanted to let you know about a new team we are building here called Contributor Success. Our mission is to increase the efficiency, incentive & reward of our contribution process in order to achieve our ambition of supporting & achieving over 1000 community contributors to the Gitlab project!

We're looking for backend engineers today that have experience with contributing to open source projects like GitLab. You’ll have an opportunity to grow our community, make it easier to contribute and support various open-source initiatives across the wider ecosystem.

If you’re open to discussing a new full-time position with me or have any questions, feel free to drop me a message at mangell@gitlab.com or DM me here in Gitter!

Thank you and have a great day.

2 replies
rhrytskiv
@rhrytskiv_gitlab
Hi all 👋
Anyone knows if GitLab 15 packages are going to release at specific hour today? Or just random time?
rhrytskiv
@rhrytskiv_gitlab
Nvm, dropped 30m ago.
KapitanPL
@KapitanPL

Hi Guys... need a hint.

In a gitlab runner I try to set SSH_COMMAND. for win machine (no docker)
If I set it in beforescript part as
${env:GIT_SSH_COMMAND} = 'ssh -vvv -i "C:\\Users\\te\\.ssh\\id_rsa" -o UserKnownHostsFile=C:/Users/te/.ssh/known_hosts'
it works.

however I would like to set it in variables (as we do for linux pipelines)
env:GIT_SSH_COMMAND : 'ssh -vvv -o UserKnownHostsFile=c:/Users/te/.ssh/known_hosts -i "c:\Users\te\.ssh\id_rsa"'

It works only partially. UserKnownHostFile is just ignored. Everything else works.

What happens?

By trial and error I discovered that it might depend on how I pass the paths ( \ vs / vs \\, what quation marks I use...)

But I am unable to figure out how to make it work.

Nicolas Goudry
@nicolas-goudry

Hi there, I come here because we just experienced a severe issue regarding GitLab SaaS issues (free tier).

We created a project 4 days ago, along with an issue that was given the id 1. Today, we couldn’t find the issue on the project at all.
One of our developer had the issue page still opened in his browser, so he shared the link with us, but it gave us a 404 page when trying to open it.
The same developer just hit the refresh button and also got a 404.

In order to narrow down the problem and see if we deleted the issue by error, we created a new issue, which was also given the id 1 (weird).
We intentionnaly deleted this issue, and created a new one, which was given the id 2 (better).
This behavior strongly suggests that the problem is on GitLab and not on us. There isn’t any issue reported on status.gitlab.com.
I see that GitLab 15.0 was released recently, could it be the source of the issue ?

Also, we found another weird thing: there is no activity log when deleting an issue, and the issue creation log is also deleted ! This behavior seems off, why purposefuly rewrite activity logs rather than append to it ?