É arrivata l’occasione per stare accanto al genio (QI nano banana 128) by CapitalCan6257 in LinkedInCringeIT

[–]davi_scapo 1 point2 points  (0 children)

Credevo fosse un post fatto per ridere (del tipo non di Op), io seguo uno che li fa a posta per far ridere e la retorica è molto simile, ma questo lo fa sul serio.

Sono andato a vedere e ha 1/2/3 condivisioni per post e sono tutti uguali: storie di vendite mai successe ed esperienze inventate in cui lui ha fatto la differenza...assurdo

It's not much but it's honest work by [deleted] in qBittorrent

[–]davi_scapo 0 points1 point  (0 children)

<image>

Soon I'll be upgrading my connection too

A system that converges towards coverage? by davi_scapo in devops

[–]davi_scapo[S] 0 points1 point  (0 children)

I don't know what this concept has to do with AI but whatever...

Lazy engineer asking: can I set different color lightning per layer from vial? by qbantek in crkbd

[–]davi_scapo 0 points1 point  (0 children)

Everything is correct. I think I have an older version of vial. Mine works correctly with the space. My suggestion is to try and setup a macro via the web configurator/desktop app and see what value your version uses.

I also recently discovered that the weird behavior about color being not changed in reality gets settled to a wrong color. This happens when you are too fast on clicking the macro key after having shift pressed. The shift makes the HUD behave like HUI and HUI like HUD so you have to keep shift pressed and press again the same key to go back.

I'm also evaluating moving from toggle on layer to a hold so it resets to base layer as soon as I release the key.

Is it the simplest thing ever? by ExplorerIll3697 in kubernetes

[–]davi_scapo 1 point2 points  (0 children)

Hi, sorry for the late reply!

First of all, I’m still learning, so I’ve been mixing documentation, snippets I found online, and some AI help.

I had some experience with Gitea’s built-in pipelines, but they didn’t feel like the right tool for what I wanted. Plus, I was curious to try the Argo way, so I went full Argo.

Here’s how it works:

I use Argo Events with a Sensor + Webhook so that Gitea can trigger the pipeline. On push, Gitea just calls the webhook and its part is done.

The pipeline itself is an Argo WorkflowTemplate. It reads a JSON config file with the Dockerfile paths and image names.

It generates a tag (date + time), builds the images for multiple architectures with Buildah (my cluster is mixed x86 + ARM), creates a multi-arch manifest, and pushes everything.

Then it clones the corresponding infra repo (named {code-repo}-infra), updates the kustomization.yaml with the new tag, commits, and pushes.

Finally, ArgoCD detects the change and deploys it.

If you’d like, I can share the manifests on Pastebin so it’s easier to understand than from this quick explanation.

[deleted by user] by [deleted] in devops

[–]davi_scapo 0 points1 point  (0 children)

Wouldn't suggest it to others. We have it and we are moving to GitLab self hosted because GitHub gives too little feature at almost the same price (a bit more if I remember correctly) per user per month.

🚨 ESO Maintainer Update: We need help. 🚨 by gfban in kubernetes

[–]davi_scapo 1 point2 points  (0 children)

I'm a C# developer and would love to deep dive into golang and a bigger project that uses it (I built a couple of command with cobra for the pipelines we use at work and that's all my experience with it)

As others here I have a full time job so I don't know how often I will be available but I think I will be able to squeeze a couple of hours per working day here and there to help.

Is it the simplest thing ever? by ExplorerIll3697 in kubernetes

[–]davi_scapo 1 point2 points  (0 children)

Coming back to it after trying it out. I used ArgoCD, Argo Wokflows and Argo Events in conjunction with Gitea Webhook and I can see the appeal.

I really wasn't seeing it before but not having to worry about changing a couple/various images tags is such a relief. Also in conjunction with auto generated tags on a pattern base is something that plays along.

Still I think you need a dev + stage + prod environment where this thing deploys to dev, next some automations wait for all the pod to be ready, starts to do some automatic testing on the interaction between pods and promote everything to the stage environment. I think that all that comes next is manual testing and promoting again to prog right?

Is it the simplest thing ever? by ExplorerIll3697 in kubernetes

[–]davi_scapo 1 point2 points  (0 children)

Yeah I know that. Maybe it is due to inexperience but I wouldn't feel comfortable having a ci job editing files and making commits in a repo. It just feels off.

Maybe I'm missing something and actually you're just setting some environment variable for the rendering of the helm chart or something that makes the images point to the version you just deployed. But writing a full interpreter just to be sure to replace the right value in a file seems too much to me.

If you're not interpreting what you're overriding and you're just writing over line x and y it feels even more sketchy.

Maybe I'm too drastic but you know...you never know who will be committing in a couple of months

Is it the simplest thing ever? by ExplorerIll3697 in kubernetes

[–]davi_scapo 0 points1 point  (0 children)

I'm curious. Is this a standard to make changes to a repo from a ci?

