aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove some redundant viewsChristopher Baines2018-04-03
| | | | And replace with a redirect and flash message.
* Improve the test suiteChristopher Baines2018-04-03
| | | | | | Add some tests, and setup the helpers. For some reason, directly running the test files requires the ugly `ENV['RAILS_ENV'] = 'test'` line at the top of the test_helper.rb file.
* Add mocha as a test dependencyChristopher Baines2018-04-03
| | | | This is more useful than the stub support in minitest.
* Fix the strong params configChristopher Baines2018-04-03
| | | | Raise everywhere, instead of log, as this is more explicit.
* Rework the gem situationChristopher Baines2018-04-03
| | | | | | Use gem rather than require in config/boot.rb. This is better, as it only sets up the $LOAD_PATH, and doesn't actually require the gem. This prevents Rails getting loaded early, and getting confused.
* Remove unused methodChristopher Baines2018-04-03
| | | | This has been moved to the SetupController.
* Replace ruby-byebug with ruby-pryChristopher Baines2018-04-03
| | | | | Byebug is better, it can do navigation without any additional packages.
* Remove some unnecessary asserts related code/commentsChristopher Baines2018-04-03
|
* Improve the database.ymlChristopher Baines2018-04-03
| | | | Uncomment the test and production sections.
* Remove lots of unnecessary filesChristopher Baines2018-04-03
| | | | | Using the Rails generator seems to generate quite a lot of unnecessary files...
* Fix the MiniEnvironmentJob destroyChristopher Baines2018-04-03
|
* Add the requirements for the Terraform AWS providerChristopher Baines2018-04-03
|
* Specify the ordering for revisionsChristopher Baines2018-04-03
| | | | And update the show page to use the default scope.
* Add an archived column to GovukGuix::RevisionChristopher Baines2018-04-03
|
* Provide the AWS access key and secret as variablesChristopher Baines2018-04-03
| | | | To terraform.
* Fix and improve the fetch revision jobChristopher Baines2018-04-03
|
* Improve the govuk-guix revision pageChristopher Baines2018-04-03
| | | | Show the store path, and the mini environments which use this revision.
* Add mini_environments association to GovukGuix::RevisionChristopher Baines2018-04-03
|
* Add domains to backends, and rework build jobsChristopher Baines2018-04-03
| | | | | | | Add a domain to the libvirt and AWS Terraform backends. Along the way, improve the backend controllers and views, and rework the build jobs, simplifying them in to a single new class GovukGuix::BuildJob, which uses configuration from the respective backend.
* Remove trailing whitespaceChristopher Baines2018-04-03
|
* Make the AWS region readonlyChristopher Baines2018-04-03
| | | | As updating it won't migrate the existing mini environments.
* Add missing importsChristopher Baines2018-04-03
|
* Fix plugin_dir in Backends::TerraformChristopher Baines2018-04-03
|
* Error on unpermitted strong parametersChristopher Baines2018-04-03
| | | | | Unless running in the production environment. This helps with development as errors are caught earlier.
* Add support for specifying Signon usersChristopher Baines2018-04-03
| | | | When creating mini environments.
* Add a new signon_users field to MiniEnvironmentChristopher Baines2018-04-03
| | | | | | | To store the data regarding the Signon users seeded in the database. Store this as JSON, rather than data in different tables to simplify the schema, as I don't expect it to change at all once the MiniEnvironment is created.
* Remove redundant loggingChristopher Baines2018-04-03
|
* Fix Rubocop issuesChristopher Baines2018-04-03
|
* Remove trailing whitespaceChristopher Baines2018-04-03
|
* Refactor the backendsChristopher Baines2018-04-03
| | | | Add a with_terraform helper, which simplifies both backends.
* Remove a redundant methodChristopher Baines2018-04-03
| | | | This is only used in the AWS backend.
* Appease RubocopChristopher Baines2018-04-03
|
* Only build systems with Whitehall and Government FrontendChristopher Baines2018-04-03
| | | | | | If nothing is specified, then govuk-system builds everything. This takes a while, and requires lots of resources to run, so until this is configurable, just hardcode these two services.
* Switch --output to --type when calling govuk-systemChristopher Baines2018-04-03
| | | | As the argument has changed in govuk-guix.
* Add missing import to GovukGuix::JobChristopher Baines2018-04-03
|
* Add ruby-pry to the development environmentChristopher Baines2018-04-03
|
* Add information on dependencies to the READMEChristopher Baines2018-04-03
|
* Ignore the Metrics/AbcSize checkChristopher Baines2018-04-03
| | | | I prefer to let people make this call.
* Remove some trailing whitespaceChristopher Baines2018-04-03
|
* Refactor the EnqueuedJobs classChristopher Baines2018-04-03
| | | | Neaten it up with the help of Rubocop.
* Remove unnecessary requiresChristopher Baines2018-04-03
|
* Refactor the .envrcChristopher Baines2018-04-03
| | | | | Remove out the specific details in to .local.envrc, to remove the system specific filenames from the file.
* Add Emacs configurationChristopher Baines2018-03-29
|
* Add Coala configurationChristopher Baines2018-03-29
|
* Add Rubocop configurationChristopher Baines2018-03-29
|
* Add static analysis tools to guix.scmChristopher Baines2018-03-29
| | | | Add coala and rubocop, as they might be useful for doing linting.
* Improve AWS backend supportChristopher Baines2018-03-29
|
* Update .envrcChristopher Baines2018-03-29
|
* Add backend controllers, models and viewsChristopher Baines2018-03-29
| | | | Also annotate existing models.
* Create tables for the backendsChristopher Baines2018-03-29
|