curl -fsSL https://get.jetpack.io/devbox | bash -s -- --force
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System Check / Fixes | |
chmod 400 /home/vscode/.ssh/id_rsa | |
# Environment Settings (.envrc ) | |
export KUBERNETES_VERSION="v1.30.8" | |
export CLUSTER_NAME="capi-test" | |
export USE_EXISTING_CLUSTER="true" | |
# Start devbox | |
devbox shell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local settings | |
LOCAL_OS=$(uname -s | tr '[:upper:]' '[:lower:]') | |
LOCAL_ARCH=$(uname -m) | |
# Map architecture from uname to Cluster API release architecture names | |
if [ "$LOCAL_ARCH" == "x86_64" ]; then | |
LOCAL_ARCH="amd64" | |
elif [ "$LOCAL_ARCH" == "aarch64" ]; then | |
LOCAL_ARCH="arm64" | |
fi |
Here's a review of the current quickstart and some suggestions for improvement.
Using my devspaces for environment:
https://github.com/faermanj/cluster-api-provider-aws/tree/add-dedicated-hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -ex | |
# This script is used by the bastion host to stop itself | |
# | |
TOKEN=$(curl -s \ | |
-X PUT "http://169.254.169.254/latest/api/token" \ | |
-H "X-aws-ec2-metadata-token-ttl-seconds: 21600") | |
ID=$(curl -H "X-aws-ec2-metadata-token: $TOKEN" \ |
- macOS:
Big Sur v11.5.2
- VS Code: Version:
v1.60.0
- Remote - Containers:
v0.194.0
- lima:
v0.6.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker build --no-cache --progress=plain -f .gitpod.Dockerfile . | |
FROM gitpod/workspace-full | |
# System | |
RUN bash -c "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA" | |
RUN bash -c "echo 'deb http://ppa.launchpad.net/tektoncd/cli/ubuntu jammy main'|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list" | |
RUN bash -c "sudo apt-get update" | |
RUN bash -c "sudo install-packages direnv gettext mysql-client gnupg" | |
RUN bash -c "sudo pip install --upgrade pip" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Underjord Demo | |
# https://www.youtube.com/watch?v=suH_goWVBeA&t=71s | |
use_bpm 130 | |
live_loop :met do | |
sleep 1 | |
end | |
live_loop :hcc2, sync: :met do | |
sleep 0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** |
NewerOlder