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
b0993b0c76
Merge pull request #2109 from TracksApp/risky-gem-updates
...
Upgrade lots of gems
2018-06-19 20:46:25 -05:00
Matt Rogers
ab6e04d4c1
Upgrade lots of gems
...
This is pretty risky, as there are some major version bumps in here and
I didn't check everything to ensure things are still working. I only ran
the test suite. So, YOLO, I guess. ¯\_(ツ)_/¯
2018-06-19 20:38:52 -05:00
Matt Rogers
82dc7b395a
Merge pull request #2108 from TracksApp/update-gems
...
Update some gems
2018-06-19 08:30:51 -05:00
Matt Rogers
dd16a24b97
Update Rails to 4.2.10
2018-06-18 20:45:00 -05:00
Matt Rogers
a68d73326f
Update rubocop
2018-06-18 20:13:13 -05:00
Matt Rogers
2ed4544ab3
Merge pull request #2106 from TracksApp/stop-using-the-ci-tasks
...
Use `rake test` instead of `ci:lite`
2018-05-31 10:06:59 -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
a4476ae74a
Merge pull request #2103 from TracksApp/update-docker-configuration
...
Update the docker configuration
2018-05-31 08:09:56 -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
68ce8ad1ae
put a site.yml file in place for CI
2018-05-26 20:07:35 -05:00
Matt Rogers
c809abe289
Use the octal version of chmod
...
The prior command was wrong. I also know exactly what I'm getting with
this version.
2018-05-25 22:23:51 -05:00
Matt Rogers
672f43f03e
build the compose file before running tests
2018-05-25 22:18:33 -05:00
Matt Rogers
93c2f03efd
Skip Travis-CI's default installation steps
...
We shouldn't need this since we're doing everything inside a docker
container
2018-05-25 22:08:07 -05:00
Matt Rogers
d3a3dde421
Add the test database definition back
...
It's needed for the tests and should have never been removed in the
first place.
2018-05-25 22:07:09 -05:00
Matt Rogers
44117e73d8
fix the volume declaration
2018-05-25 22:07:04 -05:00
Matt Rogers
427f2d23ba
Don't set a language or bundler args
...
docker-compose will take care of building the image for us so we don't
need to set up ruby things or run bundler as part of the travis build
process. We just need to go straight to Docker.
2018-05-14 18:57:48 -05:00
Matt Rogers
400f0efa4e
DATABASE_URL no longer needs to be set.
2018-05-14 18:53:16 -05:00
Matt Rogers
d7d7510c8d
Update the travis configuration
...
Makes use of Travis' docker services, installing newer versions of both
docker and docker-compose.
This necessarily removes multiple Ruby version support since that's now
being controlled by the docker image we're using for builds.
2018-05-14 18:49:51 -05:00
Matt Rogers
108373f938
Bring back database.yml
...
It only contains the development database configuration by default since
we're relying on docker-compose for starting our database now.
2018-05-14 18:49:19 -05:00
Matt Rogers
faceaac874
Modify the binstubs to run things in docker
2018-05-02 16:08:41 -05:00
Matt Rogers
99ef4af3e5
Add a docker-compose.yml file
...
Defines the services that we'll use while developing Tracks. So far,
this is just a separate database service.
2018-04-25 20:10:31 -05:00
Matt Rogers
cde2108129
Add a new, slimmer Dockerfile
...
We'll use docker-compose for providing the other dependencies.
2018-04-25 19:44:21 -05:00
Matt Rogers
7922ae46de
Rename Dockerfile to Dockerfile.passenger
...
I want to slim down the normal Dockerfile so it makes it easier to do
development with a docker based workflow.
2018-04-25 19:42:21 -05:00
Matt Rogers
120af87110
Merge pull request #2097 from hewo/ssl
...
Makes force_ssl configurable
2018-01-22 15:04:16 -06:00
Heiner Wohner
c028c6c8b5
document force_ssl option
2018-01-22 18:18:04 +01:00
Heiner Wohner
047fb0acb1
Makes force_ssl configurable
2018-01-22 14:43:04 +01:00
Matt Rogers
a65ab48b9f
Merge pull request #2096 from RyanTruran/origin
...
A more rational way to load the text input with the previous names
2018-01-03 09:31:36 -06:00
Ryan Truran
db7603f799
A more rational way to decode the html entities in editable
...
a more rational way to handle edit fields
revert to previous
add html_safe
2017-12-28 10:01:54 -06:00
Matt Rogers
0c18ebecc5
Merge pull request #2086 from TracksApp/fix-top-10-longest-running
...
Fix the top 10 longest running projects list
2017-07-30 15:22:56 -05:00
Matt Rogers
eaedd53875
Add a test for longest running projects
2017-06-19 09:24:10 -05:00
Matt Rogers
500892e1a4
Fix the top 10 longest running projects list
...
Sorting by running time without a reverse takes the shortest running
projects.
2017-06-13 17:12:15 -05:00
Matt Rogers
29421661fb
Merge pull request #2082 from dnrce/installation-wiki
...
Move alternative installation options to the wiki
2017-05-20 09:49:34 -05:00
Dan Rice
0bb548d116
Move alternative installation options to the wiki
...
[ci skip]
2017-05-20 10:25:26 -04:00
Dan Rice
a8e2978054
Use Firefox 45 ESR for webdriver compatibility ( #2079 )
2017-03-19 16:46:04 -04:00
Dan Rice
0d99c3df74
Merge pull request #2078 from dnrce/skip-known-failures
...
Uncomment but skip tests for known issues
2017-03-19 16:45:36 -04:00
Dan Rice
b50456d04d
Uncomment but skip tests for known issues
2017-03-19 14:13:26 -04:00
Dan Rice
881faa0d02
Merge pull request #2070 from C-Otto/fix-2069
...
reorder buttons for recurring todos to make the order uniform
2017-03-19 14:09:28 -04:00
Carsten Otto
b7bada0791
reorder buttons for recurring todos to make the order uniform
...
fixes #2069
2017-03-18 14:42:34 +01:00
Dan Rice
6fbec08e09
Merge pull request #2067 from C-Otto/rendering_helper_tests
...
Move and refactor tests for `rendering_helper`
2017-03-07 17:34:24 -05:00
Carsten Otto
afb0f03fd3
add tests for open issues
2017-03-07 22:08:12 +01:00
Carsten Otto
c0d20f2e1f
move existing tests to rendering_helper_test
2017-03-07 22:08:12 +01:00
Carsten Otto
ccac45b377
fix typo
2017-03-05 13:56:36 +01:00
Dan Rice
b8ab28819c
Merge pull request #2064 from C-Otto/master
...
add missing space
2017-02-28 22:00:08 -05:00
Carsten Otto
238b2fd670
add missing space
...
bug introduced in c46e5a9e1d
fixes #2063
2017-02-28 22:16:48 +01:00