Skip to content

Repository files navigation

HOW TO: Simplify Pipeline

NPM DownloadsPackage Version

npm install -g simplify-pipeline

Example .gitlab-ci.yml file:

image: node:lts-stretchstages:
- build
- testpackage-build:
stage: buildbefore_script:
- mkdir -p /root/.aws/
- echo "[default]" > /root/.aws/credentials
- echo "[default]" > /root/.aws/configscript:
- echo "TEST_FILE_CREAED-1" >> test-file.jsonpackage-test:
stage: testdependencies:
- package-buildscript:
- 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

About

Simplify the way to run pipelines in your local machine using the templates from GitLab CI

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages