Skip to content

Instantly share code, notes, and snippets.

View mgencur's full-sized avatar

Martin Gencur mgencur

  • Red Hat
  • Brno, Czech Republic
View GitHub Profile
diff --git a/test/upgrade/upgrade.go b/test/upgrade/upgrade.go
index 38c1eba56..6d00a4f6c 100644
--- a/test/upgrade/upgrade.go
+++ b/test/upgrade/upgrade.go
@@ -57,7 +57,10 @@ func RunMainTest(m *testing.M) {
// idempotent. Calling this function multiple times should still properly verify the feature
// (e.g. one call after upgrade, one call after downgrade).
type DurableFeature struct {
- SetupF *feature.Feature
+ SetupF *feature.Feature
Using "from: src"
source:
type: Image
images:
- from:
kind: ImageStreamTag
name: 'pipeline:src'
paths:
- sourcePath: /go/src/github.com/openshift-knative/eventing/.
2020/09/29 10:54:37 Registering 3 informer factories
2020/09/29 10:54:37 Registering 4 informers
2020/09/29 10:54:37 Registering 5 controllers
{"level":"info","ts":"2020-09-29T10:54:37.588Z","caller":"logging/config.go:108","msg":"Successfully created the logger."}
{"level":"info","ts":"2020-09-29T10:54:37.588Z","caller":"logging/config.go:109","msg":"Logging level set to debug"}
{"level":"info","ts":"2020-09-29T10:54:37.588Z","caller":"logging/config.go:76","msg":"Fetch GitHub commit ID from kodata failed: \"KO_DATA_PATH\" does not exist or is empty"}
{"level":"info","ts":"2020-09-29T10:54:37.588Z","logger":"webhook","caller":"profiling/server.go:59","msg":"Profiling enabled: false"}
{"level":"info","ts":"2020-09-29T10:54:37.598Z","logger":"webhook","caller":"sharedmain/main.go:260","msg":"Starting configuration manager..."}
{"level":"info","ts":"2020-09-29T10:54:37.598Z","logger":"webhook","caller":"webhook/webhook.go:196","msg":"Found certificates for webhook..."}
main.go: -----------------------------
package main
import (
"fmt"
"github.com/mgencur/awesomeProject/upgrade"
_ "github.com/mgencur/awesomeProject/upgrade/registerplugin"
)
###### Stats for last 7 days ######
=== OCP 4.3 ===
--- Serverless operator tests ---
TestKnativeEventing: matched 6.06% of failing runs (Across 38 runs and 1 jobs (86.84% failed))
TestNetworkPolicy: matched 3.03% of failing runs (Across 38 runs and 1 jobs (86.84% failed))
--- Knative Serving tests ---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
manifestival: new
creationTimestamp: "2020-05-26T08:50:35Z"
generation: 1
name: pipelineruns.tekton.dev
resourceVersion: "35075"
selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/pipelineruns.tekton.dev
>>> services.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Service
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastModifier: [email protected]
creationTimestamp: "2020-03-29T06:56:45Z"
generation: 1
>>> revisions.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Revision
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastPinned: "1585680755"
creationTimestamp: "2020-03-31T18:52:27Z"
generateName: pizzaplanet-service1-
oc create route passthrough -n openshift-image-registry image-registry --service=image-registry
registry=$(oc get routes -n openshift-image-registry image-registry -o=jsonpath='{.spec.host}')
# Wait until the route returns 200
wait_while 30 "[[ $(curl -kL -I -X GET https://${registry} 2>/dev/null | head -n 1 | awk '{ print $2 }') != 200 ]]"
oc --config="$KUBECONFIG" policy add-role-to-group system:image-puller system:serviceaccounts -n tkn-kn
sudo podman login --tls-verify=false -u unused -p "$(oc --config=$KUBECONFIG whoami -t)" "$registry"
sudo podman pull --tls-verify=false "$KN_TEKTON_IMAGE"
sudo podman tag "$KN_TEKTON_IMAGE" "${registry}/${KN_E2E_NAMESPACE}/kn:latest"
sudo podman push --tls-verify=false "${registry}/${KN_E2E_NAMESPACE}/kn:latest"
oc get knativeserving.operator.knative.dev knative-serving -n knative-serving -oyaml
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
annotations:
knative-serving-openshift/mutation: "2020-02-25T13:24:28Z"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"operator.knative.dev/v1alpha1","kind":"KnativeServing","metadata":{"annotations":{},"name":"knative-serving","namespace":"knative-serving"},"spec":{}}
creationTimestamp: "2020-02-25T13:24:28Z"
finalizers: