GithubHelp home page GithubHelp logo

freeipa / ipa-docker-test-runner Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 10.0 76 KB

A development tool intended to automate running FreeIPA tests inside Docker container

License: GNU General Public License v3.0

Python 98.48% Shell 0.08% Dockerfile 1.44%

ipa-docker-test-runner's Introduction

FreeIPA Server

FreeIPA allows Linux administrators to centrally manage identity, authentication and access control aspects of Linux and UNIX systems by providing simple to install and use command line and web based management tools.

FreeIPA is built on top of well known Open Source components and standard protocols with a very strong focus on ease of management and automation of installation and configuration tasks.

FreeIPA can seamlessly integrate into an Active Directory environment via cross-realm Kerberos trust or user synchronization.

Benefits

FreeIPA:

  • Allows all your users to access all the machines with the same credentials and security settings
  • Allows users to access personal files transparently from any machine in an authenticated and secure way
  • Uses an advanced grouping mechanism to restrict network access to services and files only to specific users
  • Allows central management of security mechanisms like passwords, SSH Public Keys, SUDO rules, Keytabs, Access Control Rules
  • Enables delegation of selected administrative tasks to other power users
  • Integrates into Active Directory environments

Components

The FreeIPA project provides unified installation and management tools for the following components:

Project Website

Releases, announcements and other information can be found on the IPA server project page at http://www.freeipa.org/ .

Documentation

The most up-to-date documentation can be found at http://freeipa.org/page/Documentation .

Quick Start

To get started quickly, start here: http://www.freeipa.org/page/Quick_Start_Guide

For developers

Licensing

Please see the file called COPYING.

Contacts

ipa-docker-test-runner's People

Contributors

f-trivino avatar martbab avatar netoarmando avatar stlaz avatar tiran avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipa-docker-test-runner's Issues

Add configuration options to ignore some of the FreeIPA tests

In a single container it makes no sense to run test_integration and test_webui suites, as these require multihost setup and are skipped by default.

Skipped tests generate a lot of cruft, however, so it would be nice to have an option to just ignore them by passing '--ignore' to ipa-run-tests

This mechanism could also be used to ignore kernel keyring tests which always fail in containerized environment

Use XDG_CONFIG_HOME for config files

It's bad style to put config files in $HOME. The correct location for config files is the directory $XDG_CONFIG_HOME/$APP_NAME/ with XDG_CONFIG_HOME=os.environ('XDG_CONFIG_HOME', os.path.expanduser('~/.config')).

Turn '--developer-mode' into a global option

--developer-mode option skips the linter steps but only for 'build' step. It would be nice, however, if we could skip lint also before running tests to save some time. The lint step can be performed concurrently as e.g. separate Travis job.

Introduce a separate 'lint' subcommand

in some use cases (e.g. automated CI) it may be beneficial to have a separate 'lint' subcommand. This would essentialy run all linters. specified lint together with '--developer-mode' option should raise error about incompatible arguments/options, since the latter option implies skipping lint step.

Don't suggest sudo install

It's a bad practice to install Python packages to the system-wide site-packages directory. Please change the documentation and suggest a virtual env instead:

{{{
$ python3 -m venv venv
$ venv/bin/pip install .
$ venv/bin/ipa-docker-test-runner
}}}

Make the individual steps (build, install rpms, etc.) configurable

There is a possibility to make the individual steps run in the container configurable from the YaML file e.g. with the help of Jinja templates to handle variable expansion.

This would allow custom setups potentially useful for developers of 389-ds or Dogtag who wish to quickly test the integration of their developer work with FreeIPA.

WebUI-unit tests: npm is installed using dnf instead of included in image

npm package should be included in image from the beginning instead of installing it using dnf. The reason is that it might happen that mirrors with Fedora packages are not available and test fails, which might block from pushing pullrequest. Another advantage might be that we save some time, but compared to whole time needed for running Travis jobs it is insignificant.

add dnf builddep to the build step

the build step just runs 'make' without actually checking for and installing additional BuildRequires from freeipa.spec.in. This has to be fixed. There should also be a possibility to pass additional options to dnf builddep from CLI.

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.