Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
CI build 12-master
Browse files Browse the repository at this point in the history
  • Loading branch information
shayts7 committed Feb 29, 2016
1 parent 15a1a2c commit c05e544
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions dd-agent.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
machine:
services:
- docker

dependencies:
pre:
- sudo apt-get update && sudo apt-get install jq openssl curl
# download update_service script
- curl -LO https://raw.githubusercontent.com/gaia-adm/gaia-fleet/master/update_service.sh && chmod +x update_service.sh

override:
- docker build -t gaiaadm/dd-agent:12-master .
- docker tag gaiaadm/dd-agent:12-master gaiaadm/dd-agent:12-master:$CIRCLE_BUILD_NUM
- docker tag gaiaadm/dd-agent:12-master gaiaadm/dd-agent:12-master:$CIRCLE_BUILD_NUM-$CIRCLE_BRANCH

test:
override:
- /bin/true

deployment:
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push gaiaadm/dd-agent:12-master
- ./update_service.sh -t $CIRCLE_BRANCH -b $CIRCLE_BUILD_NUM -f dd-agent.service -n dd-agent

notify:
webhooks:
- url: http://beta.gaiahub.io:88/wh/5a866f9b-98c9-438d-a8d4-53cf4ae9599c/4c310c8e220ee9bead74eece42ce0e109fd3535e

general:
branches:
only:
- master

0 comments on commit c05e544

Please sign in to comment.