Conform
DRY, hygienic, fast builds.
Conform is a tool for building projects in a flexible and reliabale manner.
The key features of Conform are:
- DRY: Templatized multi-stage Docker builds.
- Hygienic: Builds run in Docker.
- Fast: Leverages Docker caching, building only what has changed.
Getting Started
Create a file named .conform.yaml
with the following contents:
metadata:
repository: hello/world
policies:
- type: conventionalCommit
spec:
types:
- "type"
scopes:
- "scope"
script:
template: |
#!/bin/bash
echo "Hello, world!"
pipeline:
stages:
- example
stages:
example:
tasks:
- task
tasks:
task:
template: |
FROM scratch
In the same directory, run:
$ conform enforce
License