package current_github
Install
dune-project
Dependency
Authors
-
TThomas Leonard <[email protected]>
-
AAntonin Décimo <[email protected]>
-
TTim McGilchrist <[email protected]>
-
CCraig Ferguson <[email protected]>
-
EEtienne MARAIS <[email protected]>
-
AAnil Madhavapeddy <[email protected]>
-
David Allsopp
-
EEwan Mellor <[email protected]>
-
KKate <[email protected]>
-
MMark Elvers <[email protected]>
-
PPuneeth Chaganti <[email protected]>
-
LLucas Pluvinage <[email protected]>
-
NNavin Keswani <[email protected]>
-
TThomas Gazagnaire <[email protected]>
-
Patrick Ferris
-
AArthur Wendling <[email protected]>
-
AAnurag Soni <[email protected]>
-
AAmbre Austen Suhamy <[email protected]>
-
BBen Andrew <[email protected]>
-
GGargi Sharma <[email protected]>
-
JJonathan Coates <[email protected]>
-
JJules Aguillon <[email protected]>
-
MMagnus Skjegstad <[email protected]>
-
SShon Feder <[email protected]>
-
Ssmolck <[email protected]>
-
Ttatchi <[email protected]>
Maintainers
Sources
md5=2c246c189fe506c76b588d0d787b7fd5
sha512=4dc944e694b3f0063db45dff177120f8515d8ac498ec21b5925aa21755ac0f8e51b74e710638976a919245392e6a54d8ff277cabec95e708adbb57a02f5a0e8e
Description
OCurrent provides an OCaml eDSL for writing CI/CD pipelines.
This package provides primitives for interacting with GitHub. It can monitor and clone remote GitHub repositories, and can push GitHub status messages to show the results of testing PRs and branches.
Added to opam-repository:
README
OCurrent
OCurrent allows you to specify a workflow / pipeline for keeping things up-to-date.
For example, the pipeline shown above 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.
Larger uses of OCurrent include the OCaml Docker base image builder and ocaml-ci, which is the CI that tests this repository itself.
Documentation
The OCurrent docs contains user documentation and examples. In particular, you might like to start by reading about the example pipelines or how to write your own plugins.
For technical docs, see the API Documentation.
Licensing
OCurrent is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Dependencies (28)
- yojson
-
x509
>= "0.10.0" -
uri
>= "4.0.0" -
tyxml
>= "4.6.0" -
tls-lwt
>= "0.16.0" -
rresult
>= "0.6.0" -
result
>= "1.5" - ptime
-
prometheus
>= "2.0" -
ppx_deriving_yojson
>= "3.6.1" -
mirage-crypto-pk
< "1.0.0" -
mirage-crypto
< "1.0.0" -
lwt
>= "5.7" -
logs
>= "0.7.0" -
hex
>= "1.4.0" -
github-unix
>= "4.4.0" -
fmt
>= "0.8.9" - duration
-
cstruct
>= "5.2.0" -
cohttp-lwt-unix
>= "6.0.0" -
cmdliner
>= "1.1.0" -
base64
>= "3.4.0" -
astring
>= "0.8.5" -
ocaml
>= "4.12.0" -
current_web
= version -
current_git
= version -
current
= version -
dune
>= "3.3"
Dev Dependencies (1)
-
odoc
with-doc
Used by (2)
-
current_examples
>= "0.8.0" -
current_ocluster
>= "0.2"
Conflicts
None