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
#!/bin/bash | |
set -exu | |
PLATFORM=$(uname) | |
# If the minikube cluster doesn't exist, the return code is 7 | |
# we'll test this later to see if we need to do a bunch of initial setup on | |
# services (eg, create RBAC for k8s, create DB users, etc) | |
MINIKUBE_STATUS_GREP_NON_EXISTENT=0 |
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
#!/bin/bash | |
set -exu -o pipefail | |
# This script creates a highly-available VPN between a VPC in Google Cloud Platform | |
# and a VPC in AWS. This does all of the work (and a bit more) detailed in | |
# https://cloud.google.com/architecture/build-ha-vpn-connections-google-cloud-aws | |
export AWS_PAGER="" |
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 logging | |
from typing import Any, Dict | |
import ddtrace | |
from ddtrace import tracer | |
def datadog_context( | |
logger: logging.Logger, log_method: Any, event_dict: Dict[Any, Any] | |
) -> Dict[Any, Any]: |
OlderNewer