Installations
npm install entro-ci
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=8.0.0
Node Version
16.19.0
NPM Version
8.19.3
Score
58.6
Supply Chain
95.9
Quality
71.8
Maintenance
25
Vulnerability
98.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (99.34%)
JavaScript (0.34%)
Dockerfile (0.25%)
Batchfile (0.07%)
validate.email 🚀
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Developer
entrostat
Download Statistics
Total Downloads
40,350
Last Day
15
Last Week
99
Last Month
302
Last Year
4,114
GitHub Statistics
3 Stars
233 Commits
2 Branches
1 Contributors
Updated on Jan 04, 2022
Bundle Size
505.67 kB
Minified
148.62 kB
Minified + Gzipped
Package Meta Information
Latest Version
4.4.0
Package Id
entro-ci@4.4.0
Unpacked Size
85.23 kB
Size
17.06 kB
File Count
85
NPM Version
8.19.3
Node Version
16.19.0
Published on
Apr 08, 2023
Total Downloads
Cumulative downloads
Total Downloads
40,350
Last Day
36.4%
15
Compared to previous day
Last Week
115.2%
99
Compared to previous week
Last Month
-24.7%
302
Compared to previous month
Last Year
-50.7%
4,114
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
13
entro-ci
An automated CI tool to help with building packages and ignoring them when there wasn't a change.
Usage
1$ npm install -g entro-ci 2$ entro-ci COMMAND 3running command... 4$ entro-ci (-v|--version|version) 5entro-ci/4.4.0 linux-x64 node-v16.19.0 6$ entro-ci --help [COMMAND] 7USAGE 8 $ entro-ci COMMAND 9...
Commands
entro-ci docker:build
entro-ci docker:build-from-file
entro-ci hash:directory DIRECTORY
entro-ci help [COMMAND]
entro-ci kube:deployment:update DEPLOYMENT [NAMESPACE]
entro-ci project:version
entro-ci templates:update
entro-ci trigger:post-build
entro-ci docker:build
Checks if the Docker image has been built before and if it has not then it will build it and push it with the hash to the Docker registry
USAGE
$ entro-ci docker:build
OPTIONS
-P, --docker-password=docker-password The password for logging into the docker repository (mainly for if you
are running this build process inside a container)
-R, --dry-run Whether to run this live or do a dry run
-W, --watch-file=watch-file Files that should be watched to trigger the build. Note, if you set this
then it IGNORES the build directory so you'd have to add that here as
well.
-b, --docker-build-flags=docker-build-flags Any additional build flags that you would like to plug directly into the
Docker build command
-d, --directory=directory (required) The path to the directory that you want to build
-f, --docker-file-name=docker-file-name [default: Dockerfile] The name of the Docker file in the directory
-i, --image-name=image-name (required) The name of the Docker image name without the version on it,
eg: entrostat/entro-ci is correct and entrostat/entro-ci:latest is not
valid
-l, --latest Whether to push the latest tag to the registry
-p, --package=package [default: ./package.json] The path to the package.json that holds the
version of the build
-r, --registry=registry The registry that should be used (by default Docker Hub is used)
-t, --tag=tag The tag version that should be pushed to the registry so that it can be
used in automated deployments
-u, --docker-username=docker-username The username for logging into the docker repository (mainly for if you
are running this build process inside a container)
-w, --watch-directory=watch-directory Directories that should be watched to trigger the build. Note, if you set
this then it IGNORES the build directory so you'd have to add that here
as well.
EXAMPLES
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable --watch-directory=./backend/src
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable --watch-directory=./backend/src
--watch-directory=./backend/migrations
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable --latest
--watch-directory=./project/shared --watch-directory=./backend
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable
--watch-directory=./project/shared --watch-directory=./backend --docker-build-flags="--build-arg API_VERSION=v2
--build-arg ENV=prod"
entro-ci docker:build --directory=./backend --image-name=my-repo/my-image --tag=stable
--watch-directory=./project/shared --watch-directory=./backend --docker-build-flags="--build-arg API_VERSION=v2"
--docker-build-flags="--build-arg ENV=prod"
See code: src/commands/docker/build.ts
entro-ci docker:build-from-file
Checks to see if a specific Dockerfile has changed (not the contents of a directory) and builds if this is the case
USAGE
$ entro-ci docker:build-from-file
OPTIONS
-P, --docker-password=docker-password The password for logging into the docker repository (mainly for if you
are running this build process inside a container)
-R, --dry-run Whether to run this live or do a dry run
-b, --docker-build-flags=docker-build-flags Any additional build flags that you would like to plug directly into the
Docker build command
-f, --docker-file-path=docker-file-path (required) The path to the Docker file
-i, --image-name=image-name (required) The name of the Docker image name without the version on it,
eg: entrostat/entro-ci is correct and entrostat/entro-ci:latest is not
valid
-l, --latest Whether to push the latest tag to the registry
-p, --package=package [default: ./package.json] The path to the package.json that holds the
version of the build
-r, --registry=registry The registry that should be used (by default Docker Hub is used)
-t, --tag=tag The tag version that should be pushed to the registry so that it can be
used in automated deployments
-u, --docker-username=docker-username The username for logging into the docker repository (mainly for if you
are running this build process inside a container)
-w, --watch-file=watch-file One or more files that should be "watched" for change that fall into this
Dockerfile. So it is not a whole folder but a file or two.
EXAMPLES
entro-ci docker:build-from-file --image-name=my-repo/my-image --docker-file-path=./backend/Dockerfile
--watch-file=./backend/package.json --watch-file=./backend/manifest.json --tag=stable
entro-ci docker:build-from-file --image-name=my-repo/my-image --docker-file-path=./backend/Dockerfile
--watch-file=./backend/package.json --watch-file=./backend/manifest.json --tag=stable --latest
--docker-build-flags="--build-arg API_VERSION=v2"
See code: src/commands/docker/build-from-file.ts
entro-ci hash:directory DIRECTORY
Generates the hash of a directory and outputs it to screen.
USAGE
$ entro-ci hash:directory DIRECTORY
ARGUMENTS
DIRECTORY The directory that we're hashing
See code: src/commands/hash/directory.ts
entro-ci help [COMMAND]
display help for entro-ci
USAGE
$ entro-ci help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
entro-ci kube:deployment:update DEPLOYMENT [NAMESPACE]
Trigger an update on a deployment
USAGE
$ entro-ci kube:deployment:update DEPLOYMENT [NAMESPACE]
ARGUMENTS
DEPLOYMENT The name of the deployment that you would like to update
NAMESPACE [default: default] The namespace that the deployment is in
OPTIONS
-b, --bin=bin [default: kubectl] The path to the kubectl executable
ALIASES
$ entro-ci kdu
See code: src/commands/kube/deployment/update.ts
entro-ci project:version
Returns the current version of the project. This command starts from the current directory and moves up until it finds a package.json file.
USAGE
$ entro-ci project:version
OPTIONS
-p, --package=package [default: ./package.json] The path of the package.json file that holds the current version
EXAMPLE
entro-ci project:version
See code: src/commands/project/version.ts
entro-ci templates:update
Updates files specified in the entro-ci.yaml file in the repository
USAGE
$ entro-ci templates:update
OPTIONS
-V, --outputVersion=outputVersion The version that you want to set (if you don't want to use the version in the
package.json)
-f, --file=file [default: ./entro-ci.yaml] The path to the yaml file with the config
-p, --package=package [default: ./package.json] The path of the package.json file that holds the current
version
EXAMPLES
entro-ci templates:update
entro-ci templates:update -f .templates.yaml
See code: src/commands/templates/update.ts
entro-ci trigger:post-build
Trigger a script if the build with a certain image name triggered during this run
USAGE
$ entro-ci trigger:post-build
OPTIONS
-S, --shell=shell [default: /bin/bash] The shell that should be used to trigger this script.
-a, --all-true Require all of the image names to have been built to trigger this.
-i, --image-name=image-name (required) The image name or image names that should build in order for this to trigger.
By default, the trigger works if any one of these names built.
-s, --script=script (required) The path to the script you want to run.
EXAMPLES
entro-ci trigger:post-build --script=./scripts/deploy_prod.sh --image-name=myproject/backend
entro-ci trigger:post-build --script=./deploy_prod.sh --image-name=myproject/frontend --shell=/bin/zsh
entro-ci trigger:post-build --script=./deploy_prod.sh --image-name=myproject/backend-os --image-name=myproject/backend
entro-ci trigger:post-build --script=./deploy_prod.sh --image-name=myproject/backend-os --image-name=myproject/backend
--all-true
See code: src/commands/trigger/post-build.ts

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:lts to node:lts@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95
- Warn: npmCommand not pinned by hash: Dockerfile:7
- Info: 0 out of 1 containerImage dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
13 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-fj58-h2fr-3pp2
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
1.4
/10
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More