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 @@ -454,6 +454,29 @@ tests:
test:
- ref: cloud-bulldozer-e2e-benchmarking-udn-density-pods
workflow: openshift-qe-installer-aws
- always_run: false
as: e2e-egressip-single-node
steps:
allow_skip_on_success: true
cluster_profile: aws-perfscale
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:arm64-latest
env:
BASE_DOMAIN: perfscale.devcluster.openshift.com
COMPUTE_NODE_REPLICAS: "1"
COMPUTE_NODE_TYPE: m6g.xlarge
CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge
IF_INSTALL_INFRA_WORKLOAD: "false"
IF_MOVE_INGRESS: "false"
IF_MOVE_MONITORING: "false"
IF_MOVE_REGISTRY: "false"
OCP_ARCH: arm64
SPOT_INSTANCES: "true"
USER_TAGS: |
TicketId 382
test:
- ref: cloud-bulldozer-e2e-benchmarking-egressip
workflow: openshift-qe-installer-aws
zz_generated_metadata:
branch: master
org: cloud-bulldozer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,81 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )(e2e-crd-scale-single-node|remaining-required),?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build11
context: ci/prow/e2e-egressip-single-node
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-perfscale
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-egressip-single-node
rerun_command: /test e2e-egressip-single-node
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-egressip-single-node
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )(e2e-egressip-single-node|remaining-required),?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
set -x
cat /etc/os-release
oc config view
oc projects
pushd /tmp

if [[ "$JOB_TYPE" == "presubmit" ]] && [[ "$REPO_OWNER" = "cloud-bulldozer" ]] && [[ "$REPO_NAME" = "e2e-benchmarking" ]]; then
git clone https://github.com/${REPO_OWNER}/${REPO_NAME}
pushd ${REPO_NAME}
git config --global user.email "ocp-perfscale@redhat.com"
git config --global user.name "ocp-perfscale"
git pull origin pull/${PULL_NUMBER}/head:${PULL_NUMBER} --rebase
git switch ${PULL_NUMBER}
pushd workloads/kube-burner-ocp-wrapper
AWSCRED="${CLUSTER_PROFILE_DIR}/.awscred"
if [[ -f "${AWSCRED}" ]]; then
export AWS_SHARED_CREDENTIALS_FILE="${AWSCRED}"
export AWS_DEFAULT_REGION="${LEASED_RESOURCE}"
else
echo "Did not find compatible cloud provider cluster_profile"
exit 1
fi
export WORKLOAD=egressip
current_worker_count=$(oc get nodes --no-headers -l node-role.kubernetes.io/worker=,node-role.kubernetes.io/infra!=,node-role.kubernetes.io/workload!= --output jsonpath="{.items[?(@.status.conditions[-1].type=='Ready')].status.conditions[-1].type}" | wc -w | xargs)
ES_SERVER="" PPROF=false ITERATIONS=${current_worker_count} CHURN=false ./run.sh
else
echo "We are sorry, this job is only meant for cloud-bulldozer/e2e-benchmarking repo PR testing"
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"path": "cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml",
"owners": {
"approvers": [
"jtaleric",
"rsevilla87",
"venkataanil",
"afcollins",
"mukrishn",
"mohit-sheth",
"morenod",
"chentex",
"vishnuchalla"
],
"reviewers": [
"jtaleric",
"rsevilla87",
"venkataanil",
"afcollins",
"mukrishn",
"mohit-sheth",
"morenod",
"chentex",
"vishnuchalla"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ref:
as: cloud-bulldozer-e2e-benchmarking-egressip
from_image:
namespace: e2e
name: e2e-benchmarking
tag: latest
cli: latest
commands: cloud-bulldozer-e2e-benchmarking-egressip-commands.sh
timeout: 6h
resources:
requests:
cpu: 100m
memory: 100Mi
documentation: >-
This step runs the perfscale configmap-scale workload in the deployed cluster