Skip to content

Instantly share code, notes, and snippets.

View fgimenez's full-sized avatar
🦀

Federico Gimenez fgimenez

🦀
View GitHub Profile
$ ./cluster/kube-down.sh
Bringing down cluster using provider: vagrant
==> minion-1: VM not created. Moving on...
==> master: VM not created. Moving on...
Done
fgimenez@arkham:~/workspace/gocode/src/k8s.io/kubernetes$ ./cluster/kube-up.sh
... Starting cluster using provider: vagrant
... calling verify-prereqs
... calling kube-up
Bringing machine 'master' up with 'virtualbox' provider...
@fgimenez
fgimenez / postmortem.md
Created September 28, 2016 05:31 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
@fgimenez
fgimenez / snappy-dragonboard-tests.md
Last active November 2, 2016 10:34 — forked from come-maiz/snappy-dragonboard-tests.md
Snappy images testing

Create the model:

$ cat dragonboard-model.json
{
    "type": "model",
    "authority-id": "$account_id",
    "brand-id": "$account_id",
    "series": "16",
    "model": "dragonboard",

"architecture": "arm64",

@fgimenez
fgimenez / cnxsoft.md
Created March 21, 2017 09:17 — forked from stefanozanella/cnxsoft.md
Emulate a Raspberry Pi with Qemu+ KVM

Booting with CNXSoft image

Reference: http://www.cnx-software.com/2012/07/31/84-mb-minimal-raspbian-armhf-image-for-raspberry-pi/

curl -O https://dl.dropbox.com/u/45842273/2012-07-15-wheezy-raspian-minimal.img.7z

yum install p7zip
7za e 2012-07-15-wheezy-raspian-minimal.img.7z

qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1" -hda 2012-07-15-wheezy-raspian-minimal.img -net nic -net user -vnc :0 -net tap,ifname=vnet0,script=no,downscript=no
diff --git a/.travis.yml b/.travis.yml
index 021632c..b2098f6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ sudo: false # Explicitly use container-based infrastructure
language: go
go:
- - 1.6
+ - 1.8
@fgimenez
fgimenez / staging-image.sh
Created July 10, 2017 07:42
snappy image for staging store
set -ex
tmp=$(mktemp -d)
cd "$tmp"
export GOPATH=$(pwd)
export PATH=$GOPATH/bin:$PATH
# get snapd source
git clone -b release/2.26 https://github.com/snapcore/snapd src/github.com/snapcore/snapd
### Keybase proof
I hereby claim:
* I am fgimenez on github.
* I am fgimenez (https://keybase.io/fgimenez) on keybase.
* I have a public key whose fingerprint is A4F1 DA21 EE5F C903 EAE1 8C5E 20CD 1789 6289 850E
To claim this, I am signing this object:
diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh
index 32b7031..2794ec8 100755
--- a/scripts/ci-build.sh
+++ b/scripts/ci-build.sh
@@ -52,7 +52,7 @@ install_dependencies(){
unzip terraform_0.10.5_linux_amd64.zip
sudo mv terraform /usr/local/bin
fi
-
+
lint
geth/jail/console/console.go:21::warning: Errors unhandled.,LOW,HIGH (gas)
testing/testing.go:89:9:warning: should use buf.String() instead of string(buf.Bytes()) (S1030) (megacheck)
Makefile:142: recipe for target 'lint' failed
make: *** [lint] Error 1
<?xml version="1.0" encoding="UTF-8"?>
<testsuite tests="143" failures="0" time="3880.60370046">
<testcase name="[sig-scheduling] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]" classname="Kubernetes e2e suite" time="87.396436317"></testcase>
<testcase name="[sig-api-machinery] Garbage collector should orphan RS created by deployment when deleteOptions.PropagationPolicy is Orphan [Conformance]" classname="Kubernetes e2e suite" time="36.7182483"></testcase>
<testcase name="[sig-storage] Subpath [Volume type: gcePDPVC] should support existing directories when readOnly specified in the volumeSource" classname="Kubernetes e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[sig-network] NetworkPolicy NetworkPolicy between server and client should support allow-all policy [Feature:NetworkPolicy]" classname="Kubernetes e2e suite" time="0">
<skipped></skipped>
</testcase>