Luckyfriend222

joined 1 year ago
[–] Luckyfriend222 11 points 1 day ago

This. So much this. How can people not grasp this idea? Companies don't care about something you bought 5 years ago. They are interested in your current data.

[–] Luckyfriend222 1 points 1 day ago

I do straight VM installations unfortunately. I am too stupid for K8s. But seeing how the rest of their stuff is packaged, I suspect you will be fine!

[–] Luckyfriend222 6 points 3 days ago (2 children)

I have been maintaining several self-hosted GitLab instances over the past 5 years, and it rarely takes me longer than 20minutes per update.

Their upgrade paths are clearly marked and well thought out. Their packaging methods are of great quality.

You will not regret going with GitLab.

[–] Luckyfriend222 3 points 4 days ago (1 children)

This track layout will definitely favour the likes of Merc and McLaren. Nice long high speed straights and very few sharp corners where RB normally have an advantage. Will be an interesting race for sure.

[–] Luckyfriend222 5 points 1 week ago (1 children)

You can already set up your photos to automatically save in Nextcloud? With Nextcloud sync client’s auto-upload feature? I have photos on phone and Nextcloud only.

[–] Luckyfriend222 1 points 2 months ago (1 children)

Sorry, reread your post. I am indeed wrong. My entity control is done with script like turning porch light on, so that is why I have it in my widget. It is a script. Sorry about that.

[–] Luckyfriend222 1 points 2 months ago (3 children)

Did you see the widget is back in HA on iOS18?

[–] Luckyfriend222 2 points 3 months ago (1 children)

He is probably talking about light switches like a porch light or garage light that you want quick access to when you get home and for some reason your automation never switched it on, so you want to quickly access it on a homescreen via a widget, and not have to go into the app and search through multiple dashboards etc. His use case and therefor his question is totally valid.

[–] Luckyfriend222 2 points 3 months ago

Never used it, but checked iOS widget now, and you are correct. It only gives options to three things: Ask AI, Actions, and open page. Nothing else on my iOS.

[–] Luckyfriend222 2 points 4 months ago

I use this too. When SNMP is set up there are loads of things you can monitor with LibreNMS. Much less of a learning curve than Grafana + Prometheus, although the latter probably has some nice tweaks available that SNMP does not provide.

[–] Luckyfriend222 5 points 5 months ago

Not a dad joke per say but:

What is the difference between a sperm cell and a lawyer?

A sperm cell has a one-in-a-billion chance of becoming human one day.

 

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

4
submitted 1 year ago* (last edited 1 year ago) by Luckyfriend222 to c/gitlab
 

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!

view more: next ›