Giter Site home page Giter Site logo

fbladilo / ocp-mig-test-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fusor/ocp-mig-test-data

0.0 3.0 0.0 162 KB

Ansible automation to load test-data of various sample applications to aid OCP Migration development efforts

Shell 100.00%

ocp-mig-test-data's Introduction

ocp-mig-test-data Build Status

Ansible automation to load test-data of various sample applications to aid OCP Migration development efforts.

Usage

Velero is required for backups/restores, it can be installed using playbooks from this repo https://github.com/fusor/ocp-velero-ansible

Export KUBECONFIG for example: export KUBECONFIG=~/.kube/config

Set cluster password to env variable like this: export kubeadmin_password="password"

Run ansible-playbook cake-php.yml to deploy, backup and restore a sample app.

It's also possible to optionally run backup/restore: ansible-playbook cake-php.yml -e with_backup=false -e with_restore=false

There is an option for populating the database with test data: ansible-playbook mysql-pvc.yml -e with_data=true

Loging in to cluster can be enabled by setting PROMPT_LOGIN: export PROMPT_LOGIN=true

Test cases info

We need to keep track of supported and unsupported test cases.

  • Tests cases that are expected to succeed:

    • Basic app example - nginx
    • Pod - pod
    • Image Stream - mysql-centos7-is
    • RBAC - basic-sa-with-role
    • Route - route
    • CRD - crd
    • Service - service
    • NetworkPolicy - net-policy - prerequisites needed
    • Pipeline - pipeline
    • Security Context Constraints - scc
    • Replica set - sets
    • Config map - config
    • PVC - mysql-pvc
  • Tests cases that are expected to fail:

    • S2I - cakephp
    • HA - ha-mysql, ha-etcd, ha-kafka, ha-etcd-operator
  • Test cases prerequisites

    • NetworkPolicy - net-policy\net-policy-extended

      • OCP-3: networkPluginName: redhat/openshift-ovs-networkpolicy should be specified in /etc/origin/master/master-config.yaml, or better create new cluster under upshift with openshift bundle and os_sdn_network_plugin_name set to ovs-networkpolicy.
      • OCP-4: comes with default Networkpolicy plugin, but for editing use oc edit networkconfig and configure as stated in the example https://github.com/openshift/cluster-network-operator#configuring-openshiftsdn
    • RBAC

      • rbac-user-roles For running this playbook with user creation run export RBAC_PREREQ=true

ocp-mig-test-data's People

Contributors

danil-grigorev avatar evgeny-chufarov avatar jwmatthews 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.