Commit Graph

8 Commits

Author SHA1 Message Date
Andreas Jaeger 9e22aa5af0 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I7b6da23a9ca05fb94f9f14e0f304cce596c469e8
2019-12-18 09:55:16 +01:00
Dennis Dmitriev b36041e4ce Move tests into a ./tests folder
- K8sClient moved from ./models to ./managers
- all YAMLs placed to ./tests/fixtures/templates
- all tests placed to ./tests/ into separated folders depending
  on tests types
- ssh_manager removed from helpers (unused)
- main folder 'mcp_tests' renamed to 'fuel_ccp_tests'
- conftest.py moved to the ./tests/system and ./tests/component
  folder because of failed unit tests (we use fixtures with
  autouse=True which fail unit tests).
- empty conftest.py added to the root of fuel_ccp_tests module
  to get unit tests passed

Change-Id: I25671dd7d6f3ee294a4e4146f9f2c2ba4d9b2d06
2016-08-24 18:36:25 +00:00
Sergey Lebedev 11f19d01f4 Switch to fixture using in tests
My proposal is using fixtures for our tests. So, common actions are in
  mcp_tests/system_tests/base_test.py, fixtures described in
  mcp_tests/system_tests/*_fixtures.py, and test looks like
  mcp_tests/system_tests/test_ccp_install_k8s.py

  Updated command for test:

  ENV_NAME="<env_name>" IMAGE_PATH="<path_to_qcow2_image>" WORKSPACE=/tmp DEPLOY_SCRIPT="/path/to/kargo_deploy.sh" SUSPEND_ENV_ON_TEARDOWN=false py.test -vvv -s mcp_tests/system_tests/test_ccp_install_k8s.py

Change-Id: I3f18a0463e6e0b2a2c20a83ef6c1a28f09beaeed
2016-07-29 15:02:33 +03:00
Sergey Lebedev 4544f39097 Add manager for creating VMs, PEP8 impromevents and some tests.
Test creating VMs (via fuel-devops) and deploying k8s via kargo_deploy.sh (may be found in
    openstack/fuel-ccp-installer project):

  ENV_NAME="<env_name>" IMAGE_PATH="<path_to_qcow2_image>" WORKSPACE=/tmp DEPLOY_SCRIPT="/path/to/kargo_deploy.sh" SUSPEND_ENV_ON_TEARDOWN=false py.test -vvv -s -k "create_vms or env_base"

Change-Id: I78e1d74fed98834d46b41bbc2cae0988a6f0f606
2016-07-12 09:39:10 +00:00
Mateusz Matuszkowiak c10104863d Prepare fuel-ccp-tests repo
Updated tox.ini and .gitreview file to match current
gerrit instance.

Change-Id: I852a467f0445fa6c697997c1729d0173769ef0b4
2016-07-11 13:03:27 +02:00
Dmitry Tyzhnenko cfae69ba58 K8s models and example k8s tests
- models for k8s cluster
- example tests for k8s

run command:
  KUBE_HOST=ADMIN_HOST_IP py.test -vv mcp_tests/system_tests

Change-Id: I856144cff3f3644f18726f5f27e7251840545a52
2016-06-30 09:34:55 +00:00
Dmitry Tyzhnenko 4f37eff0e9 Add mysql service image test
Change-Id: I4dca8441bdd3dab31a01798bd6bfe488a7ef5eeb
2016-05-26 02:09:04 +03:00
Tatyana Leontovich 9e7594899c Initial commit with some basic code
Also add some base helpers

Change-Id: I173240c0fdbf4cc7355e80739d5d10df8e9dd054
2016-05-20 11:42:07 +03:00