Public | Automated Build

Last pushed: a year ago
Short Description
Agent to deploy apps.
Full Description

AgentCI

AgentCI is a docker-based continuous deployment tool, perfect for dev and stage (single server) environments. Simply push your code to Github or Bitbucket and watch your app being deployed magically!

How to use this agent

Start mongo:

$ docker run --name mongo -d mongo

Start agent:

$ docker run --link mongo \
-e JOB_NAME=<app_name> \
-e JOB_KEY=<app_key> \
-e JOB_BRANCH=<app_branch> \
-e JOB_STATUS_TO_CHECK=waiting,error \
-e JOB_STATUS_TO_PUBLISH=done \
-v <path_to_app>:/r
-v <path_to_private_key>:/root/.ssh/key \
-it --rm agentci/agent-deploy

You can run docker agent in the background using -d.

Logging

Log file can be found at <path_to_app>/docker-agent.<app_name>.log

Notes

  • JOB_NAME is the unique job name. Do not confuse with your repository name.
  • JOB_BRANCH (Optional) is the repository's branch to check for. Defaults to 'master'.
  • If your repository is public, you may omit this line -v <path_to_private_key>:/root/.ssh/key \.

Workflow

Create your own workflow by adding more agents.

Docker Pull Command
Owner
agentci
Source Repository

Comments (0)