-
Github Bounties?
I have a couple github issues that have been hanging out for more than several months. I'd like to incentivize them with a bounty to get a solution sooner than later. Has anyone tried Boss Bounty or something similar?
Boss Bounty looks like the most robust solution, but I'm not a fan of their 8% cut. That said, I don't know how you do something like this without a middle-man. If anyone has any first hand experience with something like this, I'd love to hear about it.
-
bmakelib v0.8.0 released!
github.com Release v0.8.0 · bahmanm/bmakelibThe highlight of the release is Dictionary (aka Map) in makefiles which can be used, among other things, to structure your data/variables. An example is worth a thousand words: $(call bmakelib.dict...
cross-posted from: https://lemmy.ml/post/22575070
> bmakelib (which is a minimalist standard library for GNU Make) v0.8.0 was released last week. > > The highlight of the release is the ability to use maps/dictionaries in your makefiles! > > Here's the example from the release page: > >
makefile > $(call bmakelib.dict.define,THIS_BUILD) > $(call bmakelib.dict.put,THIS_BUILD,arch,x86_64) > $(call bmakelib.dict.put,THIS_BUILD,dir,/tmp/my-app/build) > > some-target : > @echo BUILD.arch = $(call bmakelib.dict.get,BUILD,arch) # x86_64 > @echo BUILD.arch = $(call bmakelib.dict.get,BUILD,dir) # /tmp/my-app/build >
-
My response to a now deleted post
Someone posted a blog here a little while ago. I wrote up a big response only to find that OP deleted the post. I figured I might as well post my response here since it took me 45m to type out of my phone 🫠
---
What an interesting list. Some of these suggestions are good with others are not. I think we can reorder things a bit and make this more reasonable.
JenkinsJenkins is terrible! It should have been killed off a decade ago. Seriously, just don’t use Jenkins. There are much better offerings now.
Source control and CI/CD
The current trend is to rely on your source control provider for ci/cd. You may or may not have a choice in this space so let’s name some big ones. GitHub, Gitlab, Azure DevOps, Bitbucket, Gitea/Forgejo. They all act as a git server and all offer automation. Learn whichever your company uses. If you get to choose… GitHub is great! Gitlab is also good but the automations will be focused on bash and tend to get messy IMO. ADO is truly a Microsoft product with many nonsensical choices. I find it frustrating to use. I haven’t done ci/cd with bitbucket. If you want a foss option, check out forgejo (a fork of gitea). I have not used either yet though it looks nice and I really want to.
Containers
Docker is a fine choice. I really like some alternatives tools like buildah, podman, etc. but nearly every piece of documentation out there is based on docker. The choice is yours here but docker will probably give you the simplest experience.
Kubernetes is an amazing runtime environment! IMO should be used as a standard interface for running resources in a public cloud. However, this is a huge jump and you’ll want to learn at least a dozen good tools here. This one is a many years long practice but absolutely worthwhile. A quick and very incomplete list of tools: k9s, k3d, helm, kustomize (better than helm in most cases), flux, Argo (better than flux), istio. Seriously these are just the basics.
Infrastructure Management
While ansible is good, I would be looking to retire it at this point. A big possible exception is if you are running your own hardware and don’t have a great interface for alternative tools. If somebody just gives you a VM to use, then ya use ansible.
Terraform is great but don’t use it. OpenTofu is a foss fork and people should honestly just use this instead. But both tools have some limitations and oddities. People seem to love using terragrunt as well to make this easier to use.
If you’re using k8s, there’s also the open tofu controller. I’ve haven’t personally used it, but people I 100% trust in this space absolutely love it.
Observability
Firstly I like the numeronym instead: o11y.
Don’t use nagios. It’s old and there are better alternatives.
Elasticsearch is ok but I don’t really like it. Everything is stored as a document and just… eh, there are better options.
Prometheus is quite good.
Here’s the biggest mistake that people make today. Use OpenTelemetry as the core of your o11y solution. It’s the 2nd biggest CNCF project (right behind k8s) and it’s a fantastic tool. It lets you collect telemetry data and build data pipelines to whatever storage devices you want. That includes Prometheus and elasticsearch but you also can choose many more options as well with only tiny configuration changes.
ChatGPT
This entire post looks 100% like a copy/paste from ChatGPT. AI is a cool tool but OP, you should learn to use it a little better. Tell it to not use so much fluff text or such a rigid structure. Make edits afterwards. And most important of all, make sure it’s actually providing good info.
-
Don't ship your dev environment. Use Docker Multi-Stage Builds
YouTube Video
Click to view this content.
- berthub.eu Cyber Security: A Pre-War Reality Check - Bert Hubert's writings
This article is part of a series on (European) innovation and capabilities. This is a lightly edited transcript of my presentation today at the ACCSS/NCSC/Surf seminar ‘Cyber Security and Society’. I want to thank the organizers for inviting me to their conference & giving me a great opportunity to ...
- robindev.substack.com Cloudflare took down our website after trying to force us to pay 120k$ within 24h
TL;DR: We've been on the Cloudflare Business plan ($250/month) for years. They suddenly contacted us and asked us to either pay them $120k up front for one year of Enterprise within 24 hours or they would take down all of our domains. While this escalated up our business we had 3 sales calls with th...
Always call out Cloudflare for their bullshit. For those working for companies in devops, share this with your teams...
-
OpenTofu ecosystem?
I'm looking forward to switch from Terraform to OpenTofu, but i have the impression that the ecosystem around it didn't catch up yet.
Did any of you already did the switch? If so, what do you use as a replacement for Terraform Cloud, the VSCode extension and/or terraform-ls?
For Terraform Cloud, the are many options: scalr, spacelift, etc. Spacelift looks nice as it can also run Ansible, but Scalr seems to have a better and simpler UI.
But on the editor side, there doesn't seem to be much... the VSCode extension has been forked but it still seem to be in its early days (cf. this issue: it still uses terraform-ls under the hood, which itself looks for the terraform binary).
-
Self Hosted SCM & CI/CD Chicken and Egg
Struggling with a problem that i just can't seem to figure out.
When starting from scratch self hosting both the SCM and CI/CD server.
Given that you can't use an existing setup to deploy/manage it, what is the best practice for deploying said services?
- github.com GitHub - airtasker/proxay: Proxay is a record/replay proxy server that helps you write faster and more reliable tests.
Proxay is a record/replay proxy server that helps you write faster and more reliable tests. - airtasker/proxay
-
Opinion on Pulumi vs cdk8s for provisioning Kubernetes?
I can't seem to find any trace of comparison between these specific libraries. I'm planning on using Python for them. I just don't wanna write YAML.
Pulumi seems more prone to the "single vendor is the new proprietary" theory, because they're an actual business and shit, so might do a bait and switch here Terraform-style. But that's the only difference I can spot besides obvious API differences.
Does anyone have an opinion?:)
-
Linux Foundation Launches Open Source Valkey Community (Alternative to Redis)
www.linuxfoundation.org Linux Foundation Launches Open Source Valkey CommunityCommunity maintainers, contributors, and users will continue collaborative development of an open source, in-memory data store under the new Valkey name.
-
Grafana dashboard as alternative to Google Analytics?
Out of principle I refuse to put any type of analytics on my sites. I don't want to send user data to third parties and I don't want to rely on data that comes from JavaScript on the browser unless strictly necessary.
But the thought recently occurred to me that I could use my server logs to create some basic data visualisation on Grafana.
I'd like very basic stuff:
- hits
- common referrers
- geo location by IP address
- bounce rates per page
What would be the recommended way to get this, assuming that I have traefik logs aggregates via Loki and Grafana installed?
-
SSH through ProxyJump w/ conditional RunCommand
Trying to do a couple things. I have 2 jump hosts I can use to get into my cluster login node. From my laptop to the jump hosts is password. From jump hosts to login node can be key-based, so if I do it all from CLI:
[me@home ~]$ ssh user@jump1 Password: [user@jump1 ~]$ ssh user@login1 [user@login1 ~]$
Same process if I use jump2.So first thing I'm trying to do is set up my ~/.ssh/config to use the ProxyJump host and key file to get to login1. I have the following:
Host jump1 Hostname jump1.domain Host jump2 Hostname jump2.domain Host login1 Hostname login1.cluster ProxyJump jump1 #ProxyJump jump2
I'm not sure how to configure the IdentityFile entries for each jump host. The user on the jump hosts has different id_rsa keys in ~/.ssh, but both are in the authorized_keys file on login1.Second thing I'm trying to do is join or start a tmux session. From CLI, I can run:
tmux has-session -t mysession || tmux new -s mysession && tmux a -t mysession
I've learned that to just join a running session (tmux a -t mysession), I need to include "RequestTTY yes" in my ssh config entry for login1. What I can't get working is the conditional statement that will fire up a new tmux session if it doesn't already exist. - cep.dev (Almost) Every infrastructure decision I endorse or regret after 4 years running infrastructure at a startup
Assortment of technology startup infrastructure recommendations
-
How to scale MySQL horizontally?
What is the industry/production grade solutions or if you have already any experience please share it. Thanks
-
Is there any tool for incremental backup for MySQL to s3 for production usage.
I have came across Percona xtrabackup but I am curious what is the best production deployment best practices and tools that are actually used by companies.