• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NZOI / nztrain
38%
master: 38%

Build:
Build:
LAST BUILD BRANCH: feature/subtask-scoring
DEFAULT BRANCH: master
Repo Added 08 Oct 2013 02:33AM UTC
Files 141
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH cap3
branch: cap3
CHANGE BRANCH
x
Reset
  • cap3
  • 01-05-Update_devise
  • 01-06-Upgrade_has_scope
  • 07-19-adjust_default_controller_spec_helper_params_to_never_be_nil
  • 12-30-Add_a_tiny_spec_for_the_file_attachments_page
  • 303-activerecordstatementinvalid-pgundefinedtable-error-missing-from-clause-entry-for-table-contest_relation
  • 321-actionviewtemplateerror-undefined-method-new-for-bigdecimalclass
  • NZIC-link-fix
  • actions/checkout-4
  • actions/ubuntu-22.04
  • actions/ubuntu-latest
  • add-contest-exporter
  • add-contest-exporter-v2
  • add-javascript-into-master
  • add-puma
  • add-pypy
  • apt-get-update-before-install
  • archive-migrations
  • before-action-cont
  • better-expand-maybe
  • better-expand-maybe-v2
  • branch-deploy
  • change-mailer-address
  • change-mailer-templates
  • ci-test
  • class-names-are-strings
  • clean-up-submissions-index
  • compiled-evaluators
  • contest-after-save-with-spec
  • contest-form-validation
  • contest-relations
  • contests-duration-units
  • contests-owner-column
  • contests-owner-on-show-page
  • convert-specs-with-transpec
  • dependabot-test-merge-all
  • dependabot/bundler/carrierwave-1.3.2
  • dependabot/bundler/ffi-1.12.2
  • dependabot/bundler/geocoder-1.6.1
  • dependabot/bundler/jquery-rails-3.1.3
  • dependabot/bundler/jquery-rails-4.4.0
  • dependabot/bundler/json-2.3.1
  • dependabot/bundler/loofah-2.3.1
  • dependabot/bundler/mechanize-2.7.7
  • dependabot/bundler/nokogiri-1.10.8
  • dependabot/bundler/rack-protection-1.5.5
  • dependabot/bundler/rmagick-5.3.0
  • dependabot/bundler/rubyzip-1.3.0
  • dependabot/bundler/sprockets-3.7.2
  • deployed
  • deployed-merged-into-master
  • disable-async-javascript
  • disable-school
  • feature/subtask-scoring
  • fewer-ci-runs
  • fix-ambiguous-matches-in-submission-spec
  • fix-bundle-whenever
  • fix-current-user-detection-on-scoreboard
  • fix-file-attachments
  • fix-filelink-path-404
  • fix-inspection-formating
  • fix-inspection-formatting-float-right-v2
  • fix-problemset-truncation
  • fix-redis-installer
  • fix-statement-visibility-in-importer
  • fix-submissions-signed-out
  • fix-submissions-spec
  • fix-type-mismatch-in-by-user-param
  • fixes
  • forbid-commas-in-submissions-route
  • formats-and-routes
  • gemfile-assets-group
  • gemfile-production-group
  • gh-actions-diff-schema
  • gh-actions-skip-assets-gems
  • gh-actions-v2
  • gh-actions-v2-rebase-1
  • gh-actions-v2-suggestions
  • gh-actions-v3
  • graphite-base/290
  • graphite-base/292
  • graphite-base/296
  • graphite-base/297
  • graphite-base/298
  • graphite-base/300
  • graphite-base/302
  • graphite-base/314
  • graphite-base/315
  • graphite-base/338
  • graphite-base/339
  • hide-scores-of-deleted-users-below-median
  • ignore-ds
  • improve-judging-errors
  • inspect-formatting-remove-repeat
  • interactive-problems
  • judging-overhaul
  • less-deprecation-warnings
  • loofah-rails-5
  • mailer-links-use-https
  • master
  • migration-version
  • migrations-timestamps-null
  • nginx-installer-https
  • nice-messages
  • pin-isolate-1.10.1
  • pr/remove-hard-coded-nztrain-email
  • problem-browing-spec
  • public-file-server
  • puma
  • pygments-2.3.1
  • qless
  • qless-log-level
  • rails-4-1-session-store
  • rails-5
  • rails-5-0-deprecations
  • rails-5-1
  • rails-5-before-callback-return
  • rails-5-cleanup
  • rails-5-deprecations
  • rails-5-suggestions
  • rails-5-suggestions-v2
  • rails.4
  • readme-markdown
  • redis-installer-cleanup
  • redis-installer-fix-pin-7-4-4
  • reduce-language-installs
  • refactor-logic-for-hiding-scores-below-median
  • remove-alias-method-chain
  • remove-asset-compressors
  • remove-coffeescript
  • remove-contest-finish-at-with
  • remove-j
  • remove-jquery-historyjs
  • remove-maxmind-geoip
  • remove-newrelic
  • remove-nokogiri-deps
  • remove-permitted-params-caching
  • remove-sass
  • remove-squeel
  • remove-strong-presenters
  • remove-test-cases-test-sets
  • remove-transaction-callback
  • rspec-persistence-path
  • schema-limit-255
  • school-management
  • scoreboard-reduce-db-queries
  • scoreboard-refresh-ajax
  • scoreboard-update
  • scoreboard-update-v2
  • seed-mailer-settings
  • seeds
  • sentry-apm
  • sentry-raven-migration
  • server-sidebar-init
  • show-all-public-on-scoreboard
  • simplify-commands
  • skip-wkhtmltopdf-in-ci
  • staging
  • standarddb-fixes-extra
  • standarddb-fixes-manual
  • standardrb-1.0.5
  • standardrb-fixes
  • standardrb-fixes-extra
  • standardrb-fixes-manual
  • sync-rails-config-v2
  • thomas-experiment
  • tom93/ci-test
  • tom93/ci-test-simplecov
  • ubuntu-noble
  • update-bundler-1-17
  • update-devise-config
  • update-json
  • update-python
  • update-registration
  • update-rspec-3.9
  • vendor-jquery
  • write-out-facebox
  • write-out-fixtures-spec-helper
  • yui-switch-to-jre
  • zero-score-message
  • zip.fix

26 Jul 2025 12:20PM UTC coverage: 37.654%. Remained the same
16539753889

Pull #228

github

bagedevimo
Setup capistrano for deployments

The current deployment process doesn't give us many options for
rollbacks, and could have issues if the server was restarted during the
deployment. Most rails apps that aren't containerised tend to be
deployed with Capistrano.

Capistrano lets us all the same user, and manage deployment access by
giving people access to the deploy user by adding their ssh public key.
We should be able to move towards that being a sudo-less enterprise, but
qless may make that difficult.

Update the puma config in prep for actually running in production, based
on the recommended unit file from the Puma repo. Add sd_notify to the
gemfile to so that puma can use systemd watchdog to make sure it's
running healthy and happy.

The current deployment config is only for a "staging" environment
running on a virtual machine at Ben's house. We can use this
indefinitely as "staging", then add a "production.rb" when we want to
use capistrano for deployments to production.
Pull Request #228: Setup capistrano for staging deployments

2115 of 5617 relevant lines covered (37.65%)

6.51 hits per line

Relevant lines Covered
Build:
Build:
5617 RELEVANT LINES 2115 COVERED LINES
6.51 HITS PER LINE
Source Files on cap3
  • Tree
  • List 140
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16539753889 cap3 Setup capistrano for deployments The current deployment process doesn't give us many options for rollbacks, and could have issues if the server was restarted during the deployment. Most rails apps that aren't containerised tend to be deployed wit... Pull #228 26 Jul 2025 12:22PM UTC bagedevimo github
37.65
16539749626 cap3 Merge ee2b405b6 into a0a29b00d Pull #228 26 Jul 2025 12:22PM UTC web-flow github
37.65
16539749486 cap3 Setup capistrano for deployments The current deployment process doesn't give us many options for rollbacks, and could have issues if the server was restarted during the deployment. Most rails apps that aren't containerised tend to be deployed wit... push 26 Jul 2025 12:21PM UTC bagedevimo github
37.65
16539730549 cap3 Setup capistrano for deployments The current deployment process doesn't give us many options for rollbacks, and could have issues if the server was restarted during the deployment. Most rails apps that aren't containerised tend to be deployed wit... Pull #228 26 Jul 2025 12:19PM UTC bagedevimo github
37.65
16397676129 cap3 Setup capistrano for deployments The current deployment process doesn't give us many options for rollbacks, and could have issues if the server was restarted during the deployment. Most rails apps that aren't containerised tend to be deployed wit... Pull #228 20 Jul 2025 08:01AM UTC bagedevimo github
37.65
16397471787 cap3 WIP please ignore Pull #228 20 Jul 2025 07:34AM UTC bagedevimo github
37.65
16397471934 cap3 Merge e2a116f36 into acf544cba Pull #228 20 Jul 2025 07:33AM UTC web-flow github
37.65
16397420466 cap3 WIP please ignore Pull #228 20 Jul 2025 07:27AM UTC bagedevimo github
37.65
16396909736 cap3 WIP please ignore Pull #228 20 Jul 2025 06:23AM UTC bagedevimo github
37.65
16396791576 cap3 WIP please ignore Pull #228 20 Jul 2025 06:09AM UTC bagedevimo github
37.65
See All Builds (1159)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc