aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-01-28 14:46:03 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-29 07:28:09 +0100
commit97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d (patch)
treefa2dceba69676cd0a2d35840fea69eb1422b52bd /app/views
parenteb3177b0d8de10f316ac595dff3b8165cf828796 (diff)
downloadgovuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar
govuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar.gz
Add terraform backend and initial guix configuration
Diffstat (limited to 'app/views')
-rw-r--r--app/views/mini_environments/show.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb
index 2d8988c..5b2199e 100644
--- a/app/views/mini_environments/show.html.erb
+++ b/app/views/mini_environments/show.html.erb
@@ -1,6 +1,18 @@
<h1>Name: <%= @mini_environment.name %></h1>
+<h2>Finished jobs</h2>
+
<% @mini_environment.finished_terraform_jobs.each do |job| %>
<%= job.job_class %>
<%= job.created_at %>
<% end %>
+
+<h2>Enqueued jobs</h2>
+
+<% @mini_environment.enqueued_terraform_jobs.each do |job| %>
+ <%= job['job_class'] %>
+
+ <pre>
+ <%= job['last_error'] %>
+ </pre>
+<% end %>