ci.sh

0.1.9 • Public • Published

ci.sh

A Midtrans shell library for CI acitivity.

Install

Prerequisite

  • yarn or npm

Step

Summary

# change directory to your desired location, for example .gitlab 
cd .gitlab
 
# install via npm, it will be installed under node_modules folder 
npm install ci.sh@${version} # see package.json and our tag release for the version 
 

Example in gitlab-ci.yml

  • You use ci.example.sh which located in .gitlab folder, and here is the tree of the projects
.
.gitlab
\ ci.example.sh
  node_modules
  \ ci.sh
    \ ci.sh
    \ lib
    \ package.json
    \ README.md
\ your_project_files_here
\ your_project_files_here
\ your_project_files_here
\ .gitlab-ci.yml
stage:
  - example-ruby
 
before_script:
  - export CISH_VERSION=0.19
  - npm install ci.sh@${CISH_VERSION}
 
example:
  stage: example-ruby
  script:
    - source .gitlab/ci.example.sh
    - simple_setup rspec
    - rspec

Example project

WIP

Readme

Keywords

Package Sidebar

Install

npm i ci.sh

Weekly Downloads

3

Version

0.1.9

License

GPL-3.0

Unpacked Size

4.74 kB

Total Files

9

Last publish

Collaborators

  • mappuji