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

feat(KONFLUX-4178): Add script to run max-concurrency tests on staging cluster #1403

Conversation

rh-rahulshetty
Copy link
Collaborator

Description

Adds script to run max-concurrency on Staging cluster.

Issue ticket number and link

KONFLUX-4178

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

# Login to Stage Cluster
export SERVER_API=<Server URL>
export TOKEN=<Token from Stage Cluster>
oc login --token=$TOKEN --server=$SERVER_API

source user.env

# Run max-concurrency on stage cluster (using --stage flag)
export RUN_ON_STAGE=true

export THRESHOLD=3500 MAX_THREADS=300 MAX_CONCURRENCY_STEPS=1,2,3 COMPONENT_REPO=https://github.com/rh-perf-test-org/devfile-sample PIPELINE_REQUEST_CONFIGURE_PAC=true

./tests/load-tests/ci-scripts/max-concurrency/load-test.sh
./tests/load-tests/ci-scripts/max-concurrency/collect-results.sh

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
  • I have updated labels (if needed)

Copy link
Collaborator

@jhutar jhutar left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Sep 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhutar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rh-rahulshetty rh-rahulshetty changed the title WIP feat(KONFLUX-4178): Add script to run max-concurrency tests on staging cluster feat(KONFLUX-4178): Add script to run max-concurrency tests on staging cluster Sep 24, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6ba5d16 into konflux-ci:main Sep 24, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants