More on Drone.io

More on Drone.io

Hi Guys, So I decided to move away from the pipeline exec type and work with docker style pipelines. The syntax is nearly the same; however, a challenge at first was how to do some basic linux command stuff on the host ec2 instance. Nonetheless, I finally figured it out.. dah.. rsync! Anyhow, this is a general script i wrote that does several things: 1) install dependencies via composer; 2) install dependencies via yarn; 3) rsync into host and move stuff around and fix permissions etc; 4) tarball; 5) upload to s3; 6) email....

November 9, 2019 · 3 min · Me
Drone Adventures

Drone Adventures

Although I am quite familiar with Jenkins I wanted to look at another automation software for development Drone.io. What i have initially enjoyed about drone is the no fuss install or rather docker run command. Drone also supports numerous source control management providers. For instance, we need to docker pull drone/drone:1 followed by assuming you are working with Github: docker run \ --volume=/var/lib/drone:/data \ --env=DRONE_AGENTS_ENABLED=true \ --env=DRONE_GITHUB_SERVER=https://github.com \ --env=DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID} \ --env=DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET} \ --env=DRONE_RPC_SECRET=${DRONE_RPC_SECRET} \ --env=DRONE_SERVER_HOST=${DRONE_SERVER_HOST} \ --env=DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO} \ --publish=80:80 \ --publish=443:443 \ --restart=always \ --detach=true \ --name=drone \ drone/drone:1 However, lets rewind for a moment....

November 2, 2019 · 3 min · Me