simplify-pipeline

Simplify CLI - Easy Pipeline

Usage no npm install needed!

<script type="module">
  import simplifyPipeline from 'https://cdn.skypack.dev/simplify-pipeline';
</script>

README

HOW TO: Simplify Pipeline

NPM Downloads Package Version

npm install -g simplify-pipeline

Example .gitlab-ci.yml file:

image: node:lts-stretch
stages:
  - build
  - test

package-build:
  stage: build
  before_script:
  - mkdir -p /root/.aws/
  - echo "[default]" > /root/.aws/credentials
  - echo "[default]" > /root/.aws/config
  script:
  - echo "TEST_FILE_CREAED-1" >> test-file.json

package-test:
  stage: test
  dependencies:
  - package-build
  script:
  - ls -la && cat test-file.json
  - cat .gitlab-ci.yml

simplify-pipeline -f .gitlab-ci.yml list

  • build
  • test

Run the build stage:

simplify-pipeline -f .gitlab-ci.yml create build
bash pipeline.sh build

Run the test stage:

simplify-pipeline -f .gitlab-ci.yml create test
bash pipeline.sh build