Skip to content

Instantly share code, notes, and snippets.

@josh-padnick
Created November 12, 2015 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josh-padnick/1b951f7b089a33ad3bce to your computer and use it in GitHub Desktop.
Save josh-padnick/1b951f7b089a33ad3bce to your computer and use it in GitHub Desktop.
Sample CircleCI API Output
// Hello human (for machine readable JSON, use the "application/json" Accept header)
{
"compare" : "https://github.com/PhoenixDevOps/phxjug-play-framework-demo/compare/be242da2963b...8f39e4044911",
"previous_successful_build" : {
"build_num" : 22,
"status" : "success",
"build_time_millis" : 796881
},
"build_parameters" : null,
"oss" : true,
"committer_date" : "2015-11-11T20:02:26-07:00",
"steps" : [ {
"name" : "Starting the build",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Starting the build",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:02:51.463Z",
"type" : "infrastructure",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/3130767db198193cc4104465-PhoenixDevOps-phxjug-play-framework-demo-0-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=s2NiGxCAvh7%2Bwa5oOSeAG%2FU9mRo%3D",
"start_time" : "2015-11-12T03:02:36.691Z",
"exit_code" : null,
"canceled" : null,
"step" : 0,
"run_time_millis" : 14772,
"has_output" : true
} ]
}, {
"name" : "Start container",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Start container",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:00.926Z",
"source" : "config",
"type" : "infrastructure",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/f130767db198193cb5104465-PhoenixDevOps-phxjug-play-framework-demo-1-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=TyWNkOm%2FkU627UW%2BNRnp0kaRPC4%3D",
"start_time" : "2015-11-12T03:02:51.468Z",
"exit_code" : 0,
"canceled" : null,
"step" : 1,
"run_time_millis" : 9458,
"has_output" : true
} ]
}, {
"name" : "Enable SSH",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Enable SSH",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:03.228Z",
"type" : "infrastructure",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/8330767db198193c46104465-PhoenixDevOps-phxjug-play-framework-demo-2-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=1HuFKsUTBRx2WpOObKC8T%2BIkKbc%3D",
"start_time" : "2015-11-12T03:03:00.936Z",
"exit_code" : null,
"canceled" : null,
"step" : 2,
"run_time_millis" : 2292,
"has_output" : true
} ]
}, {
"name" : "Restore source cache",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Restore source cache",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:05.555Z",
"source" : "cache",
"type" : "checkout",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/f330767db198193c76104465-PhoenixDevOps-phxjug-play-framework-demo-3-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=31fYeMM2vjm7I6WLqa4F%2FR0qyeo%3D",
"start_time" : "2015-11-12T03:03:03.235Z",
"exit_code" : null,
"canceled" : null,
"step" : 3,
"run_time_millis" : 2320,
"has_output" : true
} ]
}, {
"name" : "Checkout",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Checkout",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:09.150Z",
"source" : "config",
"type" : "checkout",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/6430767db198193c96104465-PhoenixDevOps-phxjug-play-framework-demo-4-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=8B8j0zT%2BBtsmwHqbKcJ8igP54p0%3D",
"start_time" : "2015-11-12T03:03:05.562Z",
"exit_code" : 0,
"canceled" : null,
"step" : 4,
"run_time_millis" : 3588,
"has_output" : true
} ]
}, {
"name" : "Configure the build",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Configure the build",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:13.648Z",
"source" : "cache",
"type" : "machine",
"messages" : [ ],
"start_time" : "2015-11-12T03:03:09.157Z",
"exit_code" : null,
"canceled" : null,
"step" : 5,
"run_time_millis" : 4491,
"has_output" : false
} ]
}, {
"name" : "Setting timezone to UTC",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Setting timezone to UTC",
"bash_command" : "echo 'UTC' > /etc/timezone\ndpkg-reconfigure -f noninteractive tzdata\nservice mysql restart\nservice postgresql restart\n",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:26.103Z",
"source" : "config",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/1630767db198193c17104465-PhoenixDevOps-phxjug-play-framework-demo-6-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=kxJ6ZxrbgGy7pUGKPiz78YpEFTk%3D",
"start_time" : "2015-11-12T03:03:13.653Z",
"exit_code" : 0,
"canceled" : null,
"step" : 6,
"run_time_millis" : 12450,
"has_output" : true
} ]
}, {
"name" : "Setting Java version to Oracle 8",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Setting Java version to Oracle 8",
"bash_command" : "update-alternatives --set java /usr/lib/jvm/jdk1.8.0/bin/java\nupdate-alternatives --set javac /usr/lib/jvm/jdk1.8.0/bin/javac\n",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:27.262Z",
"source" : "config",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/3830767db198193ce7104465-PhoenixDevOps-phxjug-play-framework-demo-7-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=n2o7XcpTkqUy2fvHFdi0%2Fu5FFPk%3D",
"start_time" : "2015-11-12T03:03:26.109Z",
"exit_code" : 0,
"canceled" : null,
"step" : 7,
"run_time_millis" : 1153,
"has_output" : true
} ]
}, {
"name" : "Exporting JAVA_HOME",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Exporting JAVA_HOME",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:28.410Z",
"source" : "config",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/7830767db198193cf7104465-PhoenixDevOps-phxjug-play-framework-demo-8-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=P5fbOr%2FgezkokPsSkgXG4BZPFcU%3D",
"start_time" : "2015-11-12T03:03:27.267Z",
"exit_code" : 0,
"canceled" : null,
"step" : 8,
"run_time_millis" : 1143,
"has_output" : true
} ]
}, {
"name" : "Starting docker",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Starting docker",
"bash_command" : "service docker start",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:29.663Z",
"source" : "config",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/b830767db198193c08104465-PhoenixDevOps-phxjug-play-framework-demo-9-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=uZ8Z82ofoi94R%2BkzV1Eh0%2Bna8Xk%3D",
"start_time" : "2015-11-12T03:03:28.416Z",
"exit_code" : 0,
"canceled" : null,
"step" : 9,
"run_time_millis" : 1247,
"has_output" : true
} ]
}, {
"name" : "Exporting env vars from project settings",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Exporting env vars from project settings",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:30.746Z",
"source" : "db",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/c830767db198193c18104465-PhoenixDevOps-phxjug-play-framework-demo-10-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=r2oDtwT71d3LVHD%2BIf5duzWrJ%2F4%3D",
"start_time" : "2015-11-12T03:03:29.673Z",
"exit_code" : 0,
"canceled" : null,
"step" : 10,
"run_time_millis" : 1073,
"has_output" : true
} ]
}, {
"name" : "set python version to 2.7.10",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "set python version to 2.7.10",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:03:31.896Z",
"source" : "inference",
"type" : "machine",
"messages" : [ ],
"start_time" : "2015-11-12T03:03:30.752Z",
"exit_code" : 0,
"canceled" : null,
"step" : 11,
"run_time_millis" : 1144,
"has_output" : false
} ]
}, {
"name" : "Restore cache",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Restore cache",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:04:18.110Z",
"source" : "cache",
"type" : "machine",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/2930767db198193c38104465-PhoenixDevOps-phxjug-play-framework-demo-12-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=Kyom433g3bgk%2F8NLUxez6s%2B7C8c%3D",
"start_time" : "2015-11-12T03:03:31.901Z",
"exit_code" : null,
"canceled" : null,
"step" : 12,
"run_time_millis" : 46209,
"has_output" : true
} ]
}, {
"name" : "virtualenv",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "virtualenv",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:04:19.265Z",
"source" : "inference",
"type" : "checkout",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/3930767db198193c2b104465-PhoenixDevOps-phxjug-play-framework-demo-13-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=xNoNXU8Sq82ITs%2B7Zeq9ONmKYY4%3D",
"start_time" : "2015-11-12T03:04:18.122Z",
"exit_code" : 0,
"canceled" : null,
"step" : 13,
"run_time_millis" : 1143,
"has_output" : true
} ]
}, {
"name" : "sudo apt-get update && sudo apt-get install jq",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "sudo apt-get update && sudo apt-get install jq",
"bash_command" : "sudo apt-get update && sudo apt-get install jq",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:04:36.753Z",
"source" : "config",
"type" : "dependencies",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/4930767db198193c3b104465-PhoenixDevOps-phxjug-play-framework-demo-14-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=tUrAauiEaluVBrzlMshKybLKNAA%3D",
"start_time" : "2015-11-12T03:04:19.272Z",
"exit_code" : 0,
"canceled" : null,
"step" : 14,
"run_time_millis" : 17481,
"has_output" : true
} ]
}, {
"name" : "sbt test:compile",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "sbt test:compile",
"bash_command" : "sbt test:compile",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:05:49.901Z",
"source" : "config",
"type" : "dependencies",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/5930767db198193c4c104465-PhoenixDevOps-phxjug-play-framework-demo-15-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=Lg8089MoWgwHqc7NAqSq7MFFH60%3D",
"start_time" : "2015-11-12T03:04:36.763Z",
"exit_code" : 0,
"canceled" : null,
"step" : 15,
"run_time_millis" : 73138,
"has_output" : true
} ]
}, {
"name" : "if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi",
"bash_command" : "if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:05:58.462Z",
"source" : "config",
"type" : "dependencies",
"messages" : [ ],
"start_time" : "2015-11-12T03:05:49.909Z",
"exit_code" : 0,
"canceled" : null,
"step" : 16,
"run_time_millis" : 8553,
"has_output" : false
} ]
}, {
"name" : "docker build --tag phxdevops/phxjug-play-framework-demo .",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "docker build --tag phxdevops/phxjug-play-framework-demo .",
"bash_command" : "docker build --tag phxdevops/phxjug-play-framework-demo .",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:08:31.601Z",
"source" : "config",
"type" : "dependencies",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/8930767db198193c61204465-PhoenixDevOps-phxjug-play-framework-demo-17-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=7La4qTZlv8bhJHtt9oyDfNbSoCE%3D",
"start_time" : "2015-11-12T03:05:58.469Z",
"exit_code" : 0,
"canceled" : null,
"step" : 17,
"run_time_millis" : 153132,
"has_output" : true
} ]
}, {
"name" : "mkdir -p ~/docker; docker save phxdevops/phxjug-play-framework-demo > ~/docker/image.tar",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "mkdir -p ~/docker; docker save phxdevops/phxjug-play-framework-demo > ~/docker/image.tar",
"bash_command" : "mkdir -p ~/docker; docker save phxdevops/phxjug-play-framework-demo > ~/docker/image.tar",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:08:38.765Z",
"source" : "config",
"type" : "dependencies",
"messages" : [ ],
"start_time" : "2015-11-12T03:08:31.614Z",
"exit_code" : 0,
"canceled" : null,
"step" : 18,
"run_time_millis" : 7151,
"has_output" : false
} ]
}, {
"name" : "Save cache",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Save cache",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:08:40.662Z",
"source" : "cache",
"type" : "database",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/0a30767db198193c6b204465-PhoenixDevOps-phxjug-play-framework-demo-19-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=4f2gtY4ZpdNMYBm0xjwEOrWvFJw%3D",
"start_time" : "2015-11-12T03:08:38.772Z",
"exit_code" : null,
"canceled" : null,
"step" : 19,
"run_time_millis" : 1890,
"has_output" : true
} ]
}, {
"name" : "sbt test",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "sbt test",
"bash_command" : "sbt test",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:08.455Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/1a30767db198193c8b204465-PhoenixDevOps-phxjug-play-framework-demo-20-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=6dvH3tat4YTDp%2FC18GM%2FiolQLqU%3D",
"start_time" : "2015-11-12T03:08:40.670Z",
"exit_code" : 0,
"canceled" : null,
"step" : 20,
"run_time_millis" : 27785,
"has_output" : true
} ]
}, {
"name" : "mkdir -p $CIRCLE_TEST_REPORTS/junit/",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "mkdir -p $CIRCLE_TEST_REPORTS/junit/",
"bash_command" : "mkdir -p $CIRCLE_TEST_REPORTS/junit/",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:09.608Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"start_time" : "2015-11-12T03:09:08.464Z",
"exit_code" : 0,
"canceled" : null,
"step" : 21,
"run_time_millis" : 1144,
"has_output" : false
} ]
}, {
"name" : "find . -type f -regex \".*/target/test-reports/.*xml\" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \\;",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "find . -type f -regex \".*/target/test-reports/.*xml\" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \\;",
"bash_command" : "find . -type f -regex \".*/target/test-reports/.*xml\" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \\;",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:10.856Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"start_time" : "2015-11-12T03:09:09.612Z",
"exit_code" : 0,
"canceled" : null,
"step" : 22,
"run_time_millis" : 1244,
"has_output" : false
} ]
}, {
"name" : "git config --global user.email \"josh@PhoenixDevOps.com\"",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "git config --global user.email \"josh@PhoenixDevOps.com\"",
"bash_command" : "git config --global user.email \"josh@PhoenixDevOps.com\"",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:12.004Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"start_time" : "2015-11-12T03:09:10.861Z",
"exit_code" : 0,
"canceled" : null,
"step" : 23,
"run_time_millis" : 1143,
"has_output" : false
} ]
}, {
"name" : "git config --global user.name \"CircleCI\"",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "git config --global user.name \"CircleCI\"",
"bash_command" : "git config --global user.name \"CircleCI\"",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:13.151Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"start_time" : "2015-11-12T03:09:12.009Z",
"exit_code" : 0,
"canceled" : null,
"step" : 24,
"run_time_millis" : 1142,
"has_output" : false
} ]
}, {
"name" : "docker login --email ${DOCKERHUB_EMAIL} --username ${DOCKERHUB_USERNAME} --password ${DOCKERHUB_PASSWORD}",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "docker login --email ${DOCKERHUB_EMAIL} --username ${DOCKERHUB_USERNAME} --password ${DOCKERHUB_PASSWORD}",
"bash_command" : "docker login --email ${DOCKERHUB_EMAIL} --username ${DOCKERHUB_USERNAME} --password ${DOCKERHUB_PASSWORD}",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:09:15.200Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/6a30767db198193c9d204465-PhoenixDevOps-phxjug-play-framework-demo-25-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=%2BrO8sbpFb%2Br7uDJgZCu9Y6%2FFpHA%3D",
"start_time" : "2015-11-12T03:09:13.156Z",
"exit_code" : 0,
"canceled" : null,
"step" : 25,
"run_time_millis" : 2044,
"has_output" : true
} ]
}, {
"name" : "docker build --tag phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1} .",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "docker build --tag phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1} .",
"bash_command" : "docker build --tag phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1} .",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:11:47.781Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/7a30767db198193cbd204465-PhoenixDevOps-phxjug-play-framework-demo-26-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=mR9JS6v3WLl5l4t2u%2B8kHCvYZsg%3D",
"start_time" : "2015-11-12T03:09:15.207Z",
"exit_code" : 0,
"canceled" : null,
"step" : 26,
"run_time_millis" : 152574,
"has_output" : true
} ]
}, {
"name" : "docker push phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "docker push phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}",
"bash_command" : "docker push phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:14:51.744Z",
"source" : "config",
"type" : "test",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/7b30767db198193c37304465-PhoenixDevOps-phxjug-play-framework-demo-27-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=IvDygg4yxuj8zqpi0tcoLBlGR%2Bw%3D",
"start_time" : "2015-11-12T03:11:47.789Z",
"exit_code" : 0,
"canceled" : null,
"step" : 27,
"run_time_millis" : 183955,
"has_output" : true
} ]
}, {
"name" : "Checking deployment",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Checking deployment",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:14:51.756Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"start_time" : "2015-11-12T03:14:51.755Z",
"exit_code" : null,
"canceled" : null,
"step" : 28,
"run_time_millis" : 1,
"has_output" : false
} ]
}, {
"name" : "Checking deployment",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Checking deployment",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:14:51.762Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"start_time" : "2015-11-12T03:14:51.761Z",
"exit_code" : null,
"canceled" : null,
"step" : 31,
"run_time_millis" : 1,
"has_output" : false
} ]
}, {
"name" : "curl \"https://s3.amazonaws.com/aws-cli/awscli-bundle.zip\" -o \"awscli-bundle.zip\"",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "curl \"https://s3.amazonaws.com/aws-cli/awscli-bundle.zip\" -o \"awscli-bundle.zip\"",
"bash_command" : "curl \"https://s3.amazonaws.com/aws-cli/awscli-bundle.zip\" -o \"awscli-bundle.zip\"",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:14:54.441Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/ab30767db198193cb2404465-PhoenixDevOps-phxjug-play-framework-demo-32-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=fF9BmsoLI7IBhXKl5GEM5R1vLhQ%3D",
"start_time" : "2015-11-12T03:14:51.767Z",
"exit_code" : 0,
"canceled" : null,
"step" : 32,
"run_time_millis" : 2674,
"has_output" : true
} ]
}, {
"name" : "unzip awscli-bundle.zip",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "unzip awscli-bundle.zip",
"bash_command" : "unzip awscli-bundle.zip",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:14:55.717Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/bb30767db198193ce2404465-PhoenixDevOps-phxjug-play-framework-demo-33-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=jSmrIC1PbPH2oN5SHbKlDSRe%2Fo4%3D",
"start_time" : "2015-11-12T03:14:54.448Z",
"exit_code" : 0,
"canceled" : null,
"step" : 33,
"run_time_millis" : 1269,
"has_output" : true
} ]
}, {
"name" : "sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws",
"bash_command" : "sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:15:05.812Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/cb30767db198193cf2404465-PhoenixDevOps-phxjug-play-framework-demo-34-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=7M115FLDNy%2Fly%2BS3gX6%2Bc2fjAjY%3D",
"start_time" : "2015-11-12T03:14:55.724Z",
"exit_code" : 0,
"canceled" : null,
"step" : 34,
"run_time_millis" : 10088,
"has_output" : true
} ]
}, {
"name" : "ECS_TASK_REVISION_NUMBER=$(aws ecs register-task-definition --family demo-service --cli-input-json \"{\\\"containerDefinitions\\\":[{\\\"name\\\":\\\"phxjug-play-framework-demo\\\",\\\"image\\\":\\\"phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}\\\",\\\"cpu\\\":512,\\\"memory\\\":512,\\\"essential\\\":true,\\\"portMappings\\\":[{\\\"containerPort\\\":9001,\\\"hostPort\\\":9001}]}],\\\"family\\\":\\\"demo-service\\\"}\" | jq '.taskDefinition.revision') && aws ecs update-service --service demo-service --task-definition demo-service:${ECS_TASK_REVISION_NUMBER}",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : false,
"failed" : null,
"infrastructure_fail" : null,
"name" : "ECS_TASK_REVISION_NUMBER=$(aws ecs register-task-definition --family demo-service --cli-input-json \"{\\\"containerDefinitions\\\":[{\\\"name\\\":\\\"phxjug-play-framework-demo\\\",\\\"image\\\":\\\"phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}\\\",\\\"cpu\\\":512,\\\"memory\\\":512,\\\"essential\\\":true,\\\"portMappings\\\":[{\\\"containerPort\\\":9001,\\\"hostPort\\\":9001}]}],\\\"family\\\":\\\"demo-service\\\"}\" | jq '.taskDefinition.revision') && aws ecs update-service --service demo-service --task-definition demo-service:${ECS_TASK_REVISION_NUMBER}",
"bash_command" : "ECS_TASK_REVISION_NUMBER=$(aws ecs register-task-definition --family demo-service --cli-input-json \"{\\\"containerDefinitions\\\":[{\\\"name\\\":\\\"phxjug-play-framework-demo\\\",\\\"image\\\":\\\"phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}\\\",\\\"cpu\\\":512,\\\"memory\\\":512,\\\"essential\\\":true,\\\"portMappings\\\":[{\\\"containerPort\\\":9001,\\\"hostPort\\\":9001}]}],\\\"family\\\":\\\"demo-service\\\"}\" | jq '.taskDefinition.revision') && aws ecs update-service --service demo-service --task-definition demo-service:${ECS_TASK_REVISION_NUMBER}",
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:15:08.394Z",
"source" : "config",
"type" : "deployment",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/eb30767db198193c93404465-PhoenixDevOps-phxjug-play-framework-demo-35-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=KtyWi2gt6DAUGgXxNSlO0i0PEcM%3D",
"start_time" : "2015-11-12T03:15:05.820Z",
"exit_code" : 0,
"canceled" : null,
"step" : 35,
"run_time_millis" : 2574,
"has_output" : true
} ]
}, {
"name" : "Collect test metadata",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Collect test metadata",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:15:12.328Z",
"type" : "teardown",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/fb30767db198193cc3404465-PhoenixDevOps-phxjug-play-framework-demo-36-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=ETGF96%2FjVg7j4eMpUGYv3Dx2PqQ%3D",
"start_time" : "2015-11-12T03:15:08.400Z",
"exit_code" : null,
"canceled" : null,
"step" : 36,
"run_time_millis" : 3928,
"has_output" : true
} ]
}, {
"name" : "Collect artifacts",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Collect artifacts",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:15:23.749Z",
"type" : "teardown",
"messages" : [ ],
"output_url" : "https://circle-production-action-output.s3.amazonaws.com/0c30767db198193c04404465-PhoenixDevOps-phxjug-play-framework-demo-37-0?AWSAccessKeyId=AKIAIQ65EYQDTMSJK2DQ&Expires=1605221227&Signature=NL8P7EmVQcQ46B5f0oyS2fvIBro%3D",
"start_time" : "2015-11-12T03:15:12.336Z",
"exit_code" : null,
"canceled" : null,
"step" : 37,
"run_time_millis" : 11413,
"has_output" : true
} ]
}, {
"name" : "Disable SSH",
"actions" : [ {
"truncated" : false,
"index" : 0,
"parallel" : true,
"failed" : null,
"infrastructure_fail" : null,
"name" : "Disable SSH",
"bash_command" : null,
"status" : "success",
"timedout" : null,
"continue" : null,
"end_time" : "2015-11-12T03:15:23.767Z",
"type" : "teardown",
"messages" : [ ],
"start_time" : "2015-11-12T03:15:23.759Z",
"exit_code" : null,
"canceled" : null,
"step" : 40,
"run_time_millis" : 8,
"has_output" : false
} ]
} ],
"body" : "",
"usage_queued_at" : "2015-11-12T03:02:33.926Z",
"retry_of" : null,
"reponame" : "phxjug-play-framework-demo",
"ssh_users" : [ ],
"build_url" : "https://circleci.com/gh/PhoenixDevOps/phxjug-play-framework-demo/23",
"parallel" : 1,
"failed" : null,
"branch" : "master",
"username" : "PhoenixDevOps",
"author_date" : "2015-11-11T20:02:26-07:00",
"why" : "github",
"user" : {
"is_user" : true,
"login" : "josh-padnick",
"name" : "Josh Padnick",
"email" : "josh@PhoenixDevOps.com",
"avatar_url" : "https://avatars.githubusercontent.com/u/4295964?v=3"
},
"vcs_revision" : "8f39e40449116b3310060c22a4c8ea353a539533",
"owners" : [ "josh-padnick" ],
"vcs_tag" : null,
"build_num" : 23,
"infrastructure_fail" : false,
"ssh_enabled" : false,
"committer_email" : "josh.padnick@gmail.com",
"has_artifacts" : true,
"previous" : {
"build_num" : 22,
"status" : "success",
"build_time_millis" : 796881
},
"status" : "success",
"committer_name" : "Josh Padnick",
"pull_request_urls" : [ ],
"retries" : null,
"subject" : "Commit at PhxJUG.",
"timedout" : false,
"dont_build" : null,
"lifecycle" : "finished",
"no_dependency_cache" : null,
"stop_time" : "2015-11-12T03:15:24.555Z",
"build_time_millis" : 770201,
"circle_yml" : {
"string" : "machine:\n timezone: UTC\n services:\n - docker\n java:\n version: oraclejdk8\n python:\n version: 2.7.10\n\ndependencies:\n pre:\n - sudo apt-get update && sudo apt-get install jq\n # Run these bash commands instead of CircleCI's inferred commands\n override:\n - sbt test:compile\n # Cache the intermediate Docker images\n # See https://circleci.com/docs/docker#caching-docker-layers\n - if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi\n - docker build --tag phxdevops/phxjug-play-framework-demo .\n - mkdir -p ~/docker; docker save phxdevops/phxjug-play-framework-demo > ~/docker/image.tar\n # Cache the resolution-cache and build streams to speed things up\n cache_directories:\n - \"~/.sbt\"\n - \"target/resolution-cache\"\n - \"target/streams\"\n - \"project/target/resolution-cache\"\n - \"project/target/streams\"\n - \"~/docker\"\n\ntest:\n # Run this bash command instead of CircleCI's inferred commands\n override:\n - sbt test\n # Run these commands after the \"override\" commands\n post:\n # Copy test reports to Circle test reports dir\n - mkdir -p $CIRCLE_TEST_REPORTS/junit/\n - find . -type f -regex \".*/target/test-reports/.*xml\" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \\;\n # Build and push the Docker image\n - git config --global user.email \"josh@PhoenixDevOps.com\"\n - git config --global user.name \"CircleCI\"\n - docker login --email ${DOCKERHUB_EMAIL} --username ${DOCKERHUB_USERNAME} --password ${DOCKERHUB_PASSWORD}\n - docker build --tag phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1} .\n - docker push phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}\n\ndeployment:\n production:\n branch: master\n commands:\n - curl \"https://s3.amazonaws.com/aws-cli/awscli-bundle.zip\" -o \"awscli-bundle.zip\"\n - unzip awscli-bundle.zip\n - sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws\n - ECS_TASK_REVISION_NUMBER=$(aws ecs register-task-definition --family demo-service --cli-input-json \"{\\\"containerDefinitions\\\":[{\\\"name\\\":\\\"phxjug-play-framework-demo\\\",\\\"image\\\":\\\"phxdevops/phxjug-play-framework-demo:${CIRCLE_SHA1}\\\",\\\"cpu\\\":512,\\\"memory\\\":512,\\\"essential\\\":true,\\\"portMappings\\\":[{\\\"containerPort\\\":9001,\\\"hostPort\\\":9001}]}],\\\"family\\\":\\\"demo-service\\\"}\" | jq '.taskDefinition.revision') && aws ecs update-service --service demo-service --task-definition demo-service:${ECS_TASK_REVISION_NUMBER}"
},
"messages" : [ ],
"is_first_green_build" : false,
"job_name" : null,
"start_time" : "2015-11-12T03:02:34.354Z",
"canceler" : null,
"all_commit_details" : [ {
"committer_date" : "2015-11-11T20:02:26-07:00",
"body" : "",
"branch" : "master",
"author_date" : "2015-11-11T20:02:26-07:00",
"committer_email" : "josh.padnick@gmail.com",
"commit" : "8f39e40449116b3310060c22a4c8ea353a539533",
"committer_login" : "josh-padnick",
"committer_name" : "Josh Padnick",
"subject" : "Commit at PhxJUG.",
"commit_url" : "https://github.com/PhoenixDevOps/phxjug-play-framework-demo/commit/8f39e40449116b3310060c22a4c8ea353a539533",
"author_login" : "josh-padnick",
"author_name" : "Josh Padnick",
"author_email" : "josh.padnick@gmail.com"
} ],
"outcome" : "success",
"vcs_url" : "https://github.com/PhoenixDevOps/phxjug-play-framework-demo",
"author_name" : "Josh Padnick",
"node" : [ {
"public_ip_addr" : "52.33.115.210",
"port" : 64744,
"username" : "ubuntu",
"image_id" : "circletar-1248-05fdb-20151015T182027Z",
"ssh_enabled" : null
} ],
"queued_at" : "2015-11-12T03:02:34.307Z",
"canceled" : false,
"author_email" : "josh.padnick@gmail.com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment