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

[rhd-sbo] Add periodic (weekly) jobs to run performance tests #33192

Merged
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 @@ -50,6 +50,42 @@ tests:
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
timeout: 5h0m0s
workflow: ipi-aws
timeout: 8h0m0s
- as: performance-current-dev-sandbox
cron: 0 20 * * 0
steps:
cluster_profile: aws
env:
COMPUTE_NODE_TYPE: m5.4xlarge
SIZE_VARIANT: large
test:
- as: test
cli: latest
commands: |
export OPERATOR_INDEX_IMAGE_REF=quay.io/redhat-developer/servicebinding-operator:index
export SBO_CATSRC_NAME=sbo-performance
export OPENSHIFT_API=$(yq e '.clusters[0].cluster.server' $KUBECONFIG)
export OPENSHIFT_USERNAME=kubeadmin
export OPENSHIFT_PASSWORD=$(cat $KUBEADMIN_PASSWORD_FILE)
export WAIT_BEFORE=300s
export WAIT_AFTER=300s
export TEST_PERFORMANCE_USERS_PER_SCENARIO=400
export REGISTRY_NAMESPACE=ocpappsvc-qe
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ tests:
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,42 @@ tests:
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
timeout: 5h0m0s
workflow: ipi-aws
timeout: 8h0m0s
- as: performance-latest-openshift
cron: 0 20 * * 0
steps:
cluster_profile: aws
env:
COMPUTE_NODE_TYPE: m5.4xlarge
SIZE_VARIANT: large
test:
- as: test
cli: latest
commands: |
export OPERATOR_INDEX_IMAGE_REF=quay.io/redhat-developer/servicebinding-operator:index
export SBO_CATSRC_NAME=sbo-performance
export OPENSHIFT_API=$(yq e '.clusters[0].cluster.server' $KUBECONFIG)
export OPENSHIFT_USERNAME=kubeadmin
export OPENSHIFT_PASSWORD=$(cat $KUBEADMIN_PASSWORD_FILE)
export WAIT_BEFORE=300s
export WAIT_AFTER=300s
export TEST_PERFORMANCE_USERS_PER_SCENARIO=400
export REGISTRY_NAMESPACE=ocpappsvc-qe
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ build_root:
project_image:
dockerfile_literal: |
FROM registry.access.redhat.com/ubi8/ubi
RUN yum install -y --nodocs jq python3-virtualenv make git
RUN yum install -y --nodocs jq python3-virtualenv python3-pip make git golang bc
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /cli/oc /usr/bin/kubectl
RUN curl -Lk -o /usr/bin/yq https://github.com/mikefarah/yq/releases/download/v4.18.1/yq_linux_amd64 && chmod +x /usr/bin/yq
RUN pip3 install yamllint
releases:
initial:
candidate:
Expand Down Expand Up @@ -54,6 +57,41 @@ tests:
requests:
cpu: 100m
workflow: ipi-aws
- as: performance-next-openshift
cron: 0 20 * * 0
steps:
cluster_profile: aws
env:
COMPUTE_NODE_TYPE: m5.4xlarge
SIZE_VARIANT: large
test:
- as: test
cli: latest
commands: |
export OPERATOR_INDEX_IMAGE_REF=quay.io/redhat-developer/servicebinding-operator:index
export SBO_CATSRC_NAME=sbo-performance
export OPENSHIFT_API=$(yq e '.clusters[0].cluster.server' $KUBECONFIG)
export OPENSHIFT_USERNAME=kubeadmin
export OPENSHIFT_PASSWORD=$(cat $KUBEADMIN_PASSWORD_FILE)
export WAIT_BEFORE=300s
export WAIT_AFTER=300s
export TEST_PERFORMANCE_USERS_PER_SCENARIO=400
export REGISTRY_NAMESPACE=ocpappsvc-qe
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
timeout: 5h0m0s
workflow: ipi-aws
timeout: 8h0m0s
zz_generated_metadata:
branch: master
org: redhat-developer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ tests:
source /var/run/secrets/sbo-on-sb-perf/registry-credentials-env.sh
make -k test-performance test-performance-collect-kpi || true
make test-performance-artifacts
make test-performance-thresholds
credentials:
- mount_path: /var/run/secrets/sbo-on-sb-perf
name: sbo-on-sb-perf
Expand Down
Loading