Skip to content

Commit

Permalink
Merge pull request #3518 from markusthoemmes/knative-serving-release-…
Browse files Browse the repository at this point in the history
…v0.5.1

Add ci config for knative-serving release v0.5.1.
  • Loading branch information
openshift-merge-robot committed Apr 18, 2019
2 parents 98a17a9 + 9d5fd56 commit b6891d5
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
tag_specification:
name: '4.0'
namespace: ocp
promotion:
cluster: https://api.ci.openshift.org
namespace: openshift
name: knative-v0.5.1
base_images:
base:
name: '4.0'
namespace: ocp
tag: base
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
canonical_go_repository: github.com/knative/serving
binary_build_commands: make install
test_binary_build_commands: make test-install
tests:
- as: e2e
commands: "INTERNAL_REGISTRY=image-registry.openshift-image-registry.svc:5000 ENABLE_ADMISSION_WEBHOOKS=false make test-e2e"
openshift_installer_src:
cluster_profile: aws
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
images:
- dockerfile_path: openshift/ci-operator/knative-images/webhook/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/bin/webhook
to: knative-serving-webhook
- dockerfile_path: openshift/ci-operator/knative-images/activator/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/bin/activator
to: knative-serving-activator
- dockerfile_path: openshift/ci-operator/knative-images/controller/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/bin/controller
to: knative-serving-controller
- dockerfile_path: openshift/ci-operator/knative-images/queue/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/bin/queue
to: knative-serving-queue
- dockerfile_path: openshift/ci-operator/knative-images/autoscaler/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/bin/autoscaler
to: knative-serving-autoscaler
- dockerfile_path: openshift/ci-operator/knative-test-images/printport/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/printport
to: knative-serving-test-printport
- dockerfile_path: openshift/ci-operator/knative-test-images/pizzaplanetv2/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/pizzaplanetv2
to: knative-serving-test-pizzaplanetv2
- dockerfile_path: openshift/ci-operator/knative-test-images/helloworld/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/helloworld
to: knative-serving-test-helloworld
- dockerfile_path: openshift/ci-operator/knative-test-images/bloatingcow/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/bloatingcow
to: knative-serving-test-bloatingcow
- dockerfile_path: openshift/ci-operator/knative-test-images/runtime/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/runtime
to: knative-serving-test-runtime
- dockerfile_path: openshift/ci-operator/knative-test-images/timeout/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/timeout
to: knative-serving-test-timeout
- dockerfile_path: openshift/ci-operator/knative-test-images/observed-concurrency/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/observed-concurrency
to: knative-serving-test-observed-concurrency
- dockerfile_path: openshift/ci-operator/knative-test-images/grpc-ping/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/grpc-ping
to: knative-serving-test-grpc-ping
- dockerfile_path: openshift/ci-operator/knative-test-images/failing/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/failing
to: knative-serving-test-failing
- dockerfile_path: openshift/ci-operator/knative-test-images/autoscale/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/autoscale
to: knative-serving-test-autoscale
- dockerfile_path: openshift/ci-operator/knative-test-images/controller/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/controller
to: knative-serving-test-controller
- dockerfile_path: openshift/ci-operator/knative-test-images/pizzaplanetv1/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/pizzaplanetv1
to: knative-serving-test-pizzaplanetv1
- dockerfile_path: openshift/ci-operator/knative-test-images/wsserver/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/wsserver
to: knative-serving-test-wsserver
- dockerfile_path: openshift/ci-operator/knative-test-images/httpproxy/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/httpproxy
to: knative-serving-test-httpproxy
- dockerfile_path: openshift/ci-operator/knative-test-images/environment/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/environment
to: knative-serving-test-environment
- dockerfile_path: openshift/ci-operator/knative-test-images/singlethreaded/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/singlethreaded
to: knative-serving-test-singlethreaded
- dockerfile_path: openshift/ci-operator/knative-test-images/hellovolume/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/hellovolume
to: knative-serving-test-hellovolume
- dockerfile_path: openshift/ci-operator/knative-test-images/protocols/Dockerfile
from: base
inputs:
test-bin:
paths:
- destination_dir: .
source_path: /go/bin/protocols
to: knative-serving-test-protocols
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
postsubmits:
openshift/knative-serving:
- agent: kubernetes
branches:
- ^release-v0\.5\.1$
context: ""
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: branch-ci-openshift-knative-serving-release-v0.5.1-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --promote
- --target=[images]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-knative-serving-release-v0.5.1.yaml
name: ci-operator-misc-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
presubmits:
openshift/knative-serving:
- agent: kubernetes
always_run: true
branches:
- release-v0.5.1
context: ci/prow/e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-knative-serving-release-v0.5.1-e2e
rerun_command: /test e2e
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-cluster-profile
- --target=e2e
- --template=/usr/local/e2e
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-knative-serving-release-v0.5.1.yaml
name: ci-operator-misc-configs
- name: JOB_NAME_SAFE
value: e2e
- name: TEST_COMMAND
value: INTERNAL_REGISTRY=image-registry.openshift-image-registry.svc:5000
ENABLE_ADMISSION_WEBHOOKS=false make test-e2e
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e
name: job-definition
subPath: cluster-launch-installer-src.yaml
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
trigger: '(?m)^/test (?:.*? )?e2e(?: .*?)?$'
- agent: kubernetes
always_run: true
branches:
- release-v0.5.1
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-knative-serving-release-v0.5.1-images
rerun_command: /test images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --target=[images]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-knative-serving-release-v0.5.1.yaml
name: ci-operator-misc-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
trigger: '(?m)^/test (?:.*? )?images(?: .*?)?$'

0 comments on commit b6891d5

Please sign in to comment.