Skip to content

Instantly share code, notes, and snippets.

Avatar
🐼
Breaking the world!

Nabarun Pal palnabarun

🐼
Breaking the world!
View GitHub Profile
View kubeconeu.md

footer: KubeCon + CloudNativeCon Europe 2022 build-lists: true slidenumbers: true

Prow! Leveraging Developer Centric CI for your OSS project!

Arsh Sharma & Nabarun Pal


View check.go
package main
import (
"fmt"
"sigs.k8s.io/release-sdk/github"
)
func main() {
gh := github.New()
@palnabarun
palnabarun / go1.17.md
Created Mar 31, 2022
Timing of k/release:make release-tools
View go1.17.md
~/s/k/release on 🌱 master (a40bc07) [🏎💨] on ⛵ kind-kind () 
❯ time make release-tools          
./compile-release-tools 
Setting up environment...
Checking dependencies...
Compiling github.com/psampaz/go-mod-outdated...
ggithub.com/psampaz/go-mod-outdated compiled & installed
+-----------------------------------------+------------------------------------+------------------------------------+--------+------------------+
| MODULE | VERSION | NEW VERSION | DIRECT | VALID TIMESTAMPS |
View version-markers.md

Kubernetes Build version markers

1.22 Job generation

Before

Click to expand!

~/s/k/test-infra on 🌱 HEAD (d550a00)

View gist:fb8a38f931ba0c368946707eec71af40
~/s/k/org on 🌱 master (ef3bb8c) on ☁️ (VA)
❯ go run cmd/memberinfo/main.go palnabarun
Company: VMware
kubernetes-sigs/zeitgeist:OWNERS_ALIASES
kubernetes/k8s.io:OWNERS_ALIASES
kubernetes/org:OWNERS_ALIASES
kubernetes/org:config/kubernetes/OWNERS
kubernetes/org:config/kubernetes-client/OWNERS
kubernetes/org:config/kubernetes-csi/OWNERS
kubernetes/org:config/kubernetes-nightly/OWNERS
View logs1_shaped.csv
We can't make this file beautiful and searchable because it's too large.
timestamp,textPayload,jsonPayload.message
2021-11-17T19:36:43.001079583Z, Cherry-picking k8s.io/kubernetes single-commit 4352768240037a7473b96c84bc432f52ce6e0dc8: fix inefassign linter declaring variable.,
2021-11-17T19:36:43.219383330Z, Cherry-picking k8s.io/kubernetes single-commit e82e0b38ffff895210fc6ce58bb347f77a828c01: no lint unused variables.,
2021-11-17T19:36:43.385194689Z, Cherry-picking k8s.io/kubernetes single-commit 9336ff78f4a95cca8eb4a5cf528812d1bcac552c: remove unused variable responseBodySize.,
2021-11-17T19:36:43.480244228Z, Cherry-picking source dropped-merge 1367cca8fd67b09606b01c0a9e46cef59aef3424: Merge pull request #106448 from aojea/hlee/issue-103721/staticcheck.,
2021-11-17T19:36:43.553872270Z, Looking up which commit in the master branch of k8s.io/apimachinery corresponds to k8s.io/kubernetes commit 1367cca8fd67b09606b01c0a9e46cef59aef3424.,
2021-11-17T19:36:43.563616742Z, Checking out k8s.io/apimachinery to 9edaf59fbc7f725d2eefcb0fa594894b89d9da43,
View scratch.sh
#! /usr/bin/env bash
for image in debian-iptables debian-iptables-amd64 debian-iptables-arm debian-iptables-arm64 debian-iptables-ppc64le debian-iptables-s390x;
do
for tag in buster-v1.7.0 bullseye-v1.1.0;
do
echo $image:$tag
skopeo inspect docker://gcr.io/k8s-staging-build-image/$image:$tag | jq '.Digest'
done
done
@palnabarun
palnabarun / korg-yaml-comment-usage.txt
Created Nov 5, 2021
Instances of YAML comment usage in kubernetes/org config files
View korg-yaml-comment-usage.txt
config/kubernetes/sig-scalability/teams.yaml: - cpanato # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - jeremyrickard # SIG Release Technical Lead
config/kubernetes/sig-scalability/teams.yaml: - justaugustus # SIG Release Chair / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - onlydole # 1.19 Release Team Lead
config/kubernetes/sig-scalability/teams.yaml: - puerco # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - saschagrunert # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-storage/teams.yaml: # Members of this group can go to https://prow.k8s.io/
config/kubernetes/sig-storage/teams.yaml: # search for a failed image build job and re-run it.
config/kubernetes/sig-storage/teams.yaml: # That permission is granted in
config/kubernetes/sig-storage/teams.yaml: # https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/k8s-staging-sig-sto
@palnabarun
palnabarun / a.yaml
Created Nov 5, 2021
Experiment to parse YAML comments
View a.yaml
# some comment
- name: John # Pal
city: Hogwarts
@palnabarun
palnabarun / content.html
Created Sep 1, 2021
Example to send email using SendGrid API to multiple recipients
View content.html
<h2>Hi!</h2>
<p>This is a very important email!</p>
<h3>Thank you!</h3>