Public | Automated Build

Last pushed: 3 months ago
Short Description
gitlab-node
Full Description

mersocarlin/gitlab-node

Builds NodeJS apps in GitLab and deploys to Heroku.

⭐ Features

alpine/node: Minimal Node.js Docker Images built on Alpine Linux

Dpl: deploy tool made for continuous deployment

node-gyp: Node.js native addon build tool

bcrypt build support

📖 How to

In .gitlab-ci.yml file:

image: mersocarlin/gitlab-node:latest

stages: 
  - Test
  - Production

test:
  stage: Test
  script:
    - yarn test

production:
  stage: Production
  script:
    - dpl --provider=heroku --app=YOUR_HEROKU_APP_NAME --api-key=HEROKU_PRODUCTION_API_KEY

Get Heroku api key in https://dashboard.heroku.com/account.

Docker Pull Command
Owner
mersocarlin
Source Repository