Execute this line in the browser console to click all of the unchecked "viewed" checkboxes in the "Files changed" tab of a github PR. Usefull when there are many changes in dependencies or generated files that do not need to be reviewed.
This file contains hidden or 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
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "OLM V1 Console API - OpenAPI 3.0", | |
"description": "Proposed REST endpoints for OCP Console UI", | |
"contact": { | |
"email": "[email protected]" | |
}, | |
"license": { | |
"name": "The Unlicense License", |
This file contains hidden or 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
{ | |
"auths": { | |
"quay.io": {}, | |
"registry.ci.openshift.org": {} | |
}, | |
"credsStore": "desktop" | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
kind: Route | |
apiVersion: route.openshift.io/v1 | |
metadata: | |
name: catalogd-catalogserver | |
namespace: openshift-catalogd | |
spec: | |
to: | |
kind: Service | |
name: catalogd-catalogserver | |
weight: 100 |
This file contains hidden or 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: v1 | |
data: | |
ca.crt: | | |
-----BEGIN CERTIFICATE----- | |
MIIFazCCA1OgAwIBAgIUWtA3m5iBt3JlR3JIL4C854aiomkwDQYJKoZIhvcNAQEL | |
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM | |
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMzA5MjUxMzQ4MjRaFw0yNDA5 | |
MjQxMzQ4MjRaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw | |
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggIiMA0GCSqGSIb3DQEB | |
AQUAA4ICDwAwggIKAoICAQDZbvJvUaiU9EHgr3z8ED4nnphj0BNGaNus5qarsYmv |
This file contains hidden or 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: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: mock-resources.test.tectonic.com | |
spec: | |
group: test.tectonic.com | |
scope: Namespaced | |
names: | |
plural: mock-resources | |
singular: mock-resource |
This file contains hidden or 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 | |
instanceType=$1 | |
function upgrade-machineset { | |
echo "Patching $1 with instanceType $instanceType" | |
oc patch $1 --type='merge' --patch="{\"spec\": { \"template\": { \"spec\": { \"providerSpec\": { \"value\": { \"instanceType\": \"$instanceType\"}}}}}}" -n openshift-machine-api | |
echo "Scaling $1 to 0" | |
oc scale $1 --replicas=0 -n openshift-machine-api | |
echo "Scaling $1 back to 1" | |
oc scale $1 --replicas=1 -n openshift-machine-api |
This file contains hidden or 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 | |
function upgrade-machineset { | |
echo "Patching $1 with instanceType m5.2xlarge" | |
oc patch machineset $1 --type='merge' --patch='{"spec": { "template": { "spec": { "providerSpec": { "value": { "instanceType": "m5.2xlarge"}}}}}}' -n openshift-machine-api | |
echo "Scaling $1 to 0" | |
oc scale machineset $1 --replicas=0 -n openshift-machine-api | |
echo "Scaling $1 back to 1" |
This file contains hidden or 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: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: mock-resources.test.tectonic.com | |
spec: | |
group: test.tectonic.com | |
scope: Namespaced | |
names: | |
plural: mock-resources | |
singular: mock-resource |