aboutsummaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAge
...
* Rework the services method in the MiniEnvironmentControllerChristopher Baines2018-06-01
| | | | | | | Bring the transaction inside of the request.put? conditional, as it shouldn't have been outside to begin with. Also, store the data snapshot if one is selected.
* Support selecting a data snapshot on the services pageChristopher Baines2018-06-01
|
* Add the form-horizontal CSS class to the services formChristopher Baines2018-06-01
| | | | As this helps with the CSS styling from Bootstrap.
* Add an optional DataSnapshot to the MiniEnvironment modelChristopher Baines2018-06-01
| | | | To store if a DataSnapshot is being used.
* Add a basic description method to GovukGuix::DataSnapshotChristopher Baines2018-06-01
| | | | This is for use when rendering these in a view.
* Add job to create data snapshotsChristopher Baines2018-06-01
|
* Add a read_json_file utility to the GovukGuix:Job classChristopher Baines2018-06-01
| | | | | This will be useful when reading data from the store, including from remote machines.
* Add an optional association to backends for data snapshotsChristopher Baines2018-06-01
| | | | | | | I'm a bit unsure about this, but it feels like generating snapshots remotely is useful, but if that is supported, then a remote snapshot won't be available locally to use. Adding the option of making them backend specific is one way of working around this.
* Change the signature of Backends.find_by_type_and_idChristopher Baines2018-06-01
| | | | | | | It now takes two arguments, and when used by the MiniEnvironmentsController, the split is performed there. This makes it easier to reuse elsewhere in the codebase.
* Add the GovukGuix::Revision commit_hash to the DataSnapshot modelChristopher Baines2018-06-01
| | | | | This is to record the revision of govuk-guix used to create the snapshot.
* Add a new DataSnapshot model to store data snapshotsChristopher Baines2018-05-30
|
* Use basic authentication for mini environmentsChristopher Baines2018-05-30
| | | | | | To avoid the origin being too easy to access, which could potentially be misleading as a mini environment isn't the real GOV.UK website, although it might look similar.
* Use proper error pages for mini environmentsChristopher Baines2018-05-30
|
* Use the services specified when building mini environmentsChristopher Baines2018-05-30
|
* Enable editing the services when creating a mini environmentChristopher Baines2018-05-30
|
* Add a new model to track servicesChristopher Baines2018-05-30
| | | | | Associated with a mini environment. This can also be used to store customisations over the chosen revision of govuk-guix.
* Update the govuk_guix_revision model descriptionChristopher Baines2018-05-28
|
* Avoid unnecessary quotingChristopher Baines2018-05-28
| | | | | This seems to cause errors in the govuk-guix when parsing the arguments.
* Remove duplicated build optionChristopher Baines2018-05-28
|
* Show the available services for each revisionChristopher Baines2018-05-24
|
* Don't disable the Destroy buttonChristopher Baines2018-05-03
|
* Remove line with trailing whitespaceChristopher Baines2018-05-03
|
* Improve the AWS backendChristopher Baines2018-05-03
| | | | | | This gets the AWS backend to the point where you can deploy the backend, and then a mini environment without any actions outside of the govuk-mini-environment-admin.
* Add extra fields to the Terraform AWS backendChristopher Baines2018-05-03
|
* Display the initial Signon users on the show pageChristopher Baines2018-05-03
|
* Improve the jobs partialChristopher Baines2018-05-03
| | | | Fix some of the ids, add a caret, and improve the line length.
* Improve the support for LibvirtChristopher Baines2018-04-12
| | | | | | | | | Separate out the backend things, like the virtual network, from the mini environment. This makes it easier to have resources shared between mini environments. Also handle the deployment of this new backend related Terraform configuration.
* Generate random passphrases for Signon usersChristopher Baines2018-04-12
| | | | | Store the passphrase in the clear, as the intent here is to show it to the user.
* Improve the handling of jobsChristopher Baines2018-04-12
| | | | | Move the display in to a partial and improve. Handle the finished and enqueued jobs in a more consistent way.
* Add a QueJob modelChristopher Baines2018-04-12
|
* Change mini_environment_id to state_id on TerraformStateChristopher Baines2018-04-12
| | | | | To allow supporting tracking related TerraformStates for backends as well.
* Change mini_environment_id to model_id on FinishedTerraformJobChristopher Baines2018-04-12
| | | | In preparation of setting up backends through Terraform as well.
* Remove some unused jobsChristopher Baines2018-04-12
| | | | These have been replaced by the MiniEnvironmentJob.
* Move the terraform utilities to lib/Christopher Baines2018-04-12
| | | | | | | | | Change the module to a class, which is used to represent a terraform working directory. Change the routing for the terraform http backends, to remove any connection with mini environments, and remove this concern from the new TerraformWorkingDirectory class also.
* Fix a couple of linting issuesChristopher Baines2018-04-12
|
* Improve the DestroyJobChristopher Baines2018-04-12
| | | | | Use the MiniEnvironmentJob class, and just call the destroy method on the relevant backend.
* License under the AGPLv3+Christopher Baines2018-04-12
|
* Remove some redundant viewsChristopher Baines2018-04-03
| | | | And replace with a redirect and flash message.
* Remove unused methodChristopher Baines2018-04-03
| | | | This has been moved to the SetupController.
* 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
|
* 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.