pkg/common/alert/alert.go:// RegisterGinkgoAlert will retrieve the ginkgo test info and register an alert given
pkg/common/alert/alert.go:func RegisterGinkgoAlert(test, team, contact, slack, email string, threshold int) {
pkg/e2e/state/alerts.go: alert.RegisterGinkgoAlert(clusterStateTestName, "SD-CICD", "Michael Wilson", "sd-cicd-alerts", "[email protected]", 4)
pkg/e2e/openshift/app_builds.go: alert.RegisterGinkgoAlert(appBuildsTestName, "SD-CICD", "Jeffrey Sica", "sd-cicd-alerts", "[email protected]", 4)
pkg/e2e/openshift/images.go: alert.RegisterGinkgoAlert(imageRegistryTestName, "SD-CICD", "Jeffrey Sica", "sd-cicd-alerts", "[email protected]", 4)
pkg/e2e/openshift/images.go: alert.RegisterGinkgoAlert(imageEcosystemTestName, "SD-CICD", "Jeffrey Sica", "sd-cicd-alerts", "[email protected]", 4)
pkg/e2e/openshift/conformance.go: alert.RegisterGinkgoAlert(conformanceK8sTestName, "SD-CICD", "Jeffrey Sica", "sd-cicd-alerts", "[email protected]", 4)
pkg/e2e/openshift/conformance.go: alert.RegisterGinkgo
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
#!/bin/bash | |
set -e | |
NAMESPACE=openshift-managed-upgrade-operator | |
OPERATOR=managed-upgrade-operator | |
# Set replicas to 0 | |
oc -n ${NAMESPACE} scale deployment ${OPERATOR} --replicas=0 |
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
#!/bin/bash | |
# setup test app from e2e | |
oc new-project guestbook | |
# pull guestbook from e2e | |
curl https://raw.githubusercontent.com/openshift/osde2e/main/assets/workloads/e2e/guestbook/frontend-deployment.yaml | oc apply -f - | |
curl https://raw.githubusercontent.com/openshift/osde2e/main/assets/workloads/e2e/guestbook/frontend-service.yaml | oc apply -f - | |
curl https://raw.githubusercontent.com/openshift/osde2e/main/assets/workloads/e2e/guestbook/redis-master-deployment.yaml | oc apply -f - | |
curl https://raw.githubusercontent.com/openshift/osde2e/main/assets/workloads/e2e/guestbook/redis-master-service.yaml | oc apply -f - |
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
#!/bin/bash | |
clusterIdentifier=$1 | |
OCM=~/go/bin/ocm | |
/usr/local/bin/ocm-stg-login | |
clusterInfo=$(${OCM} cluster list --managed | grep ${clusterIdentifier}) | |
clusterId=$(echo ${clusterInfo} | awk '{print $1}') | |
clusterName=$(echo ${clusterInfo} | awk '{print $2}') |