aboutsummaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAge
...
* Redesign the backend show page actions and status reportingChristopher Baines2018-06-23
| | | | | Use panels and list groups to better layout the actions and status.
* Style the "View all terraform states" link as a buttonChristopher Baines2018-06-23
|
* Add a history view for terraform statesChristopher Baines2018-06-23
| | | | And link to this from the mini environment page.
* Change the backend perform action controllerChristopher Baines2018-06-23
| | | | | Redirect to the show page, rather than rendering it, to keep the URL more consistent.
* Support refreshing the state of backendsChristopher Baines2018-06-23
|
* Add support for managing Terraform AWS backends from the show pageChristopher Baines2018-06-23
|
* Split out a couple of modules from the TerraformAws classChristopher Baines2018-06-23
|
* Support managing the libvirt backend from the show pageChristopher Baines2018-06-23
|
* Handle SSH keys via the databaseChristopher Baines2018-06-23
| | | | | This makes it more explicit, and works around Terraform being unpredictable when dealing with SSH agents.
* Add a Guix moduleChristopher Baines2018-06-23
| | | | Which contains an available_locally? function.
* Only copy the guix revision to the remote host if possibleChristopher Baines2018-06-23
|
* Add initial support for fetching govuk-guix revisions on remote hostsChristopher Baines2018-06-23
| | | | | This begins to remote the restriction of having to have Guix installed locally.
* Don't show the job duration if it's finishedChristopher Baines2018-06-22
| | | | This doesn't make sense.
* Remove the button from the mini environment index pageChristopher Baines2018-06-22
| | | | Instead make the entire panel a link.
* Change most of the primary buttons to use the default stylingChristopher Baines2018-06-22
| | | | This is something the style guide suggests.
* Use the status information on the mini environment index pageChristopher Baines2018-06-22
|
* Reverse the jobs order on the mini environments show pageChristopher Baines2018-06-22
| | | | It's more useful to have the most recent jobs at the top.
* Give the jobs more descriptive titles on the show pageChristopher Baines2018-06-22
|
* Replace the GovukGuix::BuildJobChristopher Baines2018-06-22
| | | | | With a service that performs the same function, and use the MiniEnvironmentJob instead.
* Reverse the list of historical statesChristopher Baines2018-06-21
| | | | | On the terraform state show page. As it's more useful to see the recent states at the top.
* Add a refresh action to the MiniEnvironment classChristopher Baines2018-06-21
| | | | | This can then be used to update the Terraform state for the Mini Environment.
* Redesign the mini environment show pageChristopher Baines2018-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 environmentsChristopher Baines2018-06-21
| | | | | This should enable making the show page better, as it can actually start displaying the status, and appropriate actions.
* Remove FinishedTerraformJobChristopher Baines2018-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 methodChristopher Baines2018-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::JobChristopher Baines2018-06-21
|
* Add a terraform_states method to MiniEnvironmentChristopher Baines2018-06-21
|
* Extract out the mini_environment_state_id to a methodChristopher Baines2018-06-21
| | | | So that it can be used in other methods.
* Remove some redundant loggingChristopher Baines2018-06-21
|
* Add some methods to the TerraformState classChristopher Baines2018-06-21
|
* Split BackendMethods out of TerraformLibvirtChristopher Baines2018-06-21
| | | | This makes the TerraformLibvirt class shorter, and easier to read.
* Split MiniEnvironmentMethods out of TerraformLibvirtChristopher Baines2018-06-21
| | | | | Separate the mini environment related methods in to a module, to make both more readable.
* Fix an issue with the setup pageChristopher Baines2018-06-21
| | | | And add some test data to make the corresponding test more rigorous.
* Update Que to 1.0.0 (beta 3)Christopher Baines2018-06-21
|
* Add a view raw JSON link to the Terraform state pageChristopher Baines2018-06-20
|
* Display Terraform statesChristopher Baines2018-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 pageChristopher Baines2018-06-19
|
* Refactor the FetchRevisionJobChristopher Baines2018-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 hostChristopher Baines2018-06-04
|
* Share /var/cache and /var/lib with the hostChristopher Baines2018-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 keyChristopher Baines2018-06-03
| | | | In the hash_to_arguments method of GovukGuix::Job.
* Fix a bug in GovukGuix::JobChristopher Baines2018-06-03
| | | | Actually parse the JSON file when fetching it from a remote host.
* Test and fix data snapshot creation for the AWS backendChristopher Baines2018-06-03
|
* Add support for destroying Terraform AWS backendsChristopher Baines2018-06-03
|
* Extract the backend variables out in the AWS backendChristopher Baines2018-06-03
|
* Support data snapshots for the AWS backendChristopher Baines2018-06-03
|
* Use the run_remotely_on_host option in BuildJobChristopher Baines2018-06-03
|
* Enhance run_command in GovukGuix::Job to handle remote hostsChristopher Baines2018-06-03
|
* Change how the EFS File System is handledChristopher Baines2018-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 jobChristopher Baines2018-06-01
| | | | For the Terraform libvirt backend.