Coder Social home page Coder Social logo

seanpm2001 / manageiq-schema Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manageiq/manageiq-schema

1.0 2.0 0.0 4.62 MB

SQL schema and database migrations for ManageIQ

License: Apache License 2.0

Shell 0.01% JavaScript 0.13% Ruby 99.21% CSS 0.07% HTML 0.57%

manageiq-schema's Introduction

ManageIQ::Schema

CI Maintainability Test Coverage

Chat

Build history for master branch

SQL Schema and migrations for ManageIQ.

Development

See the section on plugins in the ManageIQ Developer Setup

For quick local setup run bin/setup, which will clone the core ManageIQ repository under the spec directory and setup necessary config files. If you have already cloned it, you can run bin/update to bring the core ManageIQ code up to date.

Testing

Unlike other ManageIQ plugins, the schema plugin uses a dummy application in spec/dummy instead of the usual spec/manageiq. This ensure that schema migrations are not dependent on any models or files in ManageIQ core.

To run the tests:

  1. If necessary, copy spec/dummy/config/database.tmpl.yml to spec/dummy/config/database.yml and modify it to access your local database
  2. Run: bin/setup
    • Copies spec/dummy/config/database.tmpl.yml to spec/dummy/config/database.yml if it doesn't exist
    • Performs bundle update
    • Generates random database region number
    • Creates/resets dummy_test database
  3. Run: rspec spec/migrations/<spec_file> or rake (Run all migration tests)

License

The gem is available as open source under the terms of the Apache License 2.0.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

manageiq-schema's People

Contributors

agrare avatar bdunne avatar blomquisg avatar bzwei avatar carbonin avatar cben avatar chessbyte avatar chrisarcand avatar d-m-u avatar fabiendupont avatar fryguy avatar gmcculloug avatar gtanzillo avatar h-kataria avatar himdel avatar hsong-rh avatar isimluk avatar jameswnl avatar jprause avatar jrafanie avatar kbrock avatar ladas avatar lfu avatar lpichler avatar mansam avatar mkanoor avatar nicklamuro avatar skateman avatar yrudman avatar zakiva avatar

Stargazers

 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.