Luckyfriend222

joined 2 years ago
[–] [email protected] 1 points 1 week ago (1 children)

When last did you try? A few of us had MariaDB issues, but it started working like a month ago. There is a github issue about it too.

[–] [email protected] 2 points 2 weeks ago (1 children)

Do you want to block links or block communities?

[–] [email protected] 20 points 2 weeks ago (1 children)

How to cache a kill.

[–] [email protected] 3 points 2 months 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.

[–] [email protected] 4 points 2 months 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

[–] [email protected] 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.

[–] [email protected] 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!

[–] [email protected] 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.

[–] [email protected] 5 points 3 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.

[–] [email protected] 1 points 5 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.

 

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

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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 ›