Skip to content

Instantly share code, notes, and snippets.

apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: vault-csi-provider
name: vault-csi-provider
namespace: csi
spec:
updateStrategy:
type: RollingUpdate
@JeromeJu
JeromeJu / .yaml
Created August 26, 2022 12:39
CSI Volume Workspace Type Demo
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: app-secrets
spec:
provider: gcp
parameters:
secrets: |
- resourceName: "projects/$PROJECT_ID/secrets/testsecret/versions/latest"
path: "good1.txt"
@JeromeJu
JeromeJu / gist:e6a377e98c01b69e89e07d8e5b3e276c
Last active May 26, 2023 19:10
local upgrade tests skip example
This file has been truncated, but you can view the full file.
jeromeju@jju:~/pipeline$ ./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
=================================================================
==== INSTALL THE PREVIOUS RELEASE OF TEKTON PIPELINE V0.48.0 ====
=================================================================
>> Deploying Tekton Pipelines of Version v0.48.0
namespace/tekton-pipelines unchanged
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access configured
@JeromeJu
JeromeJu / gist:a44b1c00e1caeab5142bb27d153570e4
Created May 26, 2023 19:20
Testing main against previous release
======================================================================
==== TESTING MAIN AGAINST THE LATEST RELEASE TO DETECT REGRESSION ====
======================================================================
>> Retrieving tests from release-v0.48.0
error: pathspec 'release-v0.48.0' did not match any file(s) known to git
Remove conversion_test since it is a breaking change at devel
Remove path_filtering_test since it is a breaking change at devel
Remove v1beta1/taskruns/optional-workspaces since it is a breaking change at devel
Remove v1/taskruns/optional-workspaces since it is a breaking change at devel
Running tests with 'go test -race -v -count=1 -tags=e2e -timeout=20m ./test '
@JeromeJu
JeromeJu / gist:167bdde1f1aa6a6a6fff52fe6f562bd8
Last active May 26, 2023 19:26
skip test for conversion_test, path_filtering_test and 2 examples
======================================================================
==== TESTING MAIN AGAINST THE LATEST RELEASE TO DETECT REGRESSION ====
======================================================================
>> Retrieving tests from release-v0.48.0
Remove conversion_test since it is a breaking change at devel
Remove path_filtering_test since it is a breaking change at devel
Remove v1beta1/taskruns/optional-workspaces since it is a breaking change at devel
Remove v1/taskruns/optional-workspaces since it is a breaking change at devel
Running tests with 'go test -race -v -count=1 -tags=e2e -timeout=20m ./test '
=== RUN TestTaskRunPipelineRunCancel
This file has been truncated, but you can view the full file.
jeromeju@jju:~/pipeline$ ./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
=================================================================
==== INSTALL THE PREVIOUS RELEASE OF TEKTON PIPELINE V0.48.0 ====
=================================================================
>> Deploying Tekton Pipelines of Version v0.48.0
namespace/tekton-pipelines created
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access created
======================================================================
==== TESTING MAIN AGAINST THE LATEST RELEASE TO DETECT REGRESSION ====
======================================================================
>> Retrieving tests from release-v0.48.0
error: pathspec 'release-v0.48.0' did not match any file(s) known to git
Remove conversion_test since it is a breaking change at devel
Remove path_filtering_test since it is a breaking change at devel
Remove v1beta1/taskruns/optional-workspaces since it is a breaking change at devel
Remove v1/taskruns/optional-workspaces since it is a breaking change at devel
Running tests with 'go test -race -v -count=1 -tags=e2e -timeout=20m ./test '
This file has been truncated, but you can view the full file.
jeromeju@jju:~/pipeline$ ./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
=================================================================
==== INSTALL THE PREVIOUS RELEASE OF TEKTON PIPELINE V0.48.0 ====
=================================================================
>> Deploying Tekton Pipelines of Version v0.48.0
namespace/tekton-pipelines created
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access created
This file has been truncated, but you can view the full file.
./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
======================================================================
==== TESTING MAIN AGAINST THE LATEST RELEASE TO DETECT REGRESSION ====
======================================================================
>> Deploying Tekton Pipelines
2023/05/27 00:30:57 Using base cgr.dev/chainguard/static@sha256:ee47224a2afc674c1f1089b9dea97d5ee400cf2fff3797398778450a4cfb2a8d for github.com/tektoncd/pipeline/cmd/webhook
2023/05/27 00:30:57 Using base cgr.dev/chainguard/static@sha256:ee47224a2afc674c1f1089b9dea97d5ee400cf2fff3797398778450a4cfb2a8d for github.com/tektoncd/pipeline/cmd/events
jeromeju@jju:~/pipeline$ ./test/e2e-tests-upgrade.sh
================================
==== SETTING UP ENVIRONMENT ====
================================
======================================================================
==== TESTING MAIN AGAINST THE LATEST RELEASE TO DETECT REGRESSION ====
======================================================================
>> Deploying Tekton Pipelines
2023/05/28 17:26:48 Using base cgr.dev/chainguard/static@sha256:ee47224a2afc674c1f1089b9dea97d5ee400cf2fff3797398778450a4cfb2a8d for github.com/tektoncd/pipeline/cmd/webhook
2023/05/28 17:26:48 Using base cgr.dev/chainguard/static@sha256:ee47224a2afc674c1f1089b9dea97d5ee400cf2fff3797398778450a4cfb2a8d for github.com/tektoncd/pipeline/cmd/events