0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 10:10:39 +00:00

update trace format

This commit is contained in:
Brad Rydzewski 2016-05-11 01:43:44 -07:00
parent 6513d0c91a
commit b40cd1459e
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
script: pipeline:
test: test:
image: golang:1.6 image: golang:1.6
environment: environment:

View File

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.c2NyaXB0OgogIHRlc3Q6CiAgICBpbWFnZTogZ29sYW5nOjEuNgogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gQ0dPX0VOQUJMRUQ9MAogICAgICAtIEdPMTVWRU5ET1JFWFBFUklNRU5UPTEKICAgICAgLSBHT1BBVEg9L2Ryb25lCiAgICBjb21tYW5kczoKICAgICAgLSBnbyB0ZXN0IC1jb3ZlciAtY292ZXJwcm9maWxlPWNvdmVyYWdlLm91dAogICAgICAtIGdvIGJ1aWxkIC1sZGZsYWdzICItcyAtdyAtWCBtYWluLmJ1aWxkPSREUk9ORV9CVUlMRF9OVU1CRVIiCiAgZG9ja2VyOgogICAgc3RvcmFnZV9kcml2ZXI6IG92ZXJsYXkKICAgIHJlcG86IHBsdWdpbnMvZG9ja2VyCiAgICB0YWc6IFsgImxhdGVzdCIsICIxLjAiLCAiMSIgXQogICAgd2hlbjoKICAgICAgYnJhbmNoOiBtYXN0ZXIKICAgICAgZXZlbnQ6IHB1c2gKCnBsdWdpbjoKICBuYW1lOiBEb2NrZXIKICBkZXNjOiBCdWlsZCBhbmQgcHVibGlzaCBpbWFnZXMgdG8gYSBEb2NrZXIgcmVnaXN0cnkKICB0eXBlOiBwdWJsaXNoCiAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgbGFiZWxzOgogICAgLSBkb2NrZXIKICAgIC0gaW1hZ2UKICAgIC0gY29udGFpbmVyCg.R4qTg8XWBFaPZK0Yf_rcS0EvVMJHsBNKaMdWYZssFnI eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdDoKICAgIGltYWdlOiBnb2xhbmc6MS42CiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBDR09fRU5BQkxFRD0wCiAgICAgIC0gR08xNVZFTkRPUkVYUEVSSU1FTlQ9MQogICAgICAtIEdPUEFUSD0vZHJvbmUKICAgIGNvbW1hbmRzOgogICAgICAtIGdvIHRlc3QgLWNvdmVyIC1jb3ZlcnByb2ZpbGU9Y292ZXJhZ2Uub3V0CiAgICAgIC0gZ28gYnVpbGQgLWxkZmxhZ3MgIi1zIC13IC1YIG1haW4uYnVpbGQ9JERST05FX0JVSUxEX05VTUJFUiIKICBkb2NrZXI6CiAgICBzdG9yYWdlX2RyaXZlcjogb3ZlcmxheQogICAgcmVwbzogcGx1Z2lucy9kb2NrZXIKICAgIHRhZzogWyAibGF0ZXN0IiwgIjEuMCIsICIxIiBdCiAgICB3aGVuOgogICAgICBicmFuY2g6IG1hc3RlcgogICAgICBldmVudDogcHVzaAoKcGx1Z2luOgogIG5hbWU6IERvY2tlcgogIGRlc2M6IEJ1aWxkIGFuZCBwdWJsaXNoIGltYWdlcyB0byBhIERvY2tlciByZWdpc3RyeQogIHR5cGU6IHB1Ymxpc2gKICBpbWFnZTogcGx1Z2lucy9kb2NrZXIKICBsYWJlbHM6CiAgICAtIGRvY2tlcgogICAgLSBpbWFnZQogICAgLSBjb250YWluZXIK.P7vRbwL3k2k3aLbc34kI51QPI82vfOTImUd1JfKT0Z4

View File

@ -198,5 +198,5 @@ func commandDaemon(daemon Daemon) *exec.Cmd {
// trace writes each command to stdout with the command wrapped in an xml // trace writes each command to stdout with the command wrapped in an xml
// tag so that it can be extracted and displayed in the logs. // tag so that it can be extracted and displayed in the logs.
func trace(cmd *exec.Cmd) { func trace(cmd *exec.Cmd) {
fmt.Fprintf(os.Stdout, "<command>%s</command>", strings.Join(cmd.Args, " ")) fmt.Fprintf(os.Stdout, "+ %s\n", strings.Join(cmd.Args, " "))
} }