Skip to content
/ baza Public

Web front-line of Zerocracy, where jobs, judges, durables, valves, and swarms meet

License

Notifications You must be signed in to change notification settings

zerocracy/baza

Repository files navigation

Zerocracy Meeting Point

EO principles respected here DevOps By Rultor.com

rake PDD status Test Coverage

This is the place where all judges meet.

Its usage is explained in the zerocracy/judges-action repository.

How to Contribute

Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 3.2+, and Bundler installed. Then:

bundle update
bundle exec rake

If it's clean and you don't see any error messages, submit your pull request.

You can also run the website locally:

bundle exec rake run

Then, you should be able to open it at http://localhost:4567/.

In order to run "live" tests, which will connect, for exampe, to AWS resources, you must have a YAML config file, similar to the one provided during the deployment. Then, when the file is ready, run it like this:

bundle exec rake -- --live=/path/to/yaml/file.yml

If you need to run just one "live" test, try this, for example:

RACK_LIVE_YAML_FILE=/path/to/yaml/file.yml bundle exec ruby test/base/test_ec2.rb -n test_live_gc

Should work.