-
Create local cluster
kind create cluster
-
Barebones flux2 install for demo
#!/bin/bash | |
settings() { | |
set -eu | |
if [ "${DEBUG:-}" = 1 ]; then | |
export PS4='+ ($LINENO) ' | |
set -x | |
fi | |
} |
#!/bin/bash | |
# See https://github.com/helm/charts/issues/23971 | |
settings() { | |
set -eu | |
if [ "${DEBUG:-}" = 1 ]; then | |
export PS4='+ ($LINENO) ' | |
set -x | |
fi |
git tags and Docker tag formats don't fully overlap:
- https://git-scm.com/docs/git-check-ref-format
- https://docs.docker.com/engine/reference/commandline/tag/
Fun test:
# Init temp git repo
Keybase is a cryptographically secure, popular tool to verify identities, and provide secure groups, files and chats.
We are using keybase filesystem (KBFS) for securely sharing encrypted files (containing keys, passwords, etc). This announcement explains the high-level, this documentation page goes into further detail, and the KBFS Crypto Spec explains how their cryptography works (see the link to Saltpack, which is used for the encryption format).
Team file sharing directories are mounted to /Volumes/Keybase/team/TEAM.NAME
. For example, the helm_project file sharing would be mounted to /Volumes/Keybase/team/helm_project
(see Known issues and workarounds below).
function aws_vault_exec() { | |
if ! which aws-vault >/dev/null; then | |
echo You must have 'aws-vault' installed. See https://github.com/99designs/aws-vault/ | |
return 1 | |
fi | |
local list=$(grep '^[[]profile' <~/.aws/config | awk '{print $2}' | sed 's/]$//') | |
if [[ -z $list ]]; then | |
echo You must have AWS roles and profiles set up to use this. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-cli.html | |
return 1 | |
fi |
#!/bin/sh | |
help() { | |
cat << EOF | |
spin(1) | |
NAME | |
spin - begin or end a spinner background process | |
SYNOPSIS |
#! /bin/bash | |
PROJECT=$1 | |
ORG=${2:-helm} | |
BRANCH=${3:-helm-coc} | |
SOURCE=${4:-~/development/Go/src/github.com/helm/chart-testing/code-of-conduct.md} | |
FORK=$(whoami) | |
FILE=code-of-conduct.md | |
GIT_MESSAGE_HEAD="Helm code of conduct" | |
GIT_MESSAGE_BODY="See https://github.com/helm/chart-testing/issues/48" |
# Always signs commits for DCO (popularized by The Linux Foundation, required by | |
# most CNCF projects including Helm). | |
# See `git help commit`: | |
# > -s, --signoff | |
# > Add Signed-off-by line by the committer at the end of the commit log | |
# message. The meaning of a signoff depends on the project, but it typically | |
# certifies that committer has the rights to submit this work under the same | |
# license and agrees to a Developer Certificate of Origin (see | |
# http://developercertificate.org/ for more information). | |
git() { |
I hereby claim:
- I am scottrigby on github.
- I am r6by (https://keybase.io/r6by) on keybase.
- I have a public key ASAX5QbeNWjrxE7mzyr1wbwlNJGNep29TnDJOJXvZwJvtQo
To claim this, I am signing this object: