Skip to content

Instantly share code, notes, and snippets.

@JeromeJu
Last active June 28, 2023 14:22
Show Gist options
  • Save JeromeJu/92058e20dc2a15ac7a470c71248bd211 to your computer and use it in GitHub Desktop.
Save JeromeJu/92058e20dc2a15ac7a470c71248bd211 to your computer and use it in GitHub Desktop.
jeromeju@jju:~/pipeline$ ./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
=================================================================
==== INSTALL THE PREVIOUS RELEASE OF TEKTON PIPELINE V0.49.0 ====
=================================================================
>> Deploying Tekton Pipelines of Version v0.49.0
namespace/tekton-pipelines unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-events-controller-cluster-access unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-controller unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-webhook unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-leader-election unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-info unchanged
serviceaccount/tekton-pipelines-controller unchanged
serviceaccount/tekton-pipelines-webhook unchanged
serviceaccount/tekton-events-controller unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-events-controller-cluster-access unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-leaderelection unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-leaderelection unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-info unchanged
rolebinding.rbac.authorization.k8s.io/tekton-events-controller unchanged
rolebinding.rbac.authorization.k8s.io/tekton-events-controller-leaderelection unchanged
customresourcedefinition.apiextensions.k8s.io/clustertasks.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/customruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/pipelines.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/pipelineruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/resolutionrequests.resolution.tekton.dev unchanged
customresourcedefinition.apiextensions.k8s.io/tasks.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/taskruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/verificationpolicies.tekton.dev configured
secret/webhook-certs configured
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.pipeline.tekton.dev configured
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.pipeline.tekton.dev configured
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.pipeline.tekton.dev configured
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-edit unchanged
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-view unchanged
configmap/config-defaults unchanged
configmap/feature-flags unchanged
configmap/pipelines-info configured
configmap/config-leader-election unchanged
configmap/config-logging configured
configmap/config-observability unchanged
configmap/config-registry-cert unchanged
configmap/config-spire unchanged
deployment.apps/tekton-pipelines-controller configured
service/tekton-pipelines-controller configured
deployment.apps/tekton-events-controller configured
service/tekton-events-controller configured
namespace/tekton-pipelines-resolvers unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-resolvers-resolution-request-updates unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-resolvers-namespace-rbac unchanged
serviceaccount/tekton-pipelines-resolvers unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-resolvers unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-resolvers-namespace-rbac unchanged
configmap/bundleresolver-config unchanged
configmap/cluster-resolver-config unchanged
configmap/resolvers-feature-flags unchanged
configmap/config-leader-election unchanged
configmap/config-logging configured
configmap/config-observability unchanged
configmap/git-resolver-config unchanged
configmap/hubresolver-config unchanged
deployment.apps/tekton-pipelines-remote-resolvers configured
horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook configured
deployment.apps/tekton-pipelines-webhook configured
service/tekton-pipelines-webhook configured
No resources found
No resources found
No resources found
No resources found
No resources found
Waiting until all pods in namespace tekton-pipelines are up...................
All pods are up:
tekton-events-controller-79f9558bcc-7hjdg 1/1 Running 0 42s
tekton-pipelines-controller-67b8fd88dd-4h9qj 1/1 Running 0 42s
tekton-pipelines-webhook-7fb55d489b-4kdw6 1/1 Running 0 42s
======================================================
==== CREATE RESOURCES AT PREVIOUS RELEASE VERSION ====
======================================================
namespace/upgrade created
task.tekton.dev/simple-task created
pipeline.tekton.dev/simple-pipeline created
===========================================================
==== UPGRADE TO THE CURRENT RELEASE OF TEKTON PIPELINE ====
===========================================================
>> Deploying Tekton Pipelines
2023/06/28 14:20:17 Using base cgr.dev/chainguard/static@sha256:54b589146d4dbc80a094fcbcd6b09414f3df94cde8ea6d31c44fd02692c58203 for github.com/tektoncd/pipeline/cmd/webhook
2023/06/28 14:20:17 Using base cgr.dev/chainguard/static@sha256:54b589146d4dbc80a094fcbcd6b09414f3df94cde8ea6d31c44fd02692c58203 for github.com/tektoncd/pipeline/cmd/events
2023/06/28 14:20:17 Using base cgr.dev/chainguard/static@sha256:54b589146d4dbc80a094fcbcd6b09414f3df94cde8ea6d31c44fd02692c58203 for github.com/tektoncd/pipeline/cmd/resolvers
2023/06/28 14:20:17 Building github.com/tektoncd/pipeline/cmd/webhook for linux/amd64
2023/06/28 14:20:17 Building github.com/tektoncd/pipeline/cmd/events for linux/amd64
2023/06/28 14:20:17 Building github.com/tektoncd/pipeline/cmd/resolvers for linux/amd64
2023/06/28 14:20:19 Building github.com/tektoncd/pipeline/cmd/workingdirinit for linux/amd64
2023/06/28 14:20:19 Building github.com/tektoncd/pipeline/cmd/entrypoint for linux/amd64
2023/06/28 14:20:19 Building github.com/tektoncd/pipeline/cmd/controller for linux/amd64
2023/06/28 14:20:19 Building github.com/tektoncd/pipeline/cmd/sidecarlogresults for linux/amd64
2023/06/28 14:20:20 Building github.com/tektoncd/pipeline/cmd/nop for linux/amd64
2023/06/28 14:20:21 Loading kind.local/workingdirinit-0c558922ec6a1b739e550e349f2d5fc1:ecbc2a396eae53eab72abe783bf16132dc9d83eb9246975e1b65dc46a0f2cfe9
2023/06/28 14:20:21 Loading kind.local/nop-8eac7c133edad5df719dc37b36b62482:5ff005770a25a7ca18db25370d9476259490e0d2ed2ae57dda737bf1715ed103
2023/06/28 14:20:23 Loaded kind.local/workingdirinit-0c558922ec6a1b739e550e349f2d5fc1:ecbc2a396eae53eab72abe783bf16132dc9d83eb9246975e1b65dc46a0f2cfe9
2023/06/28 14:20:23 Adding tag latest
2023/06/28 14:20:23 Loaded kind.local/nop-8eac7c133edad5df719dc37b36b62482:5ff005770a25a7ca18db25370d9476259490e0d2ed2ae57dda737bf1715ed103
2023/06/28 14:20:23 Adding tag latest
2023/06/28 14:20:23 Added tag latest
2023/06/28 14:20:23 Added tag latest
2023/06/28 14:20:24 Loading kind.local/webhook-d4749e605405422fd87700164e31b2d1:2102461bd3efab486bbcfe5f122a68c5eb95e7b91d77cc4cc5f2f99e9439d69f
2023/06/28 14:20:24 Loading kind.local/events-a9042f7efb0cbade2a868a1ee5ddd52c:4cd56b960689e2a0a0473b81fcdab0221bdb6fccdf77afb7ff237a115010b8ec
2023/06/28 14:20:26 Loading kind.local/resolvers-ff86b24f130c42b88983d3c13993056d:e7595c23d9b2065831dce727c609671fcc2055a19d875e3c65cfa8b9ecafc9df
2023/06/28 14:20:26 Loading kind.local/entrypoint-bff0a22da108bc2f16c818c97641a296:519b175ef864d6bf9d41e11b271a01ae149bc92713851cd9f7f2b3f759b02791
2023/06/28 14:20:26 Loaded kind.local/webhook-d4749e605405422fd87700164e31b2d1:2102461bd3efab486bbcfe5f122a68c5eb95e7b91d77cc4cc5f2f99e9439d69f
2023/06/28 14:20:26 Adding tag latest
2023/06/28 14:20:26 Loaded kind.local/events-a9042f7efb0cbade2a868a1ee5ddd52c:4cd56b960689e2a0a0473b81fcdab0221bdb6fccdf77afb7ff237a115010b8ec
2023/06/28 14:20:26 Adding tag latest
2023/06/28 14:20:26 Loading kind.local/sidecarlogresults-7501c6a20d741631510a448b48ab098f:f7b9781db0ad64b8d2411b30b3b66d3088b3131a67d52d034f8c65b445feb665
2023/06/28 14:20:27 Added tag latest
2023/06/28 14:20:27 Added tag latest
2023/06/28 14:20:27 Loaded kind.local/resolvers-ff86b24f130c42b88983d3c13993056d:e7595c23d9b2065831dce727c609671fcc2055a19d875e3c65cfa8b9ecafc9df
2023/06/28 14:20:27 Adding tag latest
2023/06/28 14:20:27 Loaded kind.local/entrypoint-bff0a22da108bc2f16c818c97641a296:519b175ef864d6bf9d41e11b271a01ae149bc92713851cd9f7f2b3f759b02791
2023/06/28 14:20:27 Adding tag latest
2023/06/28 14:20:27 Added tag latest
2023/06/28 14:20:28 Loaded kind.local/sidecarlogresults-7501c6a20d741631510a448b48ab098f:f7b9781db0ad64b8d2411b30b3b66d3088b3131a67d52d034f8c65b445feb665
2023/06/28 14:20:28 Adding tag latest
2023/06/28 14:20:28 Added tag latest
2023/06/28 14:20:28 Added tag latest
2023/06/28 14:20:28 Loading kind.local/controller-10a3e32792f33651396d02b6855a6e36:caa78d94cf716135d7e8e190e1764bff81181fec34f4c283aa9036b0628f1bda
2023/06/28 14:20:29 Loaded kind.local/controller-10a3e32792f33651396d02b6855a6e36:caa78d94cf716135d7e8e190e1764bff81181fec34f4c283aa9036b0628f1bda
2023/06/28 14:20:29 Adding tag latest
2023/06/28 14:20:29 Added tag latest
namespace/tekton-pipelines unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access unchanged
clusterrole.rbac.authorization.k8s.io/tekton-events-controller-cluster-access unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-controller unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-webhook unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-leader-election unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-info unchanged
serviceaccount/tekton-pipelines-controller unchanged
serviceaccount/tekton-pipelines-webhook unchanged
serviceaccount/tekton-events-controller unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-events-controller-cluster-access unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-leaderelection unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-leaderelection unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-info unchanged
rolebinding.rbac.authorization.k8s.io/tekton-events-controller unchanged
rolebinding.rbac.authorization.k8s.io/tekton-events-controller-leaderelection unchanged
customresourcedefinition.apiextensions.k8s.io/clustertasks.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/customruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/pipelines.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/pipelineruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/resolutionrequests.resolution.tekton.dev unchanged
customresourcedefinition.apiextensions.k8s.io/tasks.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/taskruns.tekton.dev configured
customresourcedefinition.apiextensions.k8s.io/verificationpolicies.tekton.dev configured
secret/webhook-certs configured
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.pipeline.tekton.dev configured
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.pipeline.tekton.dev configured
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.pipeline.tekton.dev configured
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-edit unchanged
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-view unchanged
configmap/config-defaults unchanged
configmap/feature-flags unchanged
configmap/pipelines-info configured
configmap/config-leader-election unchanged
configmap/config-logging configured
configmap/config-observability unchanged
configmap/config-registry-cert unchanged
configmap/config-spire unchanged
deployment.apps/tekton-pipelines-controller configured
service/tekton-pipelines-controller configured
deployment.apps/tekton-events-controller configured
service/tekton-events-controller configured
namespace/tekton-pipelines-resolvers unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-resolvers-resolution-request-updates unchanged
role.rbac.authorization.k8s.io/tekton-pipelines-resolvers-namespace-rbac unchanged
serviceaccount/tekton-pipelines-resolvers unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-resolvers unchanged
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-resolvers-namespace-rbac unchanged
configmap/bundleresolver-config unchanged
configmap/cluster-resolver-config unchanged
configmap/resolvers-feature-flags unchanged
configmap/config-leader-election unchanged
configmap/config-logging configured
configmap/config-observability unchanged
configmap/git-resolver-config unchanged
configmap/hubresolver-config unchanged
deployment.apps/tekton-pipelines-remote-resolvers configured
horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook configured
deployment.apps/tekton-pipelines-webhook configured
service/tekton-pipelines-webhook configured
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-pod-log-access unchanged
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-pod-log-access unchanged
No resources found
No resources found
No resources found
No resources found
No resources found
Waiting until all pods in namespace tekton-pipelines are up...................
All pods are up:
tekton-events-controller-84f96884dd-bq5wc 1/1 Running 0 42s
tekton-pipelines-controller-575b9cd7c4-sj564 1/1 Running 0 42s
tekton-pipelines-webhook-647797d54d-wmhrf 1/1 Running 0 42s
No resources found
Waiting until all pods in namespace tekton-pipelines-resolvers are up
All pods are up:
tekton-pipelines-remote-resolvers-8bb499b8f-sgdsp 1/1 Running 0 42s
======================================================================
==== START RUNS UPON RESOURCES CREATED AT CURRENT RELEASE VERSION ====
======================================================================
pipelinerun.tekton.dev/simple-pipelinerun created
taskrun.tekton.dev/simple-taskrun created
=============================================
==== RUNNING YAML E2E TESTS FOR TASKRUNS ====
=============================================
>> Waiting for tests to finish for taskrun
>> Checking test results for taskrun
>> All YAML tests passed
=================================================
==== RUNNING YAML E2E TESTS FOR PIPELINERUNS ====
=================================================
>> Waiting for tests to finish for pipelinerun
>> Checking test results for pipelinerun
>> All YAML tests passed
**************************************
*** E2E TESTS PASSED ***
**************************************
jeromeju@jju:~/pipeline$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment