Skip to content
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
Expand Up @@ -55,6 +55,16 @@ tests:
openshift_installer:
cluster_profile: gcp
upgrade: true
- as: e2e-aws-sdn-single
commands: ""
steps:
cluster_profile: aws
workflow: origin-e2e-aws-sdn-single
- as: e2e-aws-sdn-multi
commands: ""
steps:
cluster_profile: aws
workflow: origin-e2e-aws-sdn-multi
- as: e2e-ovn-step-registry
steps:
cluster_profile: aws
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,144 @@ presubmits:
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-aws-ovn,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/e2e-aws-sdn-multi
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-network-operator-master-e2e-aws-sdn-multi
rerun_command: /test e2e-aws-sdn-multi
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --lease-server-username=ci
- --lease-server=https://boskos-ci.svc.ci.openshift.org
- --secret-dir=/usr/local/e2e-aws-sdn-multi-cluster-profile
- --target=e2e-aws-sdn-multi
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/apici
name: apici-ci-operator-credentials
readOnly: true
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-aws-sdn-multi-cluster-profile
name: cluster-profile
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
secret:
items:
- key: sa.ci-operator.apici.config
path: kubeconfig
secretName: apici-ci-operator-credentials
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- name: pull-secret
secret:
secretName: regcred
trigger: (?m)^/test( | .* )e2e-aws-sdn-multi,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/e2e-aws-sdn-single
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-network-operator-master-e2e-aws-sdn-single
rerun_command: /test e2e-aws-sdn-single
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --lease-server-username=ci
- --lease-server=https://boskos-ci.svc.ci.openshift.org
- --secret-dir=/usr/local/e2e-aws-sdn-single-cluster-profile
- --target=e2e-aws-sdn-single
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/apici
name: apici-ci-operator-credentials
readOnly: true
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-aws-sdn-single-cluster-profile
name: cluster-profile
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
secret:
items:
- key: sa.ci-operator.apici.config
path: kubeconfig
secretName: apici-ci-operator-credentials
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- name: pull-secret
secret:
secretName: regcred
trigger: (?m)^/test( | .* )e2e-aws-sdn-single,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
14 changes: 14 additions & 0 deletions ci-operator/step-registry/origin/e2e-aws-sdn-multi/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
workflow:
as: origin-e2e-aws-sdn-multi
steps:
pre:
- chain: ipi-conf-aws
- ref: sdn-conf
- ref: sdn-conf-multi-manifest
- chain: ipi-install
test:
- ref: origin-e2e-test
post:
- chain: ipi-deprovision
documentation: |-
The Origin E2E SDN multi workflow executes the common end-to-end test suite with the OpenShiftSDN multitenant network plugin.
14 changes: 14 additions & 0 deletions ci-operator/step-registry/origin/e2e-aws-sdn-single/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
workflow:
as: origin-e2e-aws-sdn-single
steps:
pre:
- chain: ipi-conf-aws
- ref: sdn-conf
- ref: sdn-conf-single-manifest
- chain: ipi-install
test:
- ref: origin-e2e-test
post:
- chain: ipi-deprovision
documentation: |-
The Origin E2E SDN single workflow executes the common end-to-end test suite with the OpenShiftSDN single tenant network plugin.
14 changes: 14 additions & 0 deletions ci-operator/step-registry/sdn/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
15 changes: 15 additions & 0 deletions ci-operator/step-registry/sdn/conf/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
options: {}
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
14 changes: 14 additions & 0 deletions ci-operator/step-registry/sdn/conf/multi-manifest/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

cat > "${SHARED_DIR}/manifest_cluster-network-03-config.yml" << EOF
apiVersion: config.openshift.io/v1
kind: Network
metadata:
name: cluster
spec:
serviceNetwork:
- "172.30.0.0/16"
clusterNetwork:
- cidr: "10.128.0.0/14"
hostPrefix: 23
networkType: OpenShiftSDN
openshiftSDNConfig:
mode: Multitenant
vxlanPort: 4789
enableUnidling: true
useExternalOpenvswitch: false
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ref:
as: sdn-conf-multi-manifest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is a big deal but it might be cleaer to change this to sdn-conf-multitenant-manifest? it might be clearer if we ever need to create many manifests in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was keeping the length of the filename down.

from: base
commands: sdn-conf-multi-manifest-commands.sh
resources:
requests:
cpu: 10m
memory: 100Mi
documentation: |-
The SDN multi-manifest step adds the configuration for SDN multi-tenant networking to set of manifests for installation. The script creates the manifest_cluster-network-03-config.yml file that is consumed by ipi-install-install.
9 changes: 9 additions & 0 deletions ci-operator/step-registry/sdn/conf/sdn-conf-commands.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

cat >> "${SHARED_DIR}/install-config.yaml" << EOF
networking:
networkType: OpenShiftSDN
EOF
10 changes: 10 additions & 0 deletions ci-operator/step-registry/sdn/conf/sdn-conf-ref.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ref:
as: sdn-conf
from: base
commands: sdn-conf-commands.sh
resources:
requests:
cpu: 10m
memory: 100Mi
documentation: |-
The sdn configure step sets the networkType to OpenShiftSDN in the install-config.yaml
14 changes: 14 additions & 0 deletions ci-operator/step-registry/sdn/conf/single-manifest/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
approvers:
- danwinship
- dcbw
- knobunc
- pecameron
- squeed
reviewers:
- alexanderconstantinescu
- danwinship
- dcbw
- jacobtanenbaum
- pecameron
- rcarrillocruz
- squeed
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

cat > "${SHARED_DIR}/manifest_cluster-network-03-config.yml" << EOF
apiVersion: config.openshift.io/v1
kind: Network
metadata:
name: cluster
spec:
serviceNetwork:
- "172.30.0.0/16"
clusterNetwork:
- cidr: "10.128.0.0/14"
hostPrefix: 23
networkType: OpenShiftSDN
openshiftSDNConfig:
mode: Subnet
vxlanPort: 4789
enableUnidling: true
useExternalOpenvswitch: false
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ref:
as: sdn-conf-single-manifest
from: base
commands: sdn-conf-single-manifest-commands.sh
resources:
requests:
cpu: 10m
memory: 100Mi
documentation: |-
The SDN single-manifest step adds the configuration for SDN single-tenant networking to set of manifests for installation. The script creates the manifest_cluster-network-03-config.yml file that is consumed by ipi-install-install.