Skip to content

Instantly share code, notes, and snippets.

@omerxx
Last active February 18, 2018 19:10
Show Gist options
  • Select an option

  • Save omerxx/d19a4cbce84c7f082aa1107bee657b67 to your computer and use it in GitHub Desktop.

Select an option

Save omerxx/d19a4cbce84c7f082aa1107bee657b67 to your computer and use it in GitHub Desktop.
pipeline:
deploy-server-elastic-beanstalk:
image: peloton/drone-elastic-beanstalk
region: us-east-2
application: drone
version_label: ${DRONE_BUILD_NUMBER}-${DRONE_BRANCH}-drone-server
description: Drone server [Deployed with DroneCI]
environment_name: production-drone
environment_update: true
bucket: elastic-beanstalk-bucket
bucket_key: drone/${DRONE_BUILD_NUMBER}-drone-server-${DRONE_BRANCH}.zip
deploy-agents-ecs:
image: omerxx/drone-ecs-plugin
cluster: tools
region: us-east-2
service: drone-agents
family: drone-agents
image_name: 0123.dkr.ecr.us-east-1.amazonaws.com/drone-agent
image_tag: latest
environment_variables:
- DRONE_SERVER=drone.example.com:9000
- DRONE_SECRET=mysecret
- DOCKER_API_VERSION=1.23
- DORNE_MAX_PROCS=1
- DRONE_HEALTHCHECK=true
port_mappings:
- 0 3000
memory: 800
mount_dockersock: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment