Comparing version 3.7.1 to 3.8.0
# Changelog | ||
## v3.8.0 | ||
- support Harness CI [76a2867](https://github.com/watson/ci-info/commit/76a2867) | ||
## v3.7.1 | ||
@@ -4,0 +8,0 @@ |
@@ -46,2 +46,3 @@ // This file is generated at pre-commit by running `node create-typings.js`. | ||
export const EAS: boolean; | ||
export const GERRIT: boolean; | ||
export const GITHUB_ACTIONS: boolean; | ||
@@ -51,7 +52,7 @@ export const GITLAB: boolean; | ||
export const GOOGLE_CLOUD_BUILD: boolean; | ||
export const LAYERCI: boolean; | ||
export const GERRIT: boolean; | ||
export const HARNESS: boolean; | ||
export const HEROKU: boolean; | ||
export const HUDSON: boolean; | ||
export const JENKINS: boolean; | ||
export const LAYERCI: boolean; | ||
export const MAGNUM: boolean; | ||
@@ -58,0 +59,0 @@ export const NETLIFY: boolean; |
{ | ||
"name": "ci-info", | ||
"version": "3.7.1", | ||
"version": "3.8.0", | ||
"description": "Get details about the current Continuous Integration environment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,3 +36,3 @@ # ci-info | ||
| Name | Constant | isPR | | ||
| ------------------------------------------------------------------------------- | -------------------- | ---- | | ||
| ------------------------------------------------------------------------------- | ----------------------- | ---- | | ||
| [AWS CodeBuild](https://aws.amazon.com/codebuild/) | `ci.CODEBUILD` | 🚫 | | ||
@@ -59,2 +59,3 @@ | [AppVeyor](http://www.appveyor.com) | `ci.APPVEYOR` | ✅ | | ||
| [Google Cloud Build](https://cloud.google.com/build) | `ci.GOOGLE_CLOUD_BUILD` | 🚫 | | ||
| [Harness CI](https://www.harness.io/products/continuous-integration) | `ci.HARNESS` | 🚫 | | ||
| [Heroku](https://www.heroku.com) | `ci.HEROKU` | 🚫 | | ||
@@ -61,0 +62,0 @@ | [Hudson](http://hudson-ci.org) | `ci.HUDSON` | 🚫 | |
116
vendors.json
@@ -51,3 +51,6 @@ [ | ||
"env": "BUILDKITE", | ||
"pr": { "env": "BUILDKITE_PULL_REQUEST", "ne": "false" } | ||
"pr": { | ||
"env": "BUILDKITE_PULL_REQUEST", | ||
"ne": "false" | ||
} | ||
}, | ||
@@ -70,3 +73,8 @@ { | ||
"env": "CF_BUILD_ID", | ||
"pr": { "any": ["CF_PULL_REQUEST_NUMBER", "CF_PULL_REQUEST_ID"] } | ||
"pr": { | ||
"any": [ | ||
"CF_PULL_REQUEST_NUMBER", | ||
"CF_PULL_REQUEST_ID" | ||
] | ||
} | ||
}, | ||
@@ -82,3 +90,5 @@ { | ||
"constant": "CODESHIP", | ||
"env": { "CI_NAME": "codeship" } | ||
"env": { | ||
"CI_NAME": "codeship" | ||
} | ||
}, | ||
@@ -89,3 +99,5 @@ { | ||
"env": "DRONE", | ||
"pr": { "DRONE_BUILD_EVENT": "pull_request" } | ||
"pr": { | ||
"DRONE_BUILD_EVENT": "pull_request" | ||
} | ||
}, | ||
@@ -103,6 +115,13 @@ { | ||
{ | ||
"name": "Gerrit", | ||
"constant": "GERRIT", | ||
"env": "GERRIT_PROJECT" | ||
}, | ||
{ | ||
"name": "GitHub Actions", | ||
"constant": "GITHUB_ACTIONS", | ||
"env": "GITHUB_ACTIONS", | ||
"pr": { "GITHUB_EVENT_NAME": "pull_request" } | ||
"pr": { | ||
"GITHUB_EVENT_NAME": "pull_request" | ||
} | ||
}, | ||
@@ -126,16 +145,13 @@ { | ||
{ | ||
"name": "LayerCI", | ||
"constant": "LAYERCI", | ||
"env": "LAYERCI", | ||
"pr": "LAYERCI_PULL_REQUEST" | ||
"name": "Harness CI", | ||
"constant": "HARNESS", | ||
"env": "HARNESS_BUILD_ID" | ||
}, | ||
{ | ||
"name": "Gerrit", | ||
"constant": "GERRIT", | ||
"env": "GERRIT_PROJECT" | ||
}, | ||
{ | ||
"name": "Heroku", | ||
"constant": "HEROKU", | ||
"env": { "env": "NODE", "includes": "/app/.heroku/node/bin/node" } | ||
"env": { | ||
"env": "NODE", | ||
"includes": "/app/.heroku/node/bin/node" | ||
} | ||
}, | ||
@@ -150,6 +166,20 @@ { | ||
"constant": "JENKINS", | ||
"env": ["JENKINS_URL", "BUILD_ID"], | ||
"pr": { "any": ["ghprbPullId", "CHANGE_ID"] } | ||
"env": [ | ||
"JENKINS_URL", | ||
"BUILD_ID" | ||
], | ||
"pr": { | ||
"any": [ | ||
"ghprbPullId", | ||
"CHANGE_ID" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "LayerCI", | ||
"constant": "LAYERCI", | ||
"env": "LAYERCI", | ||
"pr": "LAYERCI_PULL_REQUEST" | ||
}, | ||
{ | ||
"name": "Magnum CI", | ||
@@ -163,3 +193,6 @@ "constant": "MAGNUM", | ||
"env": "NETLIFY", | ||
"pr": { "env": "PULL_REQUEST", "ne": "false" } | ||
"pr": { | ||
"env": "PULL_REQUEST", | ||
"ne": "false" | ||
} | ||
}, | ||
@@ -170,3 +203,6 @@ { | ||
"env": "NEVERCODE", | ||
"pr": { "env": "NEVERCODE_PULL_REQUEST", "ne": "false" } | ||
"pr": { | ||
"env": "NEVERCODE_PULL_REQUEST", | ||
"ne": "false" | ||
} | ||
}, | ||
@@ -182,3 +218,5 @@ { | ||
"env": "RENDER", | ||
"pr": { "IS_PULL_REQUEST": "true" } | ||
"pr": { | ||
"IS_PULL_REQUEST": "true" | ||
} | ||
}, | ||
@@ -195,3 +233,6 @@ { | ||
"env": "SCREWDRIVER", | ||
"pr": { "env": "SD_PULL_REQUEST", "ne": "false" } | ||
"pr": { | ||
"env": "SD_PULL_REQUEST", | ||
"ne": "false" | ||
} | ||
}, | ||
@@ -208,3 +249,5 @@ { | ||
"env": "SHIPPABLE", | ||
"pr": { "IS_PULL_REQUEST": "true" } | ||
"pr": { | ||
"IS_PULL_REQUEST": "true" | ||
} | ||
}, | ||
@@ -220,3 +263,5 @@ { | ||
"constant": "SOURCEHUT", | ||
"env": { "CI_NAME": "sourcehut" } | ||
"env": { | ||
"CI_NAME": "sourcehut" | ||
} | ||
}, | ||
@@ -231,3 +276,6 @@ { | ||
"constant": "TASKCLUSTER", | ||
"env": ["TASK_ID", "RUN_ID"] | ||
"env": [ | ||
"TASK_ID", | ||
"RUN_ID" | ||
] | ||
}, | ||
@@ -243,3 +291,6 @@ { | ||
"env": "TRAVIS", | ||
"pr": { "env": "TRAVIS_PULL_REQUEST", "ne": "false" } | ||
"pr": { | ||
"env": "TRAVIS_PULL_REQUEST", | ||
"ne": "false" | ||
} | ||
}, | ||
@@ -249,3 +300,8 @@ { | ||
"constant": "VERCEL", | ||
"env": { "any": ["NOW_BUILDER", "VERCEL"] } | ||
"env": { | ||
"any": [ | ||
"NOW_BUILDER", | ||
"VERCEL" | ||
] | ||
} | ||
}, | ||
@@ -260,4 +316,8 @@ { | ||
"constant": "WOODPECKER", | ||
"env": { "CI": "woodpecker" }, | ||
"pr": { "CI_BUILD_EVENT": "pull_request" } | ||
"env": { | ||
"CI": "woodpecker" | ||
}, | ||
"pr": { | ||
"CI_BUILD_EVENT": "pull_request" | ||
} | ||
}, | ||
@@ -264,0 +324,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25781
469
136