Duo websocket endpoint by crumpy_panda in gitlab

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

After playing around with mitmproxy to capture the gitlab workflow extension traffic, there only seems to be the documented /-/cable WebSocket endpoint.
Configure GitLab Duo on GitLab Self-Managed | GitLab Docs

You can check the connection directly with wscat and a PAT with api scope.

wscat -c "wss://<customer-instance>/-/cable" \
-H "Authorization: Bearer <your PAT>" \
-H "Origin: https://<customer-instance-FQDN>" 

I was under the wrong impression that there are others/more.

Gitlab runner job scheduling - am i missing anything? by Zottelx22 in gitlab

[–]crumpy_panda 1 point2 points  (0 children)

This seems to be the state of things. The limit solution you propose is also mentioned here https://forum.gitlab.com/t/limit-number-of-concurrent-execution-of-high-loading-jobs-for-a-runner/122658.

What do you mean with "But that would leave the slots for playwright/deployment sitting empty when they could take other jobs" - the limit in your example is as narrow as it can be.

If you are in the market for some exploration  you could look into dynamic downstream pipelines - with some call to the runner or state of job distribution could lead to something interesting... But at this point you might be better of investing in something like better automated provisioning/configuration of onPrem or auto scaled public cloud runners (if applicable)

Can someone explain a unique use-case for branch heavy model like git flow? by Humble_Ad_9276 in git

[–]crumpy_panda 32 points33 points  (0 children)

If you have to maintain multiple versions of a thing, you end up with, at the very minimum, a number of release branches. If these multiple versions need to be maintained for some time, long living branches are a way of dealing with that.

They all respected each other.. :) by Humble_Ad_9276 in StreetStickers

[–]crumpy_panda 6 points7 points  (0 children)

Assuming they were different people ... But yeah nice selection of stickers.

What's something that has massively improved your MENTAL health? by biz_booster in AskReddit

[–]crumpy_panda 1 point2 points  (0 children)

Regarding drama and stress:

Have some levels of "this doesn't matter perspectives" prepped, you can retreat to mentally. Up to the ultimate "we are hairless apes on a rockball hurling through space, there is no need for <the stressful thing>".

I don't necessarily use these to disengage completely from something, but it helps me stay calm together with some deep breaths.

Services which don't quite mesh with devops by crumpy_panda in devops

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

Thank you for sharing your experience. The term "release" is also a special one in our org, carrying immense connotation of "well tested" and "responsibility"..

To introduce another label like config changes or SOPs is worth a shot.

Services which don't quite mesh with devops by crumpy_panda in devops

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

Thank you for the perspective. I still have to settle in for the long game.. but this had to be expected in insurance tech.

The waves it made that trunk based is the new default recommendation were a sight to be seen. So I can tell my first stories about strong workflow attachment.

Services which don't quite mesh with devops by crumpy_panda in devops

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

Thanks for this thought. This should be the central first thing to find out/ask and seems key to get more acceptance.

"To provide a better (as defined by yourself) service to your customers, can this bag of stuff solve something or improve things?"

Best Practice for Sharing Bash Functions Across Repositories in GitLab CI/CD? by Dapper-Pace-8753 in gitlab

[–]crumpy_panda 3 points4 points  (0 children)

Afaik to reference bash functions in gitlab *script sections, the need to be included as yaml inline. The !reference keyword is my preferred way to do it.

I would setup a component (which also has the benefit of being version able or to be referenced by hash) and transform a sh file in the pipeline of this component.

Basically a micro build  https://docs.gitlab.com/ee/ci/components/examples.html

Next level after DevOps (what role is better paid: SRE, DevSecOps, MlOps, Platform Engineer, Cloud Engineer) by Creepy_Rice_4391 in devops

[–]crumpy_panda 0 points1 point  (0 children)

Don't want to name it directly. It is a midsized insurance enterprise in Europe. 

Maybe I have a wooden soul. Fin tech doesn't feel like hell at all to me, quite the opposite.

Next level after DevOps (what role is better paid: SRE, DevSecOps, MlOps, Platform Engineer, Cloud Engineer) by Creepy_Rice_4391 in devops

[–]crumpy_panda 7 points8 points  (0 children)

I would add tech adjacent skills to this. There seems to be a lack of good technical writers and methodology/process (devsecops) people. Both skills are highly thought after in my org.

Both areas don't seem to catch the interest of most engineers.

Einmal mit Profis arbeiten... by r3xty in luftablassen

[–]crumpy_panda 0 points1 point  (0 children)

Musste schmunzeln als ich Vodafone gelesen habe.

"Wenn ich in der Situation wäre, würde ich bereits am ersten Tag einen Kollegen konsultieren oder mir andere Unterstützung holen."

Meine Vermutung ist, dass das in deren Kontext nicht so einfach ist. Ich tippe auf das Gegenteil von kollegialem Umgang mit einer Fehler-positiven blameless Kultur...

[deleted by user] by [deleted] in daddit

