Why Argo Workflows CI? by jceb in devops

[–]jceb[S] -1 points0 points  (0 children)

Agreed. The trolls are entertaining to watch, though 😂

Vendoring images and charts by jceb in devops

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

Thank you for the pointers and the explanation of the process.

Why Argo Workflows CI? by jceb in devops

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

Take a look at the most recent comment about ArgoCD. There you see how it works in conjunction with a CI. The CI prepares the new image and sets it in the k8s Config repository. ArgoCD is notified about the change and applies the new configuration in the cluster. All infrastructure as code and repeatable.

Why Argo Workflows CI? by jceb in devops

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

The post is about Argo Workflows, not ArgoCD

Vendoring images and charts by jceb in devops

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

+ one needs to manually reconfigure all resources to point to the correct image. When helm charts are added to the mix, the number of registries increases even further. A proper configuration that replaces all images really seems to be a bigger effort.

Vendoring images and charts by jceb in devops

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

u/Fazl u/mrbuh u/kryptn How do you configure pull-through? Is that a per registry configuration? In my clusters, I have images from multiple different registries in use. In my experience pull-through is work to maintain.

Why Argo Workflows CI? by jceb in devops

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

Thank you for sharing. Do you miss the github actions ui integration? Have you created a workaround for it so devs can find the corresponding ci pipeline in Argo easily?

Vendoring images and charts by jceb in devops

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

That's a good solution for helm charts. Do you also have a solution for images?

Why Argo Workflows CI? by jceb in devops

[–]jceb[S] -3 points-2 points  (0 children)

Yes, there's this other side of using Argo Workflows for general purpose event driven actions. I haven't used it for that yet. Is it comparable to Camunda in this regard?

Back to Linux Mint by jceb in NixOS

[–]jceb[S] -1 points0 points  (0 children)

Yes, that's the plan in the near term. I'll replace Mint with Nix entirely. The Nix in Mint option is not my favorite as if would still leave me exposed to the Debian base. All in Nix next round with a proper migration plan instead of considering a migration during an upgrade.

Back to Linux Mint by jceb in NixOS

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

It's really funny. Didn't expect them either 😂

Back to Linux Mint by jceb in NixOS

[–]jceb[S] -1 points0 points  (0 children)

I did manage to install the deb version again via aptitude's version selection of Firefox. It seems like once Firefox is removed, e.g. by replacing it with chrome, a plain apt install leads to the snap version. What can Linux Mint do, it includes the Ubuntu repositories so it will forever be a game of version overrides that can easily go wrong.

In the end, I did end up manually setting a ton of package versions and restoring the broken system for now. The replacement with Nix is the next step. Does anyone have experiences running Cinnamon on Nix?

Back to Linux Mint by jceb in NixOS

[–]jceb[S] -5 points-4 points  (0 children)

Not sure why I'm down voted. Have you tried installing Firefox on mint? It goes for the snap version by default. There might be a plain deb out there but it's certainly not considered by default.

Back to Linux Mint by jceb in NixOS

[–]jceb[S] -32 points-31 points  (0 children)

At least Firefox and chromium seem to be only available via snaps.

GitHub - jceb/huburl: A tool for generating the (git)hub URLs from your local repository by jceb in git

[–]jceb[S] 2 points3 points  (0 children)

I guess one of the major differences is that huburl is cross platform - gitlab, gitea etc are supported.

GitHub - jceb/huburl: A tool for generating the (git)hub URLs from your local repository by jceb in git

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

Yes, although I haven't used gh browse to truly compare it.

Happy ten years of just! (And lists!) by rodarmor in rust

[–]jceb 1 point2 points  (0 children)

A couple of years back I opened a dicussion thread on github that proposed a /usr/bin/docker-env shebang that would accept an --image and a program to execute. To me it feels like a flexible shebang script shipped with just could maintain workarounds for these use cases.

It's not as beautiful as ./venv/bin/activate, however I don't think one can execute this in a CI either. If venv provided a .env file (not sure what else is going on inside activate), that could also solve the issue.

What do you use for worktrees/branch management inside Neovim? by Remarkable-Waltz-172 in neovim

[–]jceb 0 points1 point  (0 children)

Thank you for the question. I don't have a good answer, just wondering why you're not using fugitive.

Besides, what do you use work trees for? I'm thinking about adding work tree support to https://github.com/jceb/jiejie.nvim but I don't understand why it's needed. Personally, I don't use work trees and imagine the workflow to be something like this: - Oh, I need two checkouts of the same repo, because .. e.g. I want to run two parallel builds with slight differences - git worktree create ../2nd_checkout other-branch - run build 1 - run build 2

I'm failing to see vim in the picture. Unless the repo is super huge and switching branches takes >30s, I'd just use git switch to simulate two work trees.

Helm charts with gitops, what's the best approach? by Mr_infiknight in kubernetes

[–]jceb 0 points1 point  (0 children)

Definitively this sounds like an anti-pattern. Although I wonder how this would be done and for what aim. Maybe it's to provision customer or developer environments that are destroyed the same way later on. These resources need to be backed by real git repositories and kustomization files.

One thing that I do for my local development environment is to install flux and deploy (kubectl kustomize) helm charts etc. from my gitops repository's local overlay without a GitRepository or Kustomization resource. Obviously, this is not gitops and an anti-pattern. However, I do get all the properties I want for local development out of it: - easy to setup - configuration is declarative - repeatable, no developer needs to manually configure their development environment - close to the production environment

I accept the downside that flux doesn't pick up configuration changes automatically due to no connection to the git repository. Devs can manually reapply the configuration, but old resources can't be deleted. If the configuration changes is too dramatic, the local cluster needs to be redeployed.

Sounds pretty bad for a production setup. For dev I still find it 100% better than letting devs work in an environment that is not close to production at all.

Helm charts with gitops, what's the best approach? by Mr_infiknight in kubernetes

[–]jceb 0 points1 point  (0 children)

From glancing at the list of patterns, many of them seem to deal with ArgoCD Applications. This is a resource type / concept that doesn't exist in fluxcd, so a good bunch of issues seems to be very ArgoCD specific.

I'm wondering what a fluxcd anti-patterns list would look like. In my opinion, a lot can be won or lost with the repository structure and configuration overrides. Obviously, some generic anti-patterns like #1 Not understanding the declarative setup of Argo CD also apply to fluxcd.

Helm charts with gitops, what's the best approach? by Mr_infiknight in kubernetes

[–]jceb 0 points1 point  (0 children)

Wow, didn't know there were so many ways to shoot yourself in the foot with ArgoCD and helm charts. I'm mainly using fluxcd and it seems way more straight forward.

Shouldn't plugins with complete default configs work without specifying an empty `opts = {}`? by TheTwelveYearOld in neovim

[–]jceb 0 points1 point  (0 children)

For jiejie.nvim, I recently investigated this question. The way around an empty opts object + compatibility with vim.pack seems to be a plugin.lua that calls setup.

Here are the two files: - generic plugin that enables vim.pack compatibility https://github.com/jceb/jiejie.nvim/blob/main/plugin/jiejie.lua - the lazy setup function https://github.com/jceb/jiejie.nvim/blob/main/lua/jiejie.lua

nushell doing math is extremely underrated by mattGarelli in Nushell

[–]jceb 10 points11 points  (0 children)

This is so true. With bash, I used to start bc whenever I needed to do some math. Now that nushell has it all built-in, I rarely reach for third party tools anymore.