Sign inSign up

s1rd4v3/gitlab-runner-meteor

By s1rd4v3

Updated about 6 years ago

gitlab-runner-meteor

Image
2

1.5K

s1rd4v3/gitlab-runner-meteor repository overview

gitlab-runner-meteor

This is a custom build of the original gitlab-runner Docker image from https://gitlab.com/gitlab-org/gitlab-runner. I've simply added some meteor tools i need to deploy my stuff.

Tested with Meteor 1.4.2

Toolchain:

.gitlab-ci.yml example
publish_live:
  only:
    - master
  script:
    - meteor build --directory meteor-app
    - cd meteor-app/bundle/
    - pushd programs/server/
    - npm install
    - popd
    - lftp / rsync ...
  tags:
    - meteor
    - npm
    - node

In Gitlab-CI project settings, i'm creating secret project variables for FTP_USER, FTP_PASS and FTP_HOST.

If you are defining tags like i did in my example, you need to set those tags on your runner via Gitlab-CI settings too. If not, your build status will stay pending!

Fix lftp certificate validation error

You need to perform the following actions as gitlab-runner user (sudo su gitlab-runner)

  • create ~/.lftprc file with set ssl:verify-certificate false if certificate validation fails

Tag summary

Content type

Image

Digest

Size

670.1 MB

Last updated

about 6 years ago

docker pull s1rd4v3/gitlab-runner-meteor