Skip to content
Keeps things up-to-date (a CI/CD pipeline OCaml eDSL)
OCaml PHP Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Update example image for new pipeline Jul 2, 2019
examples Standardise formatting of dune files Nov 26, 2019
lib Standardise formatting of dune files Nov 26, 2019
lib_ansi
lib_cache Standardise formatting of dune files Nov 26, 2019
lib_rpc
lib_term
lib_web Standardise formatting of dune files Nov 26, 2019
plugins
test Standardise formatting of dune files Nov 26, 2019
.dockerignore Initial Git plugin Jun 14, 2019
.gitignore
CHANGES.md
Dockerfile Update Dockerfile Oct 22, 2019
LICENSE Add ANSI escape parsing Oct 3, 2019
Makefile
README.md Prepare 0.1 release Nov 18, 2019
current.opam Add constraint on dune version Nov 18, 2019
current_ansi.opam Add constraint on dune version Nov 18, 2019
current_docker.opam Add constraint on dune version Nov 18, 2019
current_examples.opam Add constraint on dune version Nov 18, 2019
current_git.opam
current_github.opam
current_rpc.opam Add constraint on dune version Nov 18, 2019
current_slack.opam Add constraint on dune version Nov 18, 2019
current_web.opam Add constraint on dune version Nov 18, 2019
dune
dune-project Make transitive dependencies explicit in dune files Nov 26, 2019

README.md

OCurrent allows you to specify a workflow / pipeline for keeping things up-to-date.

For example, the pipeline shown about fetches the head of a GitHub repository's master branch, builds it, runs the tests, and deploys the binary if the tests pass. When a new commit is pushed, it runs the pipeline again.

Another use might be to keep the GitHub build status of each PR in your Git repository showing the result of fetching, building and testing the PR's head commit. If the head commit changes, the result must be recalculated.

An OCurrent pipeline is written using an OCaml eDSL. When OCurrent evaluates it, it records the inputs used (e.g. the current set of open PRs and the head of each one), monitors them, and automatically recalculates when an input changes.

The OCurrent wiki contains documentation and examples. In particular, you might like to start by reading about the example pipelines or how to write your own plugins.

Larger uses of OCurrent include the OCaml Docker base image builder and ocaml-ci, which is the CI that tests this repository itself.

Licensing

OCurrent is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

You can’t perform that action at this time.