Giter Club home page Giter Club logo

micro-qa's Introduction

micro-qa

Self Contained Automated Test Environment

Setting up with Virtual Box

  1. Download and install VirtualBox

  2. Download and install Vagrant >= 1.6.3

  3. Do a fork of MicroQA project (requires github account for information on how to set up a Github account, refer to the following URL: http://help.github.com/set-up-git-redirect/). On information on how to fork a project, refer to the following link: http://help.github.com/fork-a-repo/.

  4. Clone your fork to your local machine.

  5. Install the Vagrant plugins:

         vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'
         vagrant plugin install vagrant-omnibus
    
  6. Once inside the repository run "vagrant up". This will download a virtual machine, boot it, and install MicroQA.

  7. Login to MicroQA on your browser by visiting: http://localhost:8080

Setting up with AWS or Eucalyptus

  1. Download and install Vagrant >= 1.6.3

  2. Install the Vagrant plugins:

     vagrant plugin install vagrant-aws  --plugin-version '== 0.5.0'
         vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'
         vagrant plugin install vagrant-omnibus
    
  3. Do a fork of MicroQA project (requires github account for information on how to set up a Github account, refer to the following URL: http://help.github.com/set-up-git-redirect/). On information on how to fork a project, refer to the following link: http://help.github.com/fork-a-repo/.

  4. Clone your fork to your local machine.

  5. Edit the following parameters in the Vagrantfile:

    aws.access_key_id = "XXXXXXXXXXXXXXXXXX"
    aws.secret_access_key = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"
    aws.instance_type = "m1.medium"
    ## This CentOS 6 EMI needs to have the following commented out of /etc/sudoers,
    ## Defaults    requiretty
    aws.ami = "emi-1873419A"
    aws.security_groups = ["default"]
    aws.region = "eucalyptus"
    aws.endpoint = "http://10.0.1.91:8773/services/Eucalyptus"
    aws.keypair_name = "vic"
    override.ssh.username ="root"
    override.ssh.private_key_path ="/Users/viglesias/.ssh/id_rsa"
    
  6. Once inside the repository run "vagrant up --provider=aws". This will run a virtual machine, and install MicroQA in your cloud.

  7. Login to MicroQA on your browser by visiting: http://<instance-ip>:8080

Guidelines for Contributing to MicroQA

  1. Create a test job from the MicroQA Jenkins instance (or edit an existing job)
  • Click the New Job link.
  • Enter a descriptive job name and use the Copy existing job option to pick a job that is similar to what you want to do (or a new empty job is there are no similar jobs).
  • After the job is created, then Configure the job to do what you want it to do.
  • Add a description to the job by clicking edit description on the job page. The description should be very clear about what the job does. Make sure that your job's use case is general enough to be useful to other people.
  1. Test your job and ensure it's working like you want.

  2. From your micro-qa directory login to the instance using the command: "vagrant ssh"

  3. Run the command "jenkins-sync" inside the vagrant instance.

  4. Exit the vagrant shell then commit your changes to the MicroQA repo.

  5. Once your commit is available on GitHub submit a pull request to the upstream repository.

Make sure that each pull request you submit contains a single new job, or fixes to a single job. Try not to combine too many changes in a single pull request.

micro-qa's People

Contributors

ccassler avatar gregdek avatar kushaldas avatar kyolee310 avatar mspaulding06 avatar paulweiss avatar shaon avatar tbeckham avatar viglesiasce avatar

Watchers

 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.