Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional Pipeline integration-in-Kind Prow job #1118

Merged
merged 1 commit into from
Jul 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,51 @@ presubmits:
limits:
cpu: 4000m
memory: 8Gi
- name: pull-tekton-pipeline-kind-integration-tests
labels:
preset-presubmit-sh: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
agent: kubernetes
always_run: false
decorate: true
optional: true
rerun_command: "/test pull-tekton-pipeline-kind-integration-tests"
trigger: "(?m)^/test (all|pull-tekton-pipeline-kind-integration-tests|optional-kind),?(\\s+|$)"
spec:
containers:
- image: gcr.io/tekton-releases/dogfooding/test-runner:v20220705-dedcc4d2eb@sha256:25e9fde4126d2f34878bcb8cc4148894763045616ac0cc407c9d79d38e4194e9 # First image with kind-e2e script included
imagePullPolicy: Always
args:
- "--scenario=kubernetes_execute_bazel"
- "--clean"
- "--job=$(JOB_NAME)"
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--root=/go/src"
- "--service-account=/etc/test-account/service-account.json"
- "--upload=gs://tekton-prow/pr-logs"
- "--" # end bootstrap args, scenario args below
- "--" # end kubernetes_execute_bazel flags (consider following flags as text)
- "/usr/local/bin/kind-e2e"
- "--k8s-version"
- "v1.22.x"
- "--cluster-suffix"
- "$(PULL_NUMBER)"
- "--nodes"
- "3"
- "--e2e-script"
- "./test/e2e-tests.sh"
- --e2e-env
- "./test/e2e-tests-kind-prow-full.env"
securityContext:
privileged: true
resources:
requests:
cpu: 2000m
memory: 4Gi
limits:
cpu: 4000m
memory: 8Gi
tektoncd/catalog:
- name: pull-tekton-catalog-build-tests
labels:
Expand Down