Sign inSign up

mersocarlin/gitlab-node

By mersocarlin

•Updated almost 7 years ago

gitlab-node

Image
0

4.7K

mersocarlin/gitlab-node repository overview

⁠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⁠.

Tag summary

Content type

Image

Digest

Size

112.6 MB

Last updated

almost 7 years ago

docker pull mersocarlin/gitlab-node