parameters: | |
_param: | |
jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" | |
cvp_sanity_default_repo: "https://github.com/Mirantis/cvp-sanity-checks" | |
jenkins: | |
client: | |
view: | |
Validation: | |
enabled: true | |
type: ListView | |
include_regex: "validate.*" | |
job: | |
validate_openstack: | |
type: workflow-scm | |
name: validate-openstack | |
display_name: "Validate - Openstack" | |
discard: | |
build: | |
keep_num: 50 | |
artifact: | |
keep_num: 50 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: "gerrit" | |
script: validate-cloud.groovy | |
param: | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
description: Credentials to the Salt API | |
TEST_IMAGE: | |
type: string | |
default: "docker-prod-local.artifactory.mirantis.com/mirantis/oss/qa-tools" | |
description: Docker image to setup testing environment | |
TARGET_NODE: | |
type: string | |
default: "" | |
description: Target node where this job will be executed from | |
RUN_RALLY_TESTS: | |
type: boolean | |
default: 'true' | |
description: If chosen then Rally tests will be executed | |
RUN_TEMPEST_TESTS: | |
type: boolean | |
default: 'true' | |
description: If chosen then Tempest tests will be executed | |
RUN_K8S_TESTS: | |
type: boolean | |
default: 'true' | |
description: If chosen then K8S tests will be executed | |
TEMPEST_TEST_SET: | |
type: choice | |
choices: | |
- smoke | |
- full | |
description: Set of Tempest tests to run | |
TEMPEST_CONFIG_REPO: | |
type: string | |
default: "" | |
description: Git repository with configuration files for Tempest | |
TEMPEST_CONFIG_BRANCH: | |
type: string | |
default: "" | |
description: Git branch which will be used during the checkout | |
TEMPEST_REPO: | |
type: string | |
default: "" | |
description: Git repository with Tempest | |
TEMPEST_VERSION: | |
type: string | |
default: "" | |
description: Version of Tempest (tag, branch or commit) | |
TEST_K8S_NODE: | |
type: string | |
default: "" | |
description: Kubernetes node to run tests from | |
TEST_K8S_API_SERVER: | |
type: string | |
default: "http://127.0.0.1:8080" | |
description: API server parameter for K8S tests | |
TEST_K8S_CONFORMANCE_IMAGE: | |
type: string | |
default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316" | |
description: Docker image to run K8S tests | |
RUN_SPT_TESTS: | |
type: boolean | |
default: 'true' | |
description: If chosen then SPT tests will be executed | |
SPT_SSH_USER: | |
type: string | |
default: "root" | |
description: Username that is used to ssh between cluster nodes | |
FLOATING_NETWORK: | |
type: string | |
default: "" | |
description: External(floating) network name (used in both SPT and Rally) | |
SPT_IMAGE: | |
type: string | |
default: "" | |
description: Image that is used for network-VM-to-VM-iperf-tests tests | |
SPT_IMAGE_USER: | |
type: string | |
default: "" | |
description: Username that is used to ssh to SPT_IMAGE | |
SPT_FLAVOR: | |
type: string | |
default: "" | |
description: Flavor name for SPT_IMAGE (make sure you have required flavor created) | |
RALLY_IMAGE: | |
type: string | |
default: "cirros" | |
RALLY_FLAVOR: | |
type: string | |
default: "m1.tiny" | |
description: Flavor name for Rally scenarios | |
RALLY_CONFIG_REPO: | |
type: string | |
default: "" | |
description: Git repository with configuration files for Rally | |
RALLY_CONFIG_BRANCH: | |
type: string | |
default: "" | |
description: Git branch which will be used during the checkout | |
RALLY_SCENARIOS: | |
type: string | |
default: "" | |
description: Rally scenarios directory or file with scenarios | |
RALLY_TASK_ARGS_FILE: | |
type: string | |
default: "" | |
description: Rally scenarios arguments file | |
AVAILABILITY_ZONE: | |
type: string | |
default: "nova" | |
description: Name of availability zone | |
GENERATE_REPORT: | |
type: boolean | |
default: 'true' | |
description: If chosen then at the end of the test run HTML report will be generated | |
ACCUMULATE_RESULTS: | |
type: boolean | |
default: 'true' | |
description: If chosen then previous build results will be used in the current build | |
RALLY_PLUGINS_REPO: | |
type: string | |
default: "" | |
description: Git repository with Rally plugins | |
RALLY_PLUGINS_BRANCH: | |
type: string | |
default: "" | |
description: Git branch which will be used during the checkout | |
K8S_RALLY: | |
type: boolean | |
default: 'false' | |
description: If chosen then K8S Rally test will be executed | |
JOB_TIMEOUT: | |
type: string | |
default: "3" | |
description: Job timeout in hours | |
REPORT_DIR: | |
type: string | |
default: "" | |
description: Path for reports outside docker image | |
SKIP_LIST: | |
type: string | |
description: "Skip list for Rally test" | |
default: "" | |
cvp-sanity: | |
type: workflow-scm | |
name: cvp-sanity | |
display_name: "CVP - Sanity checks" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: "gerrit" | |
script: cvp-runner.groovy | |
param: | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
TESTS_REPO: | |
type: string | |
default: "${_param:cvp_sanity_default_repo}" | |
description: Url for cvp-sanity-checks | |
TESTS_SETTINGS: | |
type: string | |
default: "" | |
description: e.g. skipped_nodes=nal01.local.com,ntw01.local.com | |
TESTS_SET: | |
type: string | |
default: "cvp-sanity-check/cvp_checks/tests/" | |
description: Leave empty for full run or choose a file, e.g. test_mtu.py | |
PROXY: | |
type: string | |
default: "" | |
description: Proxy address to clone repo and install python requirements | |
cvp-func: | |
type: workflow-scm | |
name: cvp-func | |
display_name: "CVP - Functional tests" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
credentials: "gerrit" | |
script: cvp-func.groovy | |
param: | |
DEBUG_MODE: | |
type: boolean | |
default: 'false' | |
description: Enable if you need to keep container after the test and debug | |
SKIP_LIST_PATH: | |
type: string | |
default: "cvp-configuration/tempest/skip-list.yaml" | |
description: Path to skip list in container | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
description: Credentials to the Salt API | |
TEST_IMAGE: | |
type: string | |
default: "xrally/xrally-openstack:0.9.1" | |
description: Docker image to use for running Rally/Tempest | |
TARGET_NODE: | |
type: string | |
default: "" | |
description: Node where container with Tempest will be run | |
PROXY: | |
type: string | |
default: "" | |
description: Proxy address to clone repo and install python requirements | |
TEMPEST_TEST_PATTERN: | |
type: string | |
default: "set=smoke" | |
description: Use set=smoke (or identity,full...) or just test name | |
TEMPEST_ENDPOINT_TYPE: | |
type: choice | |
choices: | |
- internalURL | |
- adminURL | |
- publicURL | |
description: Openstack endpoint type to use during test run | |
TEMPEST_REPO: | |
type: string | |
default: "https://github.com/openstack/tempest" | |
description: URL to Tempest repo (local or remote) or path to tempest folder in container | |
TOOLS_REPO: | |
type: string | |
default: "https://github.com/Mirantis/cvp-configuration" | |
description: URL of repo where testing tools, scenarios, configs are located. | |
TEMPEST_VERSION: | |
type: string | |
default: "15.0.0" | |
description: Version of Tempest | |
cvp-ha: | |
type: workflow-scm | |
name: cvp-ha | |
display_name: "CVP - HA tests" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
credentials: "gerrit" | |
script: cvp-ha.groovy | |
param: | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
description: Credentials to the Salt API | |
TEMPEST_TARGET_NODE: | |
type: string | |
default: "" | |
description: Node where container with tempest will be run | |
TEST_IMAGE: | |
type: string | |
default: "xrally/xrally-openstack:0.9.1" | |
description: Docker image to use for running Rally/Tempest | |
TARGET_NODES: | |
type: string | |
default: "ctl*" | |
description: Nodes to test | |
DEBUG_MODE: | |
type: boolean | |
default: 'false' | |
description: If you need to debug (keep container after test), please enabled this | |
RETRY_CHECK_STATUS: | |
type: string | |
default: "200" | |
description: If you have any problems with timeouts (e.g. while waiting for node to be up/down), please increase this value | |
SKIP_LIST_PATH: | |
type: string | |
default: "cvp-configuration/tempest/skip-list.yaml" | |
description: path to skip-list file inside container | |
PROXY: | |
type: string | |
default: "" | |
description: Proxy address to clone repo and install python requirements | |
TEMPEST_TEST_PATTERN: | |
type: string | |
default: "set=smoke" | |
description: Use set=smoke (or identity,full...) or just test name | |
MANUAL_CONFIRMATION: | |
type: boolean | |
default: 'false' | |
description: Ask for confirmation before doing something destructive (reboot/shutdown node) | |
TEMPEST_REPO: | |
type: string | |
default: "https://github.com/openstack/tempest" | |
description: Can be repo url (local or remote) or path to folder (inside container) with Tempest | |
TOOLS_REPO: | |
type: string | |
default: "https://github.com/Mirantis/cvp-configuration" | |
description: URL of repo where testing tools, scenarios, configs are located. | |
cvp-perf: | |
type: workflow-scm | |
name: cvp-perf | |
display_name: "CVP - Performance tests" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
credentials: "gerrit" | |
script: cvp-perf.groovy | |
param: | |
DEBUG_MODE: | |
type: boolean | |
default: 'false' | |
description: Enable if you need to keep container after the test and debug | |
RALLY_SCENARIO_FILE: | |
type: string | |
default: "cvp-configuration/rally/rally_scenarios.json" | |
description: Path to scenario file in container | |
TEST_IMAGE: | |
type: string | |
default: "xrally/xrally-openstack:0.9.1" | |
description: Docker image to use for running Rally/Tempest | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
description: Credentials to the Salt API | |
TARGET_NODE: | |
type: string | |
default: "" | |
description: Node where docker container with Rally will be run | |
TOOLS_REPO: | |
type: string | |
default: "https://github.com/Mirantis/cvp-configuration" | |
PROXY: | |
type: string | |
default: "" | |
cvp-stacklight: | |
type: workflow-scm | |
name: cvp-stacklight | |
display_name: "CVP - Stacklight tests" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: "gerrit" | |
script: cvp-runner.groovy | |
param: | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
TESTS_REPO: | |
type: string | |
default: "https://github.com/legan4ik/stacklight-pytest" | |
description: Url for cvp-stacklight-tests | |
TESTS_SETTINGS: | |
type: string | |
default: "SL_AUTOCONF=True" | |
description: "Additional environment variables to export" | |
TESTS_SET: | |
type: string | |
default: "stacklight-pytest/stacklight_tests/tests/prometheus/" | |
description: "Leave empty for full run or choose a file, e.g. test_dashboards.py" | |
PROXY: | |
type: string | |
default: "" | |
description: Proxy address to clone repo and install python requirements | |
cvp-spt: | |
type: workflow-scm | |
name: cvp-spt | |
display_name: "CVP - Simplified Performance Tests (SPT)" | |
discard: | |
build: | |
keep_num: 20 | |
artifact: | |
keep_num: 20 | |
concurrent: false | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: "gerrit" | |
script: cvp-spt.groovy | |
param: | |
SALT_MASTER_URL: | |
type: string | |
default: "${_param:jenkins_salt_api_url}" | |
description: Full Salt API address [e.g. https://10.10.10.2:6969] | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
default: "salt" | |
TESTS_REPO: | |
type: string | |
default: "https://github.com/Mirantis/cvp-spt" | |
description: Url for cvp-spt repository | |
TESTS_SETTINGS: | |
type: string | |
default: "" | |
description: "Additional environment variables to export" | |
TESTS_SET: | |
type: string | |
default: "cvp-spt/cvp_spt/tests/" | |
description: "Leave empty for full run or choose a file, e.g. test_glance.py" | |
PROXY: | |
type: string | |
default: "" | |
description: Proxy address to clone repo and install python requirements |