Luckyfriend222

joined 2 years ago
[–] Luckyfriend222 2 points 1 month ago

Don't understand what you mean, but no worries. The sources are there to consume at free will. I am not the author of the material, I just came across it and wanted to share. Anyways.

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

I linked the PDF too, so you can read it. I know the Youtube Title is very clickbait, but it is truly worth the watch IMHO.

 

cross-posted from: https://lemmy.world/post/23009603

This is horrifying. But, also sort of expected it. Link to the full research paper:

Full pdf

[–] Luckyfriend222 12 points 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 4 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 4 months ago (3 children)

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

[–] Luckyfriend222 2 points 5 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 5 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.

 

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 ›