Skip to content

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

Notifications You must be signed in to change notification settings

simplify-framework/pipeline

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published