-
191 key speakers
-
we've adopted the CNCF Code of Conduct
-
Wear T-shirts
-
Lunch is at 1 pm (not 12 pm)
-
SIG Updates start at 2pm, 5mins per SIG.
This file contains 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
terraform { | |
backend "s3" { | |
access_key = "<access_key_id>" | |
secret_key = "<access_key_secret>" | |
endpoint = "<account_id>.r2.cloudflarestorage.com" | |
force_path_style = true | |
bucket = "<bucket name>" # e.g. tfstate | |
key = "<state name>" # e.g. tfe | |
region = "auto" | |
skip_region_validation = true |
This file contains 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
function FindProxyForURL(url, host) | |
{ | |
if (isPlainHostName(host) || | |
shExpMatch(host, "*.tokyo.local") || | |
isInNet(dnsResolve(host), "10.0.0.0", "255.255.255.0")) | |
return "SOCKS 10.1.0.202:8008"; | |
if (shExpMatch(host, "*.amazon.co.jp") || | |
shExpMatch(host, "*.amazonvideo.com")) | |
return "SOCKS 10.1.0.202:8008"; |
This file contains 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 -xe | |
i=0 | |
while [ -d /tmp/mytpm$i ]; do | |
let i=i+1 | |
done | |
tpm=/tmp/tpm$i | |
disk=coreos_production_qemu_image.img | |
mkdir $tpm |
This file contains 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
apiVersion: argoproj.io/v1alpha1 | |
kind: Workflow | |
metadata: | |
generateName: cicd-node-examples- | |
spec: | |
entrypoint: cicd | |
arguments: | |
parameters: | |
- name: revision | |
value: 6e179c188c453eeb0f5da17439dddf61f962e208 |
This file contains 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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"net" | |
"net/http" | |
"net/url" | |
"os" |
This file contains 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
package neco_goconvey_test | |
import ( | |
"testing" | |
. "github.com/cybozu-go/neco-goconvey" | |
. "github.com/smartystreets/goconvey/convey" | |
) | |
func TestEtcdPasswd(t *testing.T) { |
This file contains 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
package neco_test_test | |
import ( | |
. "github.com/cybozu-go/neco-test" | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
) | |
var _ = Describe("NecoTest", func() { |
This file contains 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/sh -eux | |
sudo apt update | |
sudo apt install -y pkg-config libglib2.0-dev libseccomp-dev libdevmapper-dev libostree-dev btrfs-progs libgpgme-dev dirmngr go-md2man | |
for repo in github.com/opencontainers/runc github.com/projectatomic/buildah; do | |
/usr/local/go/bin/go get -u $repo | |
(cd $GOPATH/src/$repo; make && sudo make install) | |
done |
This file contains 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/sh | |
# | |
# require: https://github.com/cdown/tzupdate | |
# path: /etc/NetworkManager/dispatcher.d/tzupdate | |
if [ "$2" = "up" ]; then | |
tzupdate | |
fi |
NewerOlder