✅ Enable two-factor authentication for all members of the project’s GitHub org.
✅ Install the GitHub DCO app on all repos.
import pulumi | |
import pulumi_gcp as gcp | |
from pulumi_kubernetes import Provider, apps, core | |
# Define the GCP cluster. | |
cluster = gcp.container.Cluster("time-plus-demo", | |
initial_node_count=3, | |
node_config=gcp.container.ClusterNodeConfigArgs( | |
machine_type="n1-standard-1", | |
# Assuming default disk size and image type. |
Sending record 0 | |
Got record: key=Some("Key 0"), value=Value 0 | |
Got record: key=Some("Key 1"), value=Value 1 | |
Got record: key=Some("Key 2"), value=Value 2 | |
Got record: key=Some("Key 3"), value=Value 3 | |
Got record: key=Some("Key 4"), value=Value 4 | |
Got record: key=Some("Key 5"), value=Value 5 | |
Got record: key=Some("Key 6"), value=Value 6 | |
Got record: key=Some("Key 7"), value=Value 7 | |
Got record: key=Some("Key 8"), value=Value 8 |
✅ Enable two-factor authentication for all members of the project’s GitHub org.
✅ Install the GitHub DCO app on all repos.
// Copyright (c) 2021. Marvin Friedrich Lars Hansen. All Rights Reserved. Contact: marvin.hansen@gmail.com | |
package web_socket | |
import ( | |
"testing" | |
"time" | |
) | |
func TestNewWebSocketClient(t *testing.T) { |
# Preare disk | |
# Here sdb is the device ID I get from lsblk | |
# Uncomment if you want to use a shared disk. | |
# Details on: # https://cloud.google.com/compute/docs/disks/add-persistent-disk | |
# You can add a persistent disk already when creating a computing instnance | |
#echo "Format Disk" | |
#sudo mkfs.ext4 -m 0 -F -E lazy_itable_init=0,lazy_journal_init=0,discard /dev/sdb | |
#sudo mkdir -p /mnt/disks/data | |
#echo "Mount Disk" |