Giter Site home page Giter Site logo

giddyup's Introduction

GiddyUp

Welcome to the exciting world of giddyup.

What is GiddyUp?

GiddyUp is the visual scorecard for riak_test. GiddyUp provides two services, seeding riak_test with the list of tests which should be run for each platform, and receiving tests results and logs via a REST interface.

Bootstrapping and Configuration

You'll need postgres to get this working locally. Here's how!

  1. Install Postgres. e.g. brew install postgresql
  2. Initialize Postgres initdb /usr/local/var/postgres -E utf8
  3. Start Postgres: pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
  4. Create your dev database createdb giddyup_dev
  5. Test it out: psql -h localhost giddyup_dev

Also, install this: get the heroku-toolbelt

Here's how you get it running

  1. Create a .env file with the following environment variables: DATABASE_URL, S3_AKID, S3_BUCKET and S3_SECRET.
  2. Migrate your database using foreman run rake db:migrate
  3. Seed your database with the default set of tests, platforms and backend combinations using foreman run rake db:seed
  4. Start your application with foreman start

Migrations

Want to add a new migration? try bundle exec rake db:new_migration[MigrationName]!

Fun Fact: zsh hates []'s. try adding setopt nonomatch to your .zshrc to make it love them, unless you are the yesnomatch type, in which case, run noglob bundle exec rake db:new_migration[MigrationName]. Don't say I did't warn you.

How to test migrations?

Your best bet is to get the current heroku dataset with pg_dump. You need the heroku database url, which you can get with heroku config if you have access. If you don't, you shouldn't be doing this.

pg_dump -O -x postgres://whatever > heroku.sql
dropdb giddyup_dev
createdb giddyup_dev
psql giddyup_dev < heroku.sql

Once you start giddyup after that, you should have a mirror of production. Try out your migration now. the end.

Screenshot

Screenshot

Reading the Scores

Each combination of test and platform will either succeede or fail. Success is indicated by a green badge, failure by a red badge.

The text of a badge indicates the data store followed by the relative version. "U" indicates neither was specified. "L" indicates eleveldb, "M" uses memory, and "B" indicates bitcask. After the optional memory specified, the relative version is specified. "-1" indicates previous; "-2" indicates legacy.

giddyup's People

Contributors

seancribbs avatar cmeiklejohn avatar jgnewman avatar engelsanchez avatar vagabond avatar jaredmorrow avatar lordnull avatar rzezeski avatar coderoshi avatar joedevivo avatar

Watchers

Angryfox 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.