moosh3 / dbuild

The simplest CI solution you'll ever see ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Place dbuild.json in the root of your repository:

{
    "language": "python",
    "services": {
        "required": true,
        "custom": [
            "postgres",
            "redis"
        ]
    },
    "dependencies": {
        "override": false,
        "custom": [
            "apt install -y phantomjs",
            "bower install"
        ]
    },
    "setup": {
        "override": false,
        "custom": [
            "apt install -y phantomjs",
            "bower install"
        ]
    },
    "test": {
        "override": true,
        "custom": [
            "pytest -vvv"
        ]
    }
}

Pull the image:

docker pull r.alec.cx/runner

Use buildkit to use your ssh keys and run the build:

export DOCKER_BUILDKIT=1
run

Magic ✨

About

The simplest CI solution you'll ever see ✨


Languages

Language:Shell 73.8%Language:Dockerfile 26.2%