Skip to content

Dunner is a task runner tool like Grunt but used Docker images like CircleCI do. You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname`

License

Notifications You must be signed in to change notification settings

alpha2320/dunner

 
 

Repository files navigation

Dunner Release

Codacy Badge Codecov branch Build Status GoDoc GoReport Join the chat at https://gitter.im/LeaopardLabs/Dunner

The Docker Task Runner

Dunner is a task runner tool based on Docker, simple and flexible. You can define tasks and configure the environment in your .dunner.yaml file and then run as dunner do <taskname>.

Example .dunner.yaml:

envs:
  - AWS_ACCESS_KEY_ID=`$AWS_KEY`
  - AWS_SECRET_ACCESS_KEY=`$AWS_SECRET`
  - AWS_DEFAULT_REGION=us-east1
tasks:
  deploy:
    steps:
      - image: 'emeraldsquad/sonar-scanner'
        commands:
          - ['sonar', 'scan']
      - image: 'golang'
        commands:
          - ['go', 'install']
      - image: 'mesosphere/aws-cli'
        commands:
          - ['aws', 'elasticbeanstalk update-application --application-name myapp']
      - follow: 'status' #This refers to another task and can pass args too
        args: 'prod'
  status:
    steps:
      - image: 'mesosphere/aws-cli'
        commands:
          # This uses args passed to the task, `$1` means first arg
          - ['aws', 'elasticbeanstalk describe-events --environment-name $1']

Running dunner do deploy from command-line executes deploy task inside a Docker container. It creates a Docker container using specified image, executes given commands and shows results, all with just simple configuration!

Features

and more...

Getting Started

Read more about Why Dunner and refer our guides for installation and usage.

User Documentation Installation Guide Dunner Examples Contributing Dunner GoCD Plugin
Learn more about using Dunner Getting started with Dunner Dunner Cookbook Recipes How can you contribute to Dunner? Have a look at Dunner GoCD Plugin

Development Plan

Have a look at Dunner Milestones for our future plans.

Contributing

We'd love your help to fix bugs and add features. The maintainers actively manage the issues list, and try to highlight issues suitable for newcomers. The project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue, or file a new one. Refer our Developer Guide for more.

About

Dunner is a task runner tool like Grunt but used Docker images like CircleCI do. You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 90.9%
  • Shell 7.5%
  • Makefile 1.5%
  • Dockerfile 0.1%