Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [info] Pulling image plugins/drone-git:latest
- Drone Git Plugin built at 2016-02-02 08:48:17 UTC
- $ git init
- Initialized empty Git repository in /drone/src/git.domain.com/ser/bad-words/.git/
- $ git remote add origin https://git.domain.com/ser/bad-words.git
- $ git fetch --no-tags --depth=50 origin +refs/heads/dev:
- From https://git.domain.com/ser/bad-words
- * branch dev -> FETCH_HEAD
- * [new branch] dev -> origin/dev
- $ git reset --hard -q 4e30379b19a7ec27bb38fd7f9a990bc469c6847a
- $ cp .netrc ~
- $ chmod 600 .netrc
- $ go get ./...
- $ go test ./... -v
- ? git.domain.com/ser/bad-words [no test files]
- dbname=drone sslmode=disable user=postgres password=asdf
- testing: warning: no tests to run
- PASS
- ok git.domain.com/ser/bad-words/repositories 0.004s
- === RUN TestGetBadWords
- --- PASS: TestGetBadWords (0.00s)
- === RUN TestPostBadWords
- --- PASS: TestPostBadWords (0.00s)
- === RUN TestDeleteBadWords
- <nil>
- --- PASS: TestDeleteBadWords (0.00s)
- === RUN TestRootEndPoint
- --- PASS: TestRootEndPoint (0.00s)
- === RUN TestGetBadWordCheck
- --- PASS: TestGetBadWordCheck (0.00s)
- === RUN TestPostValidateLeadHandler
- --- PASS: TestPostValidateLeadHandler (0.00s)
- PASS
- ok git.domain.com/ser/bad-words/restful 0.026s
- === RUN TestRefreshBadwordStruct
- --- PASS: TestRefreshBadwordStruct (0.00s)
- === RUN TestStringHasBadWords
- --- PASS: TestStringHasBadWords (0.00s)
- === RUN TestWordIsBad
- --- PASS: TestWordIsBad (0.00s)
- PASS
- ok git.domain.com/ser/bad-words/service 0.004s
- $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o main .
- [info] Pulling image plugins/drone-docker:latest
- Drone Docker Plugin built at 2016-02-18 18:11:45 UTC
- $ /usr/bin/docker -d
- WARNING: login credentials saved in /.docker/config.json
- Login Succeeded
- $ /usr/bin/docker build --pull=true --rm=true -f Dockerfile -t docker.domain.com/services/bad-words:dev .
- Sending build context to Docker daemon 557.1 kB
- Sending build context to Docker daemon 1.114 MB
- Sending build context to Docker daemon 1.671 MB
- Sending build context to Docker daemon 2.228 MB
- Sending build context to Docker daemon 2.785 MB
- Sending build context to Docker daemon 3.342 MB
- Sending build context to Docker daemon 3.899 MB
- Sending build context to Docker daemon 4.456 MB
- Sending build context to Docker daemon 5.014 MB
- Sending build context to Docker daemon 5.571 MB
- Sending build context to Docker daemon 6.128 MB
- Sending build context to Docker daemon 6.685 MB
- Sending build context to Docker daemon 7.242 MB
- Sending build context to Docker daemon 7.799 MB
- Sending build context to Docker daemon 8.356 MB
- Sending build context to Docker daemon 8.913 MB
- Sending build context to Docker daemon 9.47 MB
- Sending build context to Docker daemon 10.03 MB
- Sending build context to Docker daemon 10.58 MB
- Sending build context to Docker daemon 11.13 MB
- Sending build context to Docker daemon 11.18 MB
- Sending build context to Docker daemon 11.18 MB
- Step 1 : FROM scratch
- --->
- Step 2 : ADD main /
- ---> 2f56d4504ced
- Removing intermediate container a75ddbd8a017
- Step 3 : ENTRYPOINT /main
- ---> Running in fa5a574da2fb
- ---> 703056d422d7
- Removing intermediate container fa5a574da2fb
- Successfully built 703056d422d7
- $ /usr/bin/docker push docker.domain.com/services/bad-words:dev
- The push refers to a repository [docker.domain.com/services/bad-words] (len: 1)
- Sending image list
- Pushing repository docker.domain.com/services/bad-words (1 tags)
- 2f56d4504ced: Pushing
- 2f56d4504ced: Image successfully pushed
- 703056d422d7: Pushing
- 703056d422d7: Image successfully pushed
- 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