Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polydawn/repeatr
Repeatr: Reproducible, hermetic Computation. Provision containers from Content-Addressable snapshots; run using familiar containers (e.g. runc); store outputs in Content-Addressable form too! JSON API; connect your own pipelines! (Or, use github.com/polydawn/stellar for pipelines!)
https://github.com/polydawn/repeatr
containers distributed formula reproducibility reproducible-builds snapshots timeless timeless-stack
Last synced: 3 months ago
JSON representation
Repeatr: Reproducible, hermetic Computation. Provision containers from Content-Addressable snapshots; run using familiar containers (e.g. runc); store outputs in Content-Addressable form too! JSON API; connect your own pipelines! (Or, use github.com/polydawn/stellar for pipelines!)
- Host: GitHub
- URL: https://github.com/polydawn/repeatr
- Owner: polydawn
- License: apache-2.0
- Created: 2015-02-27T18:12:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T09:55:58.000Z (over 4 years ago)
- Last Synced: 2024-06-19T00:24:26.591Z (5 months ago)
- Topics: containers, distributed, formula, reproducibility, reproducible-builds, snapshots, timeless, timeless-stack
- Language: Go
- Homepage: https://repeatr.io
- Size: 7.93 MB
- Stars: 68
- Watchers: 10
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Repeatr
=======```
repeatr run same_thing_in > same_thing_out
```Repeatr is a tool for running processes repeatedly. Repeatr is designed to make task definition precise, environment setup portable, and results reproducible.
Some of Repeatr's key features and goals include:
- *Zero-ambiguity environment*: Repeatr is developed on the principle of "precise-by-default". All files in your environment are managed by content-addressible storage (think: pinned as if by a git commit hash).
- *Deep-time reproducibility*: Repeatr represents a commitment to reproducible results today, tomorrow, next week, next year, and... you get the picture. Repeatr configuration explicitly enforces a split between << data identity >> and << data location >>. The former never changes; the latter is explicitly variable.
- *Communicable results*: Repeatr describes processes in a [Formula](https://polydawn.github.io/glossary#formula). Communicating a Formula -- via email, gist, pastebin, whatever -- should be enough for anyone to repeat your work.
- *Control over data flow*: Pull input files from multiple systems; explicitly declare sections of filesystem that are useful results to pass along. Granular control lets you build pipelines that are clean, explicit, and fast.
- *Variation builds on precision*: Repeatr designs for systems like automatic updates and matrix tests on environmental variations by building them *on top* of Formulas. This allows clear identification of each version/test/etc, making it possible to clearly report what's been covered and what needs to be finished. Other tools can generate and consume Formulas as an API, plotting complex pipelines and checking reproducibility of results however they see fit.Repeatr is *not* a build tool; think of it more as a workspace manager.
It's important to have a clean workspace, fill it with good tools, and keep the materials going both in and out of your workspace well-inventoried.
You can use `make`, `cake`, `rake`, `bake`, or whatever's popular this month inside Repeatr; Repeatr gives you a framework to make sure everyone plays nice.More documentation
------------------Repeatr is just one part of an ecosystem of software called the Timeless Stack.
The Timeless Stack documentation has its own repo: https://github.com/polydawn/timeless
Much of the documentation is published in html book form: https://repeatr.io/
Other closely related projects include
[Rio](https://github.com/polydawn/rio) -- this provides the filesystem snapshot and transport for Repeatr --
and [Stellar](https://github.com/polydawn/stellar) -- which provides bigger-picture pipelining tools to drive around Repeatr in interesting (and more user-friendly) ways.:warning: Alpha Warning :warning:
---------------------------------Repeatr is in "version 0.x" ranges. That means (technically) we are not promising backwards compatablity yet; releases may make API changes.
Despite this warning, we consider the repeatr API fairly stable, and are happy to recommend building with it.
We made one set of breaking changes out of the last 2.5 years; and we expect this API to last at least twice as long as the previous one.Binary releases are available as a bundle in the [github releases page for the Timeless Stack](https://github.com/polydawn/timeless/releases).
It's also easy to build from source if you want the absolute latest bleeding-edge features.Building from Source
--------------------Git-clone, then in the repo dir:
```
fling init # fetch libraries
fling install-deps # build rio component (used to fetch other plugins)
fling fetch-plugins # fetch plugins
fling # build & test
```Future incremental builds are just `fling` -- the rest of that was all first-time setup.
Binaries go into the `bin/` dir; add it to your $PATH.
Libraries are handled via git submodules. You can run `fling init` again at any time to re-sync them.
Plugins are handled via `rio`, another part of the Timeless Stack that Repeatr builds upon.You can use `fling -h` to see other individual build and test command options.
For example `fling test` will only run tests; `fling install` will not test, just build binares in `bin/`.