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
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type ( | |
Event struct { |
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 | |
kind: Secret | |
type: kubernetes.io/ssh-auth | |
metadata: | |
name: ssh-key-for-git | |
annotations: | |
tekton.dev/git-0: github.com | |
data: | |
ssh-privatekey: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBbTFhcXpaS2tQM2xmUTBmcGNveTVTZ3EwMDQ2by9mMksyRTVLdXhpV3VWTitKb0pCCjNHS1p6TWJvNDRMQmxuSm1yMjZFZjUxc25hSnoyY1NRZDRmeXQ1VENyR2FjKzFXR3lhUTk2MWdoU2pHQzhBa1kKRUdqdmx2a1pveTN2MUNYSXVCL3VwS3p6MSt1bzBMOGJIc0E2RExGMndsNTBnRndBNDJmME1PcUJkeVBDcGViZgpWc0pZbWR4NE9CQmtRVkNkVkt4cXE2ZzdZWGlDaS9uaVhKVW1tODl5Q3RYKzJnUDM4RjJNVXI3c0E2Mi8xY09GCkpzREJLRGUvaUIvY1VMdGZQWmZ1S2dFaXJ3UE9ENnZBZG5EWEtvUFprWnJwWFpCb0toRjQzOWkvSzhGaUJFQ3kKVU8wQWUzbUF6L24zMkpLKzlMbUI5VlhaOFR3citONUkxMEREbVFJREFRQUJBb0lCQVFDUTYwRDcrbU83Uit0RQo1SkQ1S2lvdTFtQXV3bmdNUlA3RW4vMytJSWwxS2x5VlpvNDFJZFBraEdsKzMxemxrNk1TNWFNOVAwdTJvSGsrClg3QjdvMXdnUXV0L1ZWZjg3cVNKOSsxQVkzN2pMZCsvT215MTJvQXpNLy9rQ1pZbU1IM2FzUWU5b0JENWpzUjIKd3VOMVE5YWtRdWZObTd0S2lRclhIUU5tbzFEWEtRc3drNEFLdDJSbHhBOGV0ZDcxSmNxNitQL0dCQm8zMTJ0ZwpBcS9Cb1FMbXh4WFA2MmFPbG1Ocy9VWTJ6VHQyN |
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
kafka: | |
url: one-kafka.dh-stage-message-bus.svc.cluster.local:9092 | |
topic: gfrasca-test | |
enabled: False | |
amq: | |
url: | |
- amqps://messaging-devops-broker01.web.prod.ext.phx2.redhat.com:5671 | |
- amqps://messaging-devops-broker02.web.prod.ext.phx2.redhat.com:5671 | |
certificate: /home/pthangad/Desktop/psi-pipelines-robot.crt | |
private_key: /home/pthangad/Desktop/psi-pipelines-robot.key |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
MIRROR_REG=${MIRROR_REG:-ec2-52-14-193-37.us-east-2.compute.amazonaws.com:5000} | |
PRODUCT_NAME=${PRODUCT_NAME:-openshift-pipelines-operator-rh} | |
INDEX=${INDEX:-} | |
BREW_IIB_PREFIX="brew.registry.redhat.io/rh-osbs/iib" | |
REGISTRY_IMAGE=$BREW_IIB_PREFIX:$INDEX | |
REG_CREDS=${REG_CREDS:$HOME/.docker/config.json} |
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
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
func getInputChan() <-chan int { | |
input := make(chan int, 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
#!/usr/bin/env bash | |
set -e -u -o pipefail | |
NAMESPACE=${NAMESPACE:-"pipelines-tutorial"} | |
failed=0 | |
PREVIOUS_VERSION=${PREVIOUS_VERSION:-} | |
CURRENT_VERSION=${CURRENT_VERSION:-} | |
UPGRADE_OCP_IMAGE=${UPGRADE_OCP_IMAGE:-} | |
UPGRADE_CLUSTER=${UPGRADE_CLUSTER:-false} |
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 -xe | |
MIRROR_REG=${MIRROR_REG:-ec2-3-14-253-231.us-east-2.compute.amazonaws.com:5000} | |
REGISTRY_IMAGE=${REGISTRY_IMAGE:-registry.redhat.io/redhat/redhat-operator-index:v4.6} | |
OUTPUT_IMAGE=$MIRROR_REG/redhat/redhat-operator-index:v1 | |
echo -e $REGISTRY_IMAGE | |
echo -e $OUTPUT_IMAGE | |
if [ -z $KBUSER ]; then |
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 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: buildah-source-pvc | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
REG_NAMESPACE=${REG_NAMESPACE:-"rh-verified-operators"} | |
TOKEN=${TOKEN:-} | |
test -z "${TOKEN}" && { | |
echo "TOKEN env variable is required" | |
exit 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
#!/usr/bin/env bash | |
set -euo pipefail | |
MIRROR_REG=${MIRROR_REG:-} | |
PRODUCT_NAME=${PRODUCT_NAME:-pipeline} | |
INDEX=${INDEX:-} | |
BREW_IIB_PREFIX="brew.registry.redhat.io/rh-osbs/iib" | |
REGISTRY_IMAGE=$BREW_IIB_PREFIX:$INDEX | |
OUTPUT_IMAGE=$MIRROR_REG/rh-osbs/iib:$INDEX |