Skip to content

Instantly share code, notes, and snippets.

View jwendell's full-sized avatar

Jonh Wendell jwendell

View GitHub Profile
@jwendell
jwendell / tick.sh
Last active February 5, 2020 13:13
#!/bin/bash
A=$(date +%Y-%m-%dT%H-%M-%S)
B=`date +%Y-%m-%dT%H-%M-%S`
while true; do
echo $A
echo $B
sleep 2
done
#!/bin/bash
REPOS="istio proxy envoy api client-go common-files pkg release-builder tools"
for REPO in ${REPOS}; do
gh -R istio/${REPO} pr list --base release-1.7
done
@jwendell
jwendell / pr-maistra.sh
Created November 18, 2021 16:31
List open PR's in maistra org
#!/bin/bash
for repo in $(gh repo list --no-archived maistra --json name -q ".[].name"); do
output=$(gh --repo "maistra/${repo}" pr list --json url,title,baseRefName -q ".[] | .url + \" - \" + .baseRefName + \" - \" + .title")
if [ -n "${output}" ]; then
echo "PR's in ${repo}:"
echo "${output}"
echo
fi
done
#!/bin/bash
set -exo pipefail
REPOS="istio istio-operator envoy proxy istio-must-gather prometheus ratelimit api"
#INACTIVE_REPOS="header-append-filter ratelimit xns-informer api"
BRANCH="maistra-2.3"
VERSION="2.3.2"
REMOTE_BASE="[email protected]:maistra"
#!/bin/bash
set -exo pipefail
REPOS="istio istio-operator envoy proxy api prometheus istio-must-gather header-append-filter ratelimit xns-informer"
#REPOS="api prometheus istio-must-gather header-append-filter ratelimit xns-informer"
VERSION="2.3.1"
BRANCH="releases/${VERSION}"
TAG="maistra-${VERSION}"
#!/bin/bash
oc delete ns -l istio-testing || true
oc delete ns -l gateway-conformance || true
oc delete ns istio-system || true
oc -n kube-system delete ds istio-cni-node || true
oc delete MutatingWebhookConfiguration -l release=istio || true
oc delete ClusterRoleBinding -l release=istio || true