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 a CI on tektoncd/experimental… #37

Merged
merged 1 commit into from
Jun 12, 2019
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
103 changes: 103 additions & 0 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,109 @@ presubmits:
- name: test-account
secret:
secretName: test-account
tektoncd/experimental:
- name: pull-tekton-experimental-build-tests
agent: kubernetes
always_run: true
rerun_command: "/test pull-tekton-experimental-build-tests"
trigger: "(?m)^/test (all|pull-tekton-experimental-build-tests),?(\\s+|$)"
spec:
containers:
- image: gcr.io/tekton-releases/tests/test-runner@sha256:a4a64b2b70f85a618bbbcc6c0b713b313b2e410504dee24c9f90ec6fe3ebf63f
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)
- "./test/presubmit-tests.sh"
- "--build-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- name: pull-tekton-experimental-unit-tests
agent: kubernetes
always_run: true
rerun_command: "/test tekton-experimental-unit-tests"
trigger: "(?m)^/test (all|tekton-experimental-unit-tests),?(\\s+|$)"
spec:
containers:
- image: gcr.io/tekton-releases/tests/test-runner@sha256:a4a64b2b70f85a618bbbcc6c0b713b313b2e410504dee24c9f90ec6fe3ebf63f
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)
- "./test/presubmit-tests.sh"
- "--unit-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- name: pull-tekton-experimental-integration-tests
agent: kubernetes
always_run: true
rerun_command: "/test pull-tekton-experimental-integration-tests"
trigger: "(?m)^/test (all|pull-tekton-experimental-integration-tests),?(\\s+|$)"
spec:
containers:
- image: gcr.io/tekton-releases/tests/test-runner@sha256:a4a64b2b70f85a618bbbcc6c0b713b313b2e410504dee24c9f90ec6fe3ebf63f
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)
- "./test/presubmit-tests.sh"
- "--integration-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
tektoncd/pipeline:
- name: pull-tekton-pipeline-build-tests
agent: kubernetes
Expand Down