#random (2021-05)
Non-work banter and water cooler conversation
A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.
Archive: https://archive.sweetops.com/random/
2021-05-02
Just learned about: asdf
a CLI tool that can manage multiple language runtime versions on a per-project basis. It is like gvm
, nvm
, rbenv
& pyenv
(and more) all in one! Simply install your language’s plugin! ref: https://github.com/asdf-vm/asdf
Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more - asdf-vm/asdf
asdf
is awesome. In addition to having different versions of python/node/ruby/etc, there are also plugins for installing a large number of tools.
Central plugin repository for asdf. Contribute to asdf-vm/asdf-plugins development by creating an account on GitHub.
2021-05-03
2021-05-05
I use asdf and direnv together and it’s wonderful. It changes the version of tools I’m using based on the directory I’m in. Takes a few mins to get set up, but I’d never go back
can you paste an example for me and others to see?
Totally! Best tutorial I can give is the source. https://github.com/asdf-community/asdf-direnv
direnv plugin for the asdf version manager. Contribute to asdf-community/asdf-direnv development by creating an account on GitHub.
I would love to see how I can use this in the Terraform+AWS ecosystem, so I can integrate this with my Terraform Taskfile
Go through this process, then for your project directories, you need to set up a .envrc (which I can post an example of my python projects here if you like) and a .tool-versions file (both of which I globally git ignore to save me committing them to VCS)
that’s exactly what I do
I use asdf to manage terraform
I’m already big fan for direnv and using it already
nice
and direnv to manage the version based on the project I’m in, works like a charm
awesome
happy hunting!
for group/team projects, couldn’t you include the config in RCS so that others use the same tool versions? I know TF has the required_version = "~> 0.14"
setting in the code, but seems like you could have another point of enforcement with the direnv and/or tool-versions config in place.
I should say i am hyper sensitive on this point after being pulled into projects where the team is still on 0.12 and my env is set up to use 0.14 and 0.15
I think if .tool-versions was a widely used thing I’d be super down with that. So far I’ve only seen asdf use it (I think?) so I prefer keeping it out of shared projects because it’s a config file specific to a tool I use
Unless of course you get buy-in from your whole team to want to use asdf then yeah, it would be good
I also have to deal with a few versions of Terraform and it used to be quite painful
agree. i also go back and forth about including/excluding VS Code configs in RCS. if its the standard tool, then the whole team can benefit. it not its another annoying/confusing file in the repo
for TF versions i am using tfswitch
A command line tool to switch between different versions of terraform (install with homebrew and more)
there are lot of tools for managing tf
versions and even Terragrunt
like tfenv
and tgenv
, but this adsf
allow you to includes other Terraform helpers like terraform-docs
, tflint
, tfsec
…. among other tools, so in your makefile
or taskfile
you only include one tool for managing terraform
dependencies (helpers)
@Yoni Leitersdorf (Indeni Cloudrail)
2021-05-06
If you are reading this article, it probably means that you are already pushing repositories to GitHub and maybe even contributing to open source. And if you’re using GitHub, it means that you will need to write good documentation for your projects to help others understand them. If you are
2021-05-07
Atlassian has released Open DevOps, their new platform offering integrating Atlassian products and partner offerings. Open DevOps integrates Jira Software, Confluence, Bitbucket, and Opsgenie into a single project. It is possible to integrate with other tools, such as GitHub and Datadog, with minimal integration.
Rocky Linux 8.3 Release Candidate 1 Availability The Rocky Enterprise Software Foundation (RESF) is pleased to announce the general availability of the Rocky Linux 8.3 Release Candidate 1 for x86_64 and aarch64 architectures. To download the release, visit https://rockylinux.org/download. FAQ What is a release candidate? A release candidate is a beta version of a product that has the potential to be stable. The intent of a release candidate is for the community to test and validate expect…
I wonder what so special about this distributive is:)
Rocky Linux 8.3 Release Candidate 1 Availability The Rocky Enterprise Software Foundation (RESF) is pleased to announce the general availability of the Rocky Linux 8.3 Release Candidate 1 for x86_64 and aarch64 architectures. To download the release, visit https://rockylinux.org/download. FAQ What is a release candidate? A release candidate is a beta version of a product that has the potential to be stable. The intent of a release candidate is for the community to test and validate expect…
2021-05-08
The stream processor for mundane tasks
I saw this on Reddit! Looks kinda awesome. Theoretically Logstash can achieve all the same stuff as this project right? Or am I missing something?
The stream processor for mundane tasks
It takes inputs, processes them based on Bloblang and the sends them places?
Logstash can achieve all the same stuff as this project
I haven’t used Logstash in awhile but I’d be shocked if it can do all of the inputs/outputs that benthos is claiming
processes them based on Bloblang
Bloblang is 1 of many different processors it can execute.
https://www.benthos.dev/docs/components/processors/about
Cool just trying to scope out what it can do vs. what we deploy right now. Logstash acts as fantastic glue for a lot of things, as well as being good for logs
Are you related to the project? I’d love to see a more complex example project of it in use
Nope I just saw it mentioned on reddit too
It looks really useful though, we have several in-house apps that I think I could replace with benthos deployments
Yeah nice, kinda the same. I used logstash and grok to achieve what benthos does with bloblang
It replaced some python apps we maintained
Logstash is great but always good to be aware of other solutions I guess
It’s more about logs and metrics (rather than “data”) but I think also Vector (https://vector.dev/) it’s worth to be take into consideration. It looks very promising.
A lightweight and ultra-fast tool for building observability pipelines
2021-05-09
2021-05-10
2021-05-12
Hi, I just received an invitation to this group and am glad to be a part of it. I am a co-founder of a startup in the IT industry, I will be glad to share my experience and help you here! Have a great week, everyone!
2021-05-18
2021-05-19
I wonder if a tool (a Github/Gitlab bot) exists that tracks changes of a set of files, a certain file or a file’s content in one repo and propose changes to corresponding files in other repos via PRs/MRs?
maybe copier? https://github.com/copier-org/copier
Library and command-line utility for rendering projects templates. - copier-org/copier
perhaps in conjunction with git-xargs? https://github.com/gruntwork-io/git-xargs
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command. - gruntwork-io/git-xargs
Will take a look, thanks:)
2021-05-20
2021-05-21
Hi everyone,
This was probably asked many times here, but I don’t know where, I am wondering, did anyone successfully/happily migrated their CI/CD from Jenkins (running on Kubernetes) to another tool (paid or OS)? Which tools can you recommend?
How do we deploy a full environment composed of ~100 containers in around 3 minutes?
@Issif very nice, thanks for the article
2021-05-23
2021-05-27
Has anybody seen a talk about Dagger given by Solomon Hykes at DockerCon? Any thoughts on this stuff? https://dagger.io/
2021-05-28
Hello! We made a programming mix at our company and thought folks would enjoy it. https://youtu.be/WWWJj88uwpo