aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix yarn install during docker build on CIMax Magorsch2020-02-191-0/+2
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Don't install a crontab in the containersMax Magorsch2020-02-121-5/+0
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Update to Bootstrap 4Max Magorsch2020-01-031-1/+1
| | | | | | | | | | | Update the project to Bootstrap 4, which is a major rewrite of the entire project. So far, a Tyrian version that is based on Bootstrap 4 is included for that reason. However, in future, it may be retrieved from the CDN or installed as node module. Webpacker is bundeling all of the javascript code and stylesheets. Signed-off-by: Max Magorsch <max@magorsch.de>
* Migrate the project from sprockets to webpackerMax Magorsch2020-01-034-3/+44
| | | | | | | | | | | | | | | | | | | The asset pipeline was introduced in Rails 3.1. However, since Rails 5.1 webpacker has been available, so that it's possible to use webpack. The project has been fully migrated to use webpacker for bundeling javascripts as well as stylesheets now. This way, sprockets has been completely replaced and removed from the project. Associated gems as jquery-rails have been removed as well. Accordingly all advanced webpack functionalities are available now. The bin/first-run file as well as the Dockerfiles have been adjusted to use webpacker instead of the asset pipeline. Please note: In order to use webpacker, yarn has to be installed on the target system. Please make sure that 'yarnpkg' is in your path. Signed-off-by: Max Magorsch <max@magorsch.de>
* Speed up travis furtherMax Magorsch2020-01-011-1/+1
| | | | Signed-off-by: Max Magorsch <max@magorsch.de>
* Fix the test failuresMax Magorsch2020-01-011-0/+1
| | | | | | | | | | | | | | So far the tests are failing when executed, using for example the docker-compose.test.yml file. To fix this, three things have changed: - the kkuleomi:update:all task has been added to bin/test.sh so that the test index is populated using the test data - kkuleomi_config.rb has been replaced by kkuleomi_config.rb.test - a repo/profiles/categories file has been created Signed-off-by: Max Magorsch <max@magorsch.de>
* Fix rubocop warningsHans de Graaff2019-12-201-7/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Add a docker-compose file for integration testsMax Magorsch2019-10-161-0/+11
| | | | | | | | Add a docker-compose file which can be used for testing the application. The file includes a complete production environment including elasticsearch, redis and sidekiq. Signed-off-by: Max Magorsch <max@magorsch.de>
* Fix in_docker check.v7.0.2Alec Warner2019-09-241-1/+6
| | | | | | When not in docker /proc/1/cgroup may not exist. Signed-off-by: Alec Warner <antarus@gentoo.org>
* bin/update-all: handle non-docker dev environmentv7.0.1Robin H. Johnson2019-09-211-1/+10
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Add missing then.Alec Warner2019-09-171-1/+1
| | | | | | Thanks to grknight for pointing this out to me. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Disable sync in production.Alec Warner2019-09-161-1/+3
| | | | | | | | This should allow RAILS_ENV=development to work for docker. In production the sync is handled by puppet and the user running update-all.sh doens't have permission to sync. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Run the initialization scripts using docker-composefeature/es-7.3developMax Magorsch2019-09-055-7/+27
| | | | | | | | docker-compose can be used to deploy the application. The index will be initialized and updated. Furthermore a cron job will be registered for production environments to update the index every 10 minutes. ° Signed-off-by: Max Magorsch <max@magorsch.de>
* Update to Rails 5.2Hans de Graaff2019-07-223-15/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update to Rails 5.1Hans de Graaff2019-07-222-0/+15
| | | | | | | | This also fixes a bug in the fresh_when handling for the changelog view, which was exposed by the update (due to ETag now taking the flash message, if any, into account). Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Run "rails app:update"Hans de Graaff2019-07-223-21/+18
| | | | | | Merge all upstream changes for a new Rails 5.0 application. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Mark bin/first-run as executable.Alec Warner2018-02-251-0/+0
|
* Add a script to ease first-run setup.Alec Warner2018-02-251-0/+8
|
* bin: fix script path.v5.0.1Robin H. Johnson2017-10-171-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Capture Portage tree scripts.Robin H. Johnson2017-09-304-0/+28
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Initial commit w/currently running codeAlex Legler2016-07-205-0/+63