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
#!/usr/bin/env bash | |
DEFAULT_TARGET_NAMESPACE='deployment-validation-operator' | |
LOG_FILE_NAME="dvo_memory_usage_$(date '+%Y.%m.%d-%H.%M.%S')" | |
START_EVENTS_FLAG="start-events" | |
# install dvo | |
function ensure_namespace() { | |
local operator_namespace=${1} | |
oc get ns ${operator_namespace} > /dev/null 2>&1 || oc create ns ${operator_namespace} |
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
../../../.deps/bin/kustomize build ../manifests | ../../../.deps/bin/operator-sdk generate bundle --channels stable --default-channel stable --kustomize-dir manifests --overwrite --package addon-operator --version 1.4.1 |
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
curl \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
https://api.github.com/repos/coderman-engineering/hello-world/commits/e37dc766f8e70c88e0fec339416f5670dd759e22/status | |
curl -v \ | |
-X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: TOKEN <github token>" \ | |
https://api.github.com/repos/coderman-engineering/hello-world/statuses/e37dc766f8e70c88e0fec339416f5670dd759e22 \ |
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: v1 | |
items: | |
- apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
labels: | |
tektonconfig.operator.tekton.dev/pruner: "true" | |
name: tekton-resource-pruner-bjc47 | |
namespace: openshift-pipelines | |
spec: |
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
#!/usr/bin/env bash | |
# usage | |
# ./detach_tektonhub_from_operator.sh | |
function scale_operator() { | |
local replicas=${1:-0} | |
oc scale deployment -n openshift-operators openshift-pipelines-operator --replicas=${replicas} | |
} |
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
-------------------------------------------------- | |
Tektocd Operator Release: v0.57.0 | |
Run the following commands to make a tektoncd/operator release | |
-------------------------------------------------- | |
1. Create a workspace template file (if it does not exist) | |
cat <<EOF > workspace-template.yaml |
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
-------------------------------------------------- | |
Tektocd Operator Release: v0.57.0 | |
Run the following commands to make a tektoncd/operator release | |
-------------------------------------------------- | |
1. Create a workspace template file (if it does not exist) | |
cat <<EOF > workspace-template.yaml |
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
iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAADiJJREFUaEPtmAdUU8n6wOemkQQSegepUgRBmgpSBAQVVGwoWxDXujYUBFmwILuWFRvlD64rq1ieBXdBRECFpYQmgQUfImWRaghSJSSQS9p950biqquI+/Cc/3mHOeeem5P7zTfzm6/MNwOB/5EG/Y9wgCmQ/2+WnLLIlEU+0wpMudZnWth/rHbKIhNdugU65t7n3APShDwul97VRDtKzw5pZPc1vqc/Tp8or0El4hSGYd5QE8xiAAB478opkckaOw3cT1grGXpDWCmZyy1Fkb+2lBz/7BZp/OYEN7ul6qavjvk67ugwSx6DlRcIRnmrC6+7FfUwS6NM7aNCjSzD8YgIByEiACEIAIgIEQEMNIxgRZcZTZd21+Rv1aJS9W7YBVRicUTZXh6vH4+TVrzRWn7cS9cx/IvcKOizgzz/5gQyL/WMQQeru4259ruRGbd+UjtkbfvDVj2znRiREIwKeCObq/ICbnc+SwMAQDXOy6ssaHdsAAACB2Vtp3gLj9tkPFUFRrDg997WuyFVqWsyPcKHvXOOywIAhMnuUdz1v0di/1sQ3MdcjBlwhG+cekKZzWb3AQCk+lYFsdzykm3L53/1ZHt13oZLbXWXJDrmKqrOSTRzvBBU92h3YV9nvuR/a3ltp4TZfrSw6oxVW0w84wIrrs0d4A6groc57/aDcGveQcI/Blk3zy9ii8OaIxg+LMALeQAn5AMc+hahb/QRAKyIB6QQEd7z3gXrfw8yq9GJrdeduf6clcsli+yrBk0wq+XNhUi2dLlkQlWxeT4Kd/rSMxa/s0gyWR4RQw+6niTH1mZsGPtGjXM9wgrMP4D5RyD7l+5Ndta39lkY+5UCAAAZzyrPVu3tK+hsyt706K4/KsdZvkOwtDjdPb+PUSjppwQAxUfb2NdVedoiR2U974d9jIfFvV15aR3PrrMBu/+1HJmsHu8QyvwiNwoLABA5 |
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
if(hour(now()) * 100 + minute(now()) >= prop("start") and hour(now()) * 100 + minute(now()) < prop("end"), "💲👨💻🎯➡️", " ") |
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: admissionregistration.k8s.io/v1 | |
kind: ValidatingWebhookConfiguration | |
metadata: | |
labels: | |
app.kubernetes.io/component: webhook | |
app.kubernetes.io/instance: default | |
app.kubernetes.io/part-of: tekton-pipelines | |
pipeline.tekton.dev/release: v0.32.0 | |
name: config.webhook.pipeline.tekton.dev | |
webhooks: |