Giter VIP home page Giter VIP logo

ipa-devel-tools's Introduction

ipa-devel-tools

Status: travis-ci status

Tools to simplify freeIPA development and testing

Installation:

$ sudo python3 setup.py install

ipa-vagrant-ci-topology-create

Creates a topology for CI tests by using vagrant. This script creates new directory structure and configuration files for vagrant and IPA CI tests.

Basic usage:

$ ipa-vagrant-ci-topology-create basic-test --replicas 1 --clients 1 --add-package={freeipa-server,freeipa-server-dns,freeipa-tests}
$ cd basic-test
    # to test own RPMs, please put them into rpm directory
$ vagrant up
$ vagrant ssh
$ IPATEST_YAML_CONFIG=/vagrant/ipa-test-config.yaml ipa-run-tests test_integration/test_simple_replication.py --verbose --logging-level=debug --pdb
<enjoy/>
$ logout
$ vagrant destroy

Persistent custom configuration changes can be made by editing configuration yaml file. The configuration file is not created by default, must be exported by using option --export-config first.

Exporting configuration:

$ ipa-vagrant-ci-topology-create basic-test --export-config

Default location of configuration file is '~/.ipa_vagrant_config.yaml'. Different location can be specified by --config-file option.

Showing current configuration:

$ ipa-vagrant-ci-topology-create basic-test --show-config

ipa-vagrant-ci-runner

Prepares topology and runs specified tests by using vagrant. To test own RPM files, please put them into rpm directory created by --init option

Basic usage:

$ mkdir my-ci
$ cd my-ci
$ cp my-rpms-to-test*.rpm rpm/
$ ipa-vagrant-ci-runner simple_replication [test2 ...]

To get list of tests available please run:

$ ipa-vagrant-ci-runner --list-tests

Test results and informations from provisioning are available in log in test directory.

ipa-devel-tools's People

Contributors

martinbasti avatar mdritchie avatar tbabej avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.