- Install cfkit for Apple Hypervisor for VMs (not using Qemu)
brew tap cfergeau/crc
brew install vfkit- Install Podman + Podman Desktop
| #!/usr/bin/env bash | |
| # ============================================================== | |
| # tmux-sync-ssh.sh | |
| # | |
| # 1. Finds the real tmux binary (ignores aliases, functions, etc.). | |
| # 2. Verifies tmux is ≥ 2.4. | |
| # 3. Creates a tmux session with one pane per host, splits panes, | |
| # turns on synchronized input, and attaches to the session. | |
| # | |
| # 4. Accepts SSH options: |
| - id: branch-name-validation | |
| name: Validate branch name | |
| entry: ./pre-push-branch-check.sh | |
| language: script | |
| stages: [pre-push] | |
| pass_filenames: false | |
| always_run: true |
brew tap cfergeau/crc
brew install vfkit| # https://taskfile.dev | |
| version: '3' | |
| vars: | |
| KUBECONFIG: "/path/to/incuded/kubeconfig.yaml" | |
| tasks: | |
| get-kubeconfig: | |
| desc: "Show Kubeconfig location" |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: mayastor |
| [Unit] | |
| Description=Update opsctl using daily timer | |
| Wants=update-opsctl.timer | |
| [Service] | |
| Type=oneshot | |
| ExecStart=<PATH_TO_UPDATE_OPSCTL_SCRIPT> | |
| [Install] | |
| WantedBy=multi-user.target |
| #!/usr/bin/env python | |
| import ruamel.yaml | |
| import sys | |
| yaml = ruamel.yaml.YAML() | |
| with open(sys.argv[1], 'r') as f: | |
| values = yaml.load(f) |
| #!/usr/bin/env bash | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| LAST_SYNC_COMMIT=$(git log -n1 --grep '^\[upstream-sync\]' --pretty='format:%h' helm/) | |
| TMPDIR=$(mktemp -d) | |
| UPSTREAM_ZIP_URL=${UPSTREAM_ZIP_URL:-"https://github.com/Kong/charts/archive/master.zip"} |
| 2018/02/20 13:41:29 [INFO] Terraform version: 0.11.3 3802b14260603f90c7a1faf55994dcc8933e2069 | |
| 2018/02/20 13:41:29 [INFO] Go runtime version: go1.9.1 | |
| 2018/02/20 13:41:29 [INFO] CLI args: []string{"/home/yasser/WORK/drie/GIT/azure-demo/terraform", "validate", "."} | |
| 2018/02/20 13:41:29 [DEBUG] Attempting to open CLI config file: /home/yasser/.terraformrc | |
| 2018/02/20 13:41:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/02/20 13:41:29 [INFO] CLI command args: []string{"validate", "."} | |
| 2018/02/20 13:41:29 [DEBUG] checking for provider in "." | |
| 2018/02/20 13:41:29 [DEBUG] checking for provider in "/home/yasser/WORK/drie/GIT/azure-demo" | |
| 2018/02/20 13:41:29 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
| 2018/02/20 13:41:29 [DEBUG] found provider "terraform-provider-azurerm_v1.1.2_x4" |
I hereby claim:
To claim this, I am signing this object: