Commit graph

29 commits

Author SHA1 Message Date
Jyri-Petteri Paloposki
5bb723329b Few more settings in order for the CI test automation 2020-07-19 22:04:45 +03:00
Jyri-Petteri Paloposki
b2ede09fe6 Remove unnecessary debug output 2020-07-19 21:50:35 +03:00
Jyri-Petteri Paloposki
869bf2a9fd Mount the mandatory config files separately in docker-compose, since it's including the whole /app from host and therefore the copies made in Dockerfile aren't available. 2020-07-19 21:44:43 +03:00
Jyri-Petteri Paloposki
53c7c94306 A few more fixes in hope of fixing the Docker Compose 2020-07-19 18:07:23 +03:00
Jyri-Petteri Paloposki
4d65a8f761 Overhaul the environment system in bin/ to make the defaults easier to understand. Update the installation instructions.
Fixes #2170, #2372, #2329, #2368
2020-07-19 17:20:35 +03:00
Dan Rice
79ac907346 Migrate CI to GitHub Actions 2019-10-30 21:24:15 -04:00
Matteo Giaccone
a15a7d8a95 Fix Docker setup
This commit fixes the Docker setup and also the CI build.

Also the contributing guide is updated with the new information related
to Docker. The CONTRIBUTING.md file is used to comply with GitHub
guidelines to help other developers to contribute.
2018-12-06 20:20:01 +01:00
Matt Rogers
36e59746ea
Add the environment setup for Rails 5 2018-10-27 12:28:29 -05:00
Matt Rogers
e4e6b78f91
Add a script for running a server
In addition to following the 'script to rule them all' pattern, this
makes it easier to bring up a rails server by abstracting all the docker
things away (of which there are quite a few) and will prevent changes to
the binstubs from being able to run a server for development purposes.
2018-07-21 10:21:54 -05:00
Matt Rogers
36e29b82c8
Add a script to bring up a console
In addition to following the 'scripts to rule them all' pattern, this
makes it easier to pull up a console by abstracting all the docker
things away and will prevent a change to the binstubs from being able to
run a rails console.
2018-07-21 10:20:28 -05:00
Matt Rogers
ec2b6cf22e
Publish ports based on environment variable
Allows two things:

1. Access a running server from outside the docker container
2. Run both a console and a server at the same time, for debugging or
whatever else.
2018-07-21 10:18:31 -05:00
Matt Rogers
f1d2c7c0f2
Use rake test instead of ci:lite
The `ci:lite` task is busted but the `test` task works just fine.
2018-05-31 09:56:51 -05:00
Matt Rogers
ff522ec6e4
Use rake db:reset to get a good database 2018-05-31 07:59:47 -05:00
Matt Rogers
49bc3eb0cd
Poll for the database to be up before running tests 2018-05-30 08:21:21 -05:00
Matt Rogers
9f65d809da
Increase the time to wait for the DB.
If this doesn't work, I'll implement a poll mechanism next.
2018-05-29 20:26:17 -05:00
Matt Rogers
7dd8e8caec
Use a script/cibuild to control the CI process
We need some extra setup work that's easier to accomplish in a separate
script than embedding it all in the Travis CI configuration. Follow the
scripts-to-rule-them-all pattern from GitHub and add a script/cibuild
for that purpose.
2018-05-29 20:14:19 -05:00
Matt Rogers
faceaac874 Modify the binstubs to run things in docker 2018-05-02 16:08:41 -05:00
Dan Rice
7d7e47deff Add Spring and spring-aware binstubs
Also remove /script, which is no longer used in Rails 4
2014-05-16 12:21:40 -04:00
Dan Rice
cc633fe6d2 Remove obsolete scripts from Rails <3.0 and RSpec 2013-01-28 17:11:59 -05:00
Reinier Balt
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
Reinier Balt
4aa0e63e85 update tree with missing 2.3.11 files or files that were not updated
this has no real impact on tracks as an app
2011-05-31 19:30:35 +02:00
Reinier Balt
4620349db1 update cucumber 2010-01-13 20:39:28 +01:00
Eric Allen
50e80d2673 Update RSpec situation. Should fix #960 2010-01-01 22:39:00 -05:00
Reinier Balt
43440eaf33 add cucumber for integration testing and add a feature for statistics
refactor some stuff to support testing statistisc
2009-04-13 22:26:20 +02:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
Luke Melia
0f7d6f7a1d Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium. 2008-06-18 02:57:57 -04:00
Luke Melia
901a58f8a3 Upgraded to Rails 2.1. This can have wide ranging consequences, so please help track down any issues introduced by the upgrade. Requires environment.rb modifications.
Changes you will need to make:

 * In your environment.rb, you will need to update references to a few files per environment.rb.tmpl
 * In your environment.rb, you will need to specify the local time zone of the computer that is running your Tracks install.

Other notes on my changes:

 * Modified our code to take advantage of Rails 2.1's slick time zone support.
 * Upgraded will_paginate for compatibility
 * Hacked the Selenium on Rails plugin, which has not been updated in some time and does not support Rails 2.1
 * Verified that all tests pass on my machine, including Selenium tests -- I'd like confirmation from others, too.
2008-06-17 01:13:25 -04:00
bsag
0380d1b15a Merge branch 'master' of /Users/jackie/Sites/tracks_svn into svn-tracking
Up to r881

* 'master' of /Users/jackie/Sites/tracks_svn: (22 commits)
  Added .gitconfig
  Added yaml_db plugin: http://opensource.heroku.com/
  applied patch from Eric from #732
  fixes #730 restores ability to delete user from user management page
  fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (")
  Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric!
  explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist.
  hopefully fixes #727.Changes the check on running animation to finished animation
  regenerate compressed js and cleanup whitespace
  turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName
  forgot to create a new compressed js from the previous js changes
  in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older.
  fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating
  fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil
  fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not.
  merges changes from tracks1.6 to trunk
  prepares trunk for 1.6 release
  fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX.
  fixes #718. The link included the number of actions which resulted from last commit
  removed some more whitespace to reduce the download of the mobile view.
  ...
2008-06-15 09:50:05 +01:00
bsag
20940ff348 Removed outer tracks directory. 2008-05-24 15:57:18 +01:00