Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. [info] Pulling image plugins/drone-git:latest
  2. Drone Git Plugin built at 2016-02-02 08:48:17 UTC
  3. $ git init
  4. Initialized empty Git repository in /drone/src/git.domain.com/ser/bad-words/.git/
  5. $ git remote add origin https://git.domain.com/ser/bad-words.git
  6. $ git fetch --no-tags --depth=50 origin +refs/heads/dev:
  7. From https://git.domain.com/ser/bad-words
  8. * branch dev -> FETCH_HEAD
  9. * [new branch] dev -> origin/dev
  10. $ git reset --hard -q 4e30379b19a7ec27bb38fd7f9a990bc469c6847a
  11. $ cp .netrc ~
  12. $ chmod 600 .netrc
  13. $ go get ./...
  14. $ go test ./... -v
  15. ? git.domain.com/ser/bad-words [no test files]
  16. dbname=drone sslmode=disable user=postgres password=asdf
  17. testing: warning: no tests to run
  18. PASS
  19. ok git.domain.com/ser/bad-words/repositories 0.004s
  20. === RUN TestGetBadWords
  21. --- PASS: TestGetBadWords (0.00s)
  22. === RUN TestPostBadWords
  23. --- PASS: TestPostBadWords (0.00s)
  24. === RUN TestDeleteBadWords
  25. <nil>
  26. --- PASS: TestDeleteBadWords (0.00s)
  27. === RUN TestRootEndPoint
  28. --- PASS: TestRootEndPoint (0.00s)
  29. === RUN TestGetBadWordCheck
  30. --- PASS: TestGetBadWordCheck (0.00s)
  31. === RUN TestPostValidateLeadHandler
  32. --- PASS: TestPostValidateLeadHandler (0.00s)
  33. PASS
  34. ok git.domain.com/ser/bad-words/restful 0.026s
  35. === RUN TestRefreshBadwordStruct
  36. --- PASS: TestRefreshBadwordStruct (0.00s)
  37. === RUN TestStringHasBadWords
  38. --- PASS: TestStringHasBadWords (0.00s)
  39. === RUN TestWordIsBad
  40. --- PASS: TestWordIsBad (0.00s)
  41. PASS
  42. ok git.domain.com/ser/bad-words/service 0.004s
  43. $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o main .
  44. [info] Pulling image plugins/drone-docker:latest
  45. Drone Docker Plugin built at 2016-02-18 18:11:45 UTC
  46. $ /usr/bin/docker -d
  47. WARNING: login credentials saved in /.docker/config.json
  48. Login Succeeded
  49. $ /usr/bin/docker build --pull=true --rm=true -f Dockerfile -t docker.domain.com/services/bad-words:dev .
  50. Sending build context to Docker daemon 557.1 kB
  51. Sending build context to Docker daemon 1.114 MB
  52. Sending build context to Docker daemon 1.671 MB
  53. Sending build context to Docker daemon 2.228 MB
  54. Sending build context to Docker daemon 2.785 MB
  55. Sending build context to Docker daemon 3.342 MB
  56. Sending build context to Docker daemon 3.899 MB
  57. Sending build context to Docker daemon 4.456 MB
  58. Sending build context to Docker daemon 5.014 MB
  59. Sending build context to Docker daemon 5.571 MB
  60. Sending build context to Docker daemon 6.128 MB
  61. Sending build context to Docker daemon 6.685 MB
  62. Sending build context to Docker daemon 7.242 MB
  63. Sending build context to Docker daemon 7.799 MB
  64. Sending build context to Docker daemon 8.356 MB
  65. Sending build context to Docker daemon 8.913 MB
  66. Sending build context to Docker daemon 9.47 MB
  67. Sending build context to Docker daemon 10.03 MB
  68. Sending build context to Docker daemon 10.58 MB
  69. Sending build context to Docker daemon 11.13 MB
  70. Sending build context to Docker daemon 11.18 MB
  71. Sending build context to Docker daemon 11.18 MB
  72.  
  73. Step 1 : FROM scratch
  74. --->
  75. Step 2 : ADD main /
  76. ---> 2f56d4504ced
  77. Removing intermediate container a75ddbd8a017
  78. Step 3 : ENTRYPOINT /main
  79. ---> Running in fa5a574da2fb
  80. ---> 703056d422d7
  81. Removing intermediate container fa5a574da2fb
  82. Successfully built 703056d422d7
  83. $ /usr/bin/docker push docker.domain.com/services/bad-words:dev
  84. The push refers to a repository [docker.domain.com/services/bad-words] (len: 1)
  85. Sending image list
  86. Pushing repository docker.domain.com/services/bad-words (1 tags)
  87. 2f56d4504ced: Pushing
  88. 2f56d4504ced: Image successfully pushed
  89. 703056d422d7: Pushing
  90. 703056d422d7: Image successfully pushed
  91. Pushing tag for rev [703056d422d7] on {https://docker.domain.com/v1/repositories/services/bad-words/tags/dev}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement