New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gitlab-ci-selective

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-ci-selective

Tool help to run custom shell commands depends on changes in Merge Request.

latest
npmnpm
Version
0.6.1
Version published
Maintainers
1
Created
Source

Tool help to run custom shell commands depends on changes in Merge Request.

Install tool:

npm i gitlab-ci-selective

Write config:

testing:
  module1/**:
    - cd module1 && npm test
    - cd module1 && npm run lint
deploy:
  module1/**:
  - cd module1 && npm run deploy

Then you can run tool from CI (.gitlab-ci.yml).

npm i gitlab-ci-selective
./node_modules/.bin/gitlab-ci-selective \
--token=$CI_JOB_TOKEN \
--project=$CI_PROJECT_ID \
--sha=$CI_COMMIT_SHA \
--stage=$CI_JOB_STAGE

Keywords

gitlab

FAQs

Package last updated on 25 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts