Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Add a refresh action to the MiniEnvironment class | Christopher Baines | 2018-06-21 | |
| | | | | | This can then be used to update the Terraform state for the Mini Environment. | |||
* | Redesign the mini environment show page | Christopher Baines | 2018-06-21 | |
| | | | | | | | | | | Start introducing some workflow, and simplifying the layout. Also improve the jobs partial, making it actually show when jobs are running. The next step is to run the build as a mini environment job, which should remove some unnecessary complexity. | |||
* | Add some basic status support for mini environments | Christopher Baines | 2018-06-21 | |
| | | | | | This should enable making the show page better, as it can actually start displaying the status, and appropriate actions. | |||
* | Remove FinishedTerraformJob | Christopher Baines | 2018-06-21 | |
| | | | | | This is no longer necessary, as Que now supports keeping the job entries around in the que_jobs table. | |||
* | Replace the has_many terraform_states with a method | Christopher Baines | 2018-06-21 | |
| | | | | As the has_many didn't work, as the key is not what Rails expects. | |||
* | Fix an issue with symbol keys in GovukGuix::Job | Christopher Baines | 2018-06-21 | |
| | ||||
* | Add a terraform_states method to MiniEnvironment | Christopher Baines | 2018-06-21 | |
| | ||||
* | Extract out the mini_environment_state_id to a method | Christopher Baines | 2018-06-21 | |
| | | | | So that it can be used in other methods. | |||
* | Remove some redundant logging | Christopher Baines | 2018-06-21 | |
| | ||||
* | Add some methods to the TerraformState class | Christopher Baines | 2018-06-21 | |
| | ||||
* | Add an output to the libvirt mini_environment terraform | Christopher Baines | 2018-06-21 | |
| | | | | | This can then be used to easily determine if Terraform thinks there is a VM running. | |||
* | Split BackendMethods out of TerraformLibvirt | Christopher Baines | 2018-06-21 | |
| | | | | This makes the TerraformLibvirt class shorter, and easier to read. | |||
* | Split MiniEnvironmentMethods out of TerraformLibvirt | Christopher Baines | 2018-06-21 | |
| | | | | | Separate the mini environment related methods in to a module, to make both more readable. | |||
* | Fix an issue with the setup page | Christopher Baines | 2018-06-21 | |
| | | | | And add some test data to make the corresponding test more rigorous. | |||
* | Add the web-console gem | Christopher Baines | 2018-06-21 | |
| | | | | For easier debugging. | |||
* | Update Que to 1.0.0 (beta 3) | Christopher Baines | 2018-06-21 | |
| | ||||
* | Add a view raw JSON link to the Terraform state page | Christopher Baines | 2018-06-20 | |
| | ||||
* | Display Terraform states | Christopher Baines | 2018-06-19 | |
| | | | | | | | | Add an index route, and a route to access a historical Terraform state by index. This also makes the ordering explicit, and fixes an issue with wrapped parameters. | |||
* | Display the repository remote location on the Setup page | Christopher Baines | 2018-06-19 | |
| | ||||
* | Refactor the FetchRevisionJob | Christopher Baines | 2018-06-19 | |
| | | | | | | | | | Move the repository directory in to a constant, and make the repository remote location configurable. Also, fix an issue with parsing the JSON output from the available-services command, as there were some messages appearing prior to the JSON output. | |||
* | Also share the /var/log directory with the host | Christopher Baines | 2018-06-04 | |
| | ||||
* | Share /var/cache and /var/lib with the host | Christopher Baines | 2018-06-03 | |
| | | | | | In the AWS backend. This means that they don't end up on a tmpfs and using up RAM. | |||
* | Support specifying multiple values for a single key | Christopher Baines | 2018-06-03 | |
| | | | | In the hash_to_arguments method of GovukGuix::Job. | |||
* | Give AWS mini environments 100GB of space | Christopher Baines | 2018-06-03 | |
| | | | | To make room for data snapshots. | |||
* | Fix a bug in GovukGuix::Job | Christopher Baines | 2018-06-03 | |
| | | | | Actually parse the JSON file when fetching it from a remote host. | |||
* | Add a rake task to create data snapshots | Christopher Baines | 2018-06-03 | |
| | | | | For the AWS backend. | |||
* | Test and fix data snapshot creation for the AWS backend | Christopher Baines | 2018-06-03 | |
| | ||||
* | Change the AWS backend instance type to a t2.large | Christopher Baines | 2018-06-03 | |
| | | | | | | Which is an increase in resources from the t2.medium. The 8GB of RAM (an increase from 4GB), will come in useful when working with data snapshots. | |||
* | Add support for destroying Terraform AWS backends | Christopher Baines | 2018-06-03 | |
| | ||||
* | Extract the backend variables out in the AWS backend | Christopher Baines | 2018-06-03 | |
| | ||||
* | Support data snapshots for the AWS backend | Christopher Baines | 2018-06-03 | |
| | ||||
* | Use the run_remotely_on_host option in BuildJob | Christopher Baines | 2018-06-03 | |
| | ||||
* | Enhance run_command in GovukGuix::Job to handle remote hosts | Christopher Baines | 2018-06-03 | |
| | ||||
* | Change how the EFS File System is handled | Christopher Baines | 2018-06-03 | |
| | | | | | | | | | | For the AWS backend. Bring it in to the Terraform configuration for the backend, where previously only the id was known. Also, alter the provisioning so that it can handle an empty EFS file system. This reduces the amount of manual setup required for AWS. | |||
* | Pass the data-snapshot to govuk-system in the build job | Christopher Baines | 2018-06-01 | |
| | | | | For the Terraform libvirt backend. | |||
* | Rework the services method in the MiniEnvironmentController | Christopher Baines | 2018-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 page | Christopher Baines | 2018-06-01 | |
| | ||||
* | Add the form-horizontal CSS class to the services form | Christopher Baines | 2018-06-01 | |
| | | | | As this helps with the CSS styling from Bootstrap. | |||
* | Add an optional DataSnapshot to the MiniEnvironment model | Christopher Baines | 2018-06-01 | |
| | | | | To store if a DataSnapshot is being used. | |||
* | Add a basic description method to GovukGuix::DataSnapshot | Christopher Baines | 2018-06-01 | |
| | | | | This is for use when rendering these in a view. | |||
* | Add a rake task to enqueue the creation of data snapshots | Christopher Baines | 2018-06-01 | |
| | ||||
* | Add job to create data snapshots | Christopher Baines | 2018-06-01 | |
| | ||||
* | Add a read_json_file utility to the GovukGuix:Job class | Christopher Baines | 2018-06-01 | |
| | | | | | This will be useful when reading data from the store, including from remote machines. | |||
* | Add an optional association to backends for data snapshots | Christopher Baines | 2018-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_id | Christopher Baines | 2018-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 model | Christopher Baines | 2018-06-01 | |
| | | | | | This is to record the revision of govuk-guix used to create the snapshot. | |||
* | Add a new DataSnapshot model to store data snapshots | Christopher Baines | 2018-05-30 | |
| | ||||
* | Use basic authentication for mini environments | Christopher Baines | 2018-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 environments | Christopher Baines | 2018-05-30 | |
| | ||||
* | Fix the terraform aws controller test | Christopher Baines | 2018-05-30 | |
| | | | | These were broken when adding some additional fields. |