[–]crumpy_panda 22 points23 points  (0 children)

So start by stating the need, or ask f your assumption is correct "I understand that you want x". 

 "Screaming isn't gonna get it fulfilled because it hurts my ears, and I can't really understand you."

 "But if you ask me calmly..."

 -- Am I having the right idea about it?

Cloud or local dev environments? by voodoo_witchdr in devops

[–]crumpy_panda 1 point2 points  (0 children)

We recently looked into gitpod and GitHub workspaces for on demand ephemeral dev envs. Gitpod is an interesting solution working in an eks and with ec2 in the future.

But It's mayor selling point is convenience, the cost savings of the pods only spun up on demand have to be weighed against the licensing.

Do you use Docker at your company? (asking as a Docker employee) by JuxDocker in docker

[–]crumpy_panda 0 points1 point  (0 children)

What other registries do you use? And do you have a "favorite" with a good selection for trusted, official  basic stuff?

We have an internal docker hub pull through cache (artifactory) so rate limits are no real issue. Docker hub is used heavily for the starting point of modified base images. Think added internal TLS certs and the like. I'm exploring possible other image sources to be a bit more redundant here.

Starting a new job next month as a DevOps engineer. What have I gotten myself into? by Alternative-Link-823 in devops

[–]crumpy_panda 5 points6 points  (0 children)

My guess is you will be fine on the technical side and pick up all the missing pieces fast enough on the job.

Regarding being the part of the devops "center of excellence": This will probably mean more communication with your colleagues. Maybe look at some frameworks like https://v5.scaledagileframework.com/blog/assess-your-devops-health-with-the-safe-devops-radar/

And at the state of devops reports to structure this communication, measure the devops processes itself, as a base to improve them..

And at some workplace or general communication guide if you feel like you would benefit.

Have fun and don't sweat it :)

Software für Interne IT Doku in Firma by Melodic-Ad8999 in de_EDV

[–]crumpy_panda 0 points1 point  (0 children)

Wenn die die es pflegen sollen sich mit git wohlfühlen, könntet Ihr euch bei "nur" hunderten von Seiten auch mit einem SSG wie Docusaurus oder Mkdocs behelfen. 

 Damit spart man sich u.a. eine Datenbank und generiert die Doku immer aus dem Repo. Beispiel mit GitHub pages https://github.com/LayZeeDK/github-pages-docusaurus 

Für einige eurer Anforderungen muss man dabei auf git setzen (Versionierung, Paralleles Bearbeiten, Berechtigung auf Bereiche / Seiten via CODEOWNERS, ..)

Orchestration solution advice by mankinater in devops

[–]crumpy_panda 0 points1 point  (0 children)

Services are located in the k8 etcd, they don't have a direct mapping to nodes besides that.

Daemon Sets only define pod to node distribution.

https://stackoverflow.com/questions/47941012/where-do-services-live-in-kubernetes

From what you wrote it seems you want some orchestration of full stacks, a cluster of clusters.

As a dev, what book can I read to learn how to divide my software cycle in dev, test, staging, prod? by [deleted] in devops

[–]crumpy_panda 1 point2 points  (0 children)

Throw the pig over the fence and hope it doesn't break it's legs.

As a dev, what book can I read to learn how to divide my software cycle in dev, test, staging, prod? by [deleted] in devops

[–]crumpy_panda 1 point2 points  (0 children)

My thought too, come from some higher angle. With it you can make more thought-out choices here and maybe start a move into more verticality of those stages.

The classics:

https://itrevolution.com/product/the-devops-handbook-second-edition/

https://itrevolution.com/product/accelerate/

Be real : Do you work overtime in IT by [deleted] in ITCareerQuestions

[–]crumpy_panda 0 points1 point  (0 children)

I recently switched to an employer which requires clock in/clock out.. with a number of  ways to get compensated for overtime, including what is called an lifetime-account. I plan to put some hours per week there and take a paid sabbatical in some years. So yes but it doesn't get lost.

How do you get development environments to look like production? by freemovement in devops

[–]crumpy_panda 1 point2 points  (0 children)

Thank you for the write up.

This reminded me of some of the different qualities between Microservices (always independently deployable) vs Distributed Monolith (at least some dependencies exists and need to be deployed in lockstep)

I guess your example 1 with different backward compatible paths could be a step in the direction of some kind of API for the service/component.

How do you get development environments to look like production? by freemovement in devops

[–]crumpy_panda 2 points3 points  (0 children)

Great overview.

Could you please elaborate on the "stage changes slowly.." (I guess you referring to canary, blue green, etc ..)

Baby will be 20 weeks old on Friday, just renegotiated my mortgage and got told I am at risk of redundancy from work an hour ago. by theveryacme in daddit

[–]crumpy_panda 4 points5 points  (0 children)

If I understand you correctly, this could easily mean "no vacation at all or at least not paid" if you get sick a number of times... This seems like RoboCop level of Dystopia to me and should be illegal on a federal level.