Skip to content

Instantly share code, notes, and snippets.

View alexandrebrg's full-sized avatar

Alexandre Burgoni alexandrebrg

View GitHub Profile
@alexandrebrg
alexandrebrg / LICENSE.txt
Last active January 29, 2024 11:11 — forked from Viq111/LICENSE.txt
FoundationDB: Generate roles matching grid
MIT License
Copyright (c) 2023 Datadog, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@alexandrebrg
alexandrebrg / README.md
Last active December 31, 2023 15:34
Kestra distributed - docker-compose

Kestra in distributed mode

Learn about kestra

This docker compose creates few services to run kestra where workers are running in a different service than Scheduler/Executor...

Services:

  • minio: stores all tasks data/files
  • postgres: database for kestra
@alexandrebrg
alexandrebrg / README.md
Last active August 7, 2023 23:42
Github Actions - Get list of files in diff between a pull request branch and target branch

Determine files changed in Pull Request

Determine directories changed in Pull Request

Determine which Helm Charts have been changed in Pull Request

@alexandrebrg
alexandrebrg / README.md
Created July 3, 2023 11:49
Docker compose - RedPanda with SASL and a preconfigured user

This docker file allows you to start a redpanda broker with SASL configured and with a pre-configured user.

User credentials:

username: admin
password: admin-secret
@alexandrebrg
alexandrebrg / Cargo.toml
Created June 1, 2023 10:37
Fetching a private rust crate from another repository in Github ACtions
[package]
name = "some-project"
version = "0.1.0"
edition = "2021"
[dependencies]
my-foreign-dep = { git = "ssh://[email protected]/MyUser/my-crates-repo", branch = "main" }
@alexandrebrg
alexandrebrg / README.md
Last active January 18, 2023 12:13
How to dispatch a workflow in another repository with Github CLI

This gist is here because for now, we cannot use the Github CLI commands with a PAT v2 (fine-grained token), and using PAT v1 would have led to security issues. That's why I ended up using the API directly, and I guess some other people would need this little gist, so I share it.