mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
34e172d576
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9383 Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com> Co-authored-by: Ajeet D'Souza <1777663+ajeetdsouza@users.noreply.github.com> Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com> Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com> Co-authored-by: Matthew Pickering <1216657+mpickering@users.noreply.github.com> Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com> GitOrigin-RevId: a7a210e2237f5adc63302b18403616c7c0aa39ca |
||
---|---|---|
.. | ||
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)