mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
be252cddf7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9461 GitOrigin-RevId: 2160bd10c5464fad34bb5b9057beaa718c58a2ae |
||
---|---|---|
.. | ||
res | ||
src | ||
.gitignore | ||
cabal.project.freeze | ||
ci-info.cabal | ||
LICENSE | ||
package.yaml | ||
README.md | ||
Setup.hs | ||
stack.yaml |
ci-info-hs
Checks if the current environment is a Continuous Integration server.
This is a Haskell port of watson/ci-info.
Usage
Check if the current environment is a CI server:
isCI :: IO Bool
Get the name of the CI vendor. Returns Nothing
if no CI could be detected. Returns Just CI_UNKNOWN_VENDOR
if a CI was detected, but the vendor name could not be determined:
getCI :: IO (Maybe CI)