Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
changed
110 changes: 110 additions & 0 deletions test/pj-rehearse-integration/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@
ci.openshift.org/rehearse-pull: "1234"
created-by-pj-rehearse: "true"
name: rehearse-hnq8xb9r-test-template
- data:
vars-origin.yaml: |
vars-origin.yaml
vars.yaml: |
changed
metadata:
creationTimestamp: null
labels:
ci.openshift.org/rehearse-pull: "1234"
created-by-pj-rehearse: "true"
name: rehearse-cluster-profile-test-profile-47224
- apiVersion: prow.k8s.io/v1
kind: ProwJob
metadata:
Expand Down Expand Up @@ -228,6 +239,105 @@
status:
startTime: "2019-03-06T22:03:01Z"
state: triggered
- apiVersion: prow.k8s.io/v1
kind: ProwJob
metadata:
annotations:
prow.k8s.io/job: rehearse-1234-pull-ci-super-duper-cluster-profile-test-profile
creationTimestamp: null
labels:
ci.openshift.org/rehearse: "1234"
created-by-prow: "true"
prow.k8s.io/job: rehearse-1234-pull-ci-super-duper-cluster-profile-test-profile
prow.k8s.io/refs.org: openshift
prow.k8s.io/refs.pull: "1234"
prow.k8s.io/refs.repo: release
prow.k8s.io/type: presubmit
name: aa2b50c7-4b4e-11e9-b014-e86a6403f52c
namespace: test-namespace
spec:
agent: kubernetes
cluster: default
context: ci/rehearse/openshift/origin/cluster-profile/test-profile
decoration_config:
gcs_configuration:
bucket: origin-ci-test
default_org: openshift
default_repo: origin
path_strategy: single
gcs_credentials_secret: gce-sa-credentials-gcs-publisher
grace_period: 15000000000
skip_cloning: true
timeout: 14400000000000
utility_images:
clonerefs: gcr.io/k8s-prow/clonerefs:v20190129-0a3c54c
entrypoint: gcr.io/k8s-prow/entrypoint:v20190129-0a3c54c
initupload: gcr.io/k8s-prow/initupload:v20190129-0a3c54c
sidecar: gcr.io/k8s-prow/sidecar:v20190129-0a3c54c
job: rehearse-1234-pull-ci-super-duper-cluster-profile-test-profile
namespace: test-namespace
pod_spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/test-profile-cluster-profile
- --target=test-profile
- --template=/usr/local/test-profile
- --git-ref=openshift/origin@cluster-profile
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: gcp
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: super-duper-test-profile.yaml
name: ci-operator-configs
- name: JOB_NAME_SAFE
value: test-profile
- name: TEST_COMMAND
value: make test
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/test-profile-cluster-profile
name: cluster-profile
- mountPath: /usr/local/test-profile
name: job-definition
subPath: test-template.yaml
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-test-profile
- configMap:
name: rehearse-cluster-profile-test-profile-47224
- configMap:
name: rehearse-hnq8xb9r-test-template
name: job-definition
refs:
base_ref: master
base_sha: a1e0de27c562d86647c901554094d12d7c358ba8
org: openshift
pulls:
- author: petr-muller
number: 1234
sha: 7c0b9788f819121ac637fa3f8a319d0bc2cda73e
repo: release
report: true
rerun_command: /test pj-rehearse
type: presubmit
status:
startTime: "2019-02-11T17:02:53Z"
state: triggered
- apiVersion: prow.k8s.io/v1
kind: ProwJob
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
presubmits:
openshift/origin:
- agent: kubernetes
always_run: false
branches:
- cluster-profile
context: ci/prow/test-profile
decorate: true
decoration_config:
skip_cloning: true
name: pull-ci-super-duper-cluster-profile-test-profile
rerun_command: /test test-profile
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/test-profile-cluster-profile
- --target=test-profile
- --template=/usr/local/test-profile
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: gcp
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: super-duper-test-profile.yaml
name: ci-operator-configs
- name: JOB_NAME_SAFE
value: test-profile
- name: TEST_COMMAND
value: make test
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/test-profile-cluster-profile
name: cluster-profile
- mountPath: /usr/local/test-profile
name: job-definition
subPath: test-template.yaml
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-test-profile
- configMap:
name: cluster-profile-test-profile
- configMap:
name: prow-job-cluster-launch-src
name: job-definition
trigger: '(?m)^/test (?:.*? )?test-profile(?: .*?)?$'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vars-origin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vars.yaml