Skip Navigation

gitlab

Members
0
Posts
14
Created
3 yr. ago

Discussion surrounding the Gitlab product (both CE and EE.)

🌉 bridged from !gitlab@lemmy.world by Tidepool

OctoLab: a free, open-source GitLab client for Android (gitlab.com and self-hosted)

I've been building OctoLab, an unofficial GitLab client for Android. It works with gitlab.com and self-hosted GitLab (CE/EE), started as a GitLab-focused fork of OctoDroid, and is Apache 2.0 licensed. What it does: • Issues and merge requests: browse, create, edit, comment, review diffs, subscribe/unsubscribe • To-dos | Participating: your to-dos plus new comments on issues and MRs you take part in, with notifications and counts per account • Your activity as a timeline, grouped by project • Projects: files, README, branches, tags, commits, releases, code search; images, videos and files open in the app • Bookmarks for projects, groups, issues, MRs, commits and snippets • Sign in with gitlab.com in your browser (OAuth), or with a token on any GitLab instance • Epics (Premium/Ultimate): a group's epics with their child items, comments and reactions • Role-aware: shows what your GitLab role allows; what it doesn't is hidden or explained • Multi-account (self-hosted and gitlab.com side by side), dark and light theme No tracking, no analytics, no proprietary services. How it's built: development happens on our own GitLab instance in small commits; each release is squash-merged into one commit on GitHub, so issue numbers in commit messages and changelogs refer to that internal tracker. Development is AI-assisted, as disclosed in the README; I review and test every change on my own devices before release, and the full changelog is in each GitHub release. F-Droid: https://f-droid.org/packages/com.secninjaz.octolab/ GitHub (releases, Obtainium): https://github.com/secninjaz/OctoLab Feedback and bug reports welcome.

Introducing the GitLab CI/CD Catalog Beta

Crafting pipeline configurations with YAML can be intricate and challenging because YAML isn't a programming language, Developers may find themselves reinventing the wheel each time they try to create new configurations because they don't have visibility into existing configurations and work that others may have already done, resulting in inefficiency.

GitLab 16.7 introduces the CI/CD Catalog (Beta), with the goal of enhancing developer efficiency

about.gitlab.com
Gitlab Pages

www subdomain returns 401 despite using documented DNS settings

My Gitlab Pages site works well under domain.com but not under www.domain.com. The www subdomain leads to a 401 message: "You don't have permission to access the resource." My DNS has a CNAME entry for www pointing to domain.com. When I asked the DNS provider what the problem might be they said "Please contact your hosting provider and provide us with the record needed to be set for www in the DNS zone. The changes should have worked already." The reason I need this is that some old-school people visiting our website still type www. into the URL bar.

DEP-18: A proposal for GitLab-based collaboration in Debian

Git is the industry standard for software development, but I thasn’t been fully adopted in Debian packaging yet. Debian development is still based on uploading tarballs via FTP.

I believe that git-based workflows could enhance collaboration, transparency, and productivity for one of the world’s most vital open source projects. Increasing the use of salsa.debian.org, Debian's GitLab instance, would be a good step towards collaborative git usage.

optimizedbyotto.com

SOLVED: Using CI/CD Variables in project files

Hi community I have a pipeline where a stack (service) is deployed to my docker swarm. I want to use $CI_PROJECT_NAME in my docker service definition file to define the docker service name. But it seems the variable is not being expanded, or something else is wrong. I need to have a generic yml so I can distribute this to all devs and they don't have to change anything. Example of what I am trying to achieve:

 
version: '3.9'
services:
  $CI_PROJECT_NAME:
    image: myregistry/devops1/$CI_PROJECT_NAME/$CI_PROJECT_NAME:latest
    deploy:
      replicas: 3
      endpoint_mode: dnsrr
      update_config:
        parallelism: 1
        delay: 3s
        order: start-first
        failure_action: rollback
        monitor: 1m
      restart_policy:
        max_attempts: 3
      placement:
        max_replicas_per_node: 1
    networks:
      - microservices
    volumes:
      - apache-logs:/var/log/

networks:
  microservices:
    external: true


volumes:
  apache-logs:
    driver: local
    driver_opts:
      o: bind
      device: /mnt/swarm_shared/services/$CI_PROJECT_NAME
      type: none

I know this is not a docker forum, but was thinking the issue is with my pipeline rather than my docker compose file. I would appreciate any help I can get. TIA EDIT: As per this community post I used a sed replacement command to solve my problem. Ugly, but functional. Thanks for the input!

Clarity on environments

Hi everyone

I have read through the documentation now several times, and I just want to soundboard something with someone. Regarding the environments we can set up. Is this meant for example as a production cluster and a dev cluster? And if so, is it possible to put a docker swarm cluster in there? I don't see how gitlab will 'know' how to deploy an application to docker swarm? What am I missing? Or am I better off just deploying "manually" via the CI/CD pipeline like I am doing now?

TIA