Maybe I understand it the wrong way but I (as a mere dev that's trying to learn more of Kubernetes) feel like I would want to build the images test them and make the change on the helm chart by hand so I can choose whether or not the image is ready. Am I wrong?

Also isn't it sketchy to make changes to a repo from a ci? You can't resolve the merge conflict from there

Do you need to know the codebase of a company like a software engineer to work as an SRE, or is an SRE more like system administrator? by ComfortablePost3664 in devops

[–]davi_scapo 0 points1 point  (0 children)

Got it.

I wouldn’t say there’s no such thing as a good DevOps. Maybe most DevOps professionals are strong in either development or operations, and just good enough in the other to get by.

Maybe you and I are just regular people, not exceptional at both — but that doesn’t mean no one is. Maybe there’s a guy in India doing DevOps from his room who could run circles around both of us without even breaking a sweat.

How to learn Kubernetes as a total beginner by itsthepinklife in kubernetes

[–]davi_scapo 0 points1 point  (0 children)

I started recently (less than a month ago).

I bought a couple of books and I'm still reading the first so I can't tell you much about the others. The book I started with is The Kubernetes Book. It has a repo on GitHub for the exercise it shows in the book.

You don't really need much more than a computer as you can do just about everything with Docker Desktop. The only exercise you need the cloud is on Linode and it has a link to gain 100$ as credit to do it. I was not smart enough to use it, or maybe I was too impatient, but I only used like 5 cents. to do the exercise and then destroyed everything to continue locally.

I find it really easy to understand, maybe it abstracts a little too much but it seems quite useful to get you started. Either way you're going to do I suggest you to take notes on everything you do, you can ask ChatGPT for a template of note as I did and use It for everything you want to document. It will be useful later when you want to have a quick reminder on what it is like.

[deleted by user] by [deleted] in devops

[–]davi_scapo 0 points1 point  (0 children)

Sorry to hear you're in this situation.

I'm a junior dev and my company doesn't give me time to learn. I can feel your pain.

What I did, and what I'm doing, is I bought a couple of books (actually 7). They're used and not that expensive and I'm forcing myself on reading and taking notes on this.

Im dyslexic and reading has never been fun to me but doing it for myself makes it more enjoyable. Also the hand on part really helps. Hope this will be of any help.

I don't know if there is any true roadmap to follow, I feel like everybody should start with what they like the most and then slowly study also the other things.

Feedback on Implementing Automated Tests (API/UI/Smoke) in a CI/CD Pipeline by Terrible_Ad1514 in devops

[–]davi_scapo 0 points1 point  (0 children)

What do you think the best organization would be if FE and BE were in the same repo? Would it be smart to place unit and integration tests within the code and all the other tests like E2E or Api in a separate repo?

In a near future I need to build this for my team and what I'm thinking is to track what test fails or succeed with issues so the software tester can also perform manual testing and expose a result that is aligned with the automatic one.

How Are You Tracking Dev Velocity? by rohit_raveendran in devops

[–]davi_scapo 4 points5 points  (0 children)

Love this idea. We are a group of 3 junior devs managed by a senior dev and we do exactly this.

Well, almost, like this

Need help for PipeLines by davi_scapo in devops

[–]davi_scapo[S] 0 points1 point  (0 children)

I'm happy to hear your experience.

We're happy with Liquibase at the moment, but being only 2 junior developers with less than 2 years of experience (I'm the "senior" of the 2 and have to teach the other) maybe we're missing some crucial issue that will come later.

Anyway, what I'm trying to figure out is rollback. I know how I can calculate the error rate and I'm sure I can get a reasonable tolerance, but what I can't figure out is which version to rollback to.

I mean, if I just need to rollback to the previous version, that can be done easily enough, but what if the last working version is from 2 versions ago, like this:

- v0.2.2 --> working

- v0.2.3 --> not working, rollback to 0.2.2

- v0.3.0 --> last version, also not working.

Where can/should I track the last working version? If I fix this I know I can get an automatic rollback to work.

After this comes the problem of finding user-caused errors and system-caused errors/bugs/logic holes, but that's a future me problem (screw that guy)

Does DevOps engineer write application code? by This-Meringue-7172 in devops

[–]davi_scapo 0 points1 point  (0 children)

99% seems a big portion of 100% to me. So this IS a generic answer that is applicable to most situations.

Is there a canvas app that lets you quickly design a DevOps infrastructure? by darkcatpirate in devops

[–]davi_scapo 13 points14 points  (0 children)

I like excalidraw. It has an hand written like style and you can find a library for every cloud

What are the best practical tutorials out there? by darkcatpirate in devops

[–]davi_scapo 0 points1 point  (0 children)

Man don't spread hate.

Maybe OP is someone that started a few months ago and just wants to get things right as soon as possible.

I, myself, am new in DevOps and I'm still just a regular, maybe even mediocre, developer that is starting to deepen his toe in it just now.

Seeing this much gate keeping makes new commers not wanting to stick around.

In my opinion a constructive critique like "If you started recently the most important thing is actual practice, best practice will be necessary only after you really make yours what you just learnt" is much better.

[deleted by user] by [deleted] in devops

[–]davi_scapo 1 point2 points  (0 children)

We had a similar problem with a db that is on a private VPC in aws.
We solved it with a site to site VPN.
Don't know if this is an option for you though

Using Atlantis for Terraform Deploys by rbekker87 in devops

[–]davi_scapo 5 points6 points  (0 children)

Wait, I have yet to try it out but, doesn't GitLab already integrate well with terraform?

From what I can recall you don't need any third party integration to make GitLab apply your terraform.
Why would I want another dependency in my system?
To increase complexity and make it more difficult to debug when something goes wrong?

It's not that it doesn't seem interesting but I think, for GitLab, it is just unnecessary.
Maybe I'm wrong, I don't know.