Skip to content

Commit

Permalink
💄 : make logs look like logs
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jun 4, 2019
1 parent f6fd8d5 commit 277046c
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 23 deletions.
12 changes: 9 additions & 3 deletions src/main/java/io/codeka/gaia/runner/StackRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,16 @@ public void run(Job job, TerraformModule module, Stack stack) {
logs = stream.readFully();
}

// delete container :)
dockerClient.removeContainer(containerCreation.id());
if(containerExit.statusCode() == 0){
job.end();
// delete container :)
dockerClient.removeContainer(containerCreation.id());
}
else{
job.fail();
}


job.end();
} catch (Exception e) {
job.fail();
e.printStackTrace();
Expand Down
16 changes: 16 additions & 0 deletions src/main/resources/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
25. Login Section
26. Error
27. Map
28. Custom style for stack logs
-------------------------------------------------------------------*/

Expand Down Expand Up @@ -3400,3 +3401,18 @@ table.projects tr td:first-child {
height: 100%;
min-height: 720px;
}


/*------------------------------------------------------------------
28. Custom style for stack logs
-------------------------------------------------------------------*/

code[class*="language-"],
pre[class*="language-"] {
color: white;
background: black;
}

code[class*="language-"] b {
font-weight: bold;
}
Loading

0 comments on commit 277046c

Please sign in to comment.