Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Guide for Gitlab CI #8

Open
AVapps opened this issue Jan 11, 2017 · 2 comments
Open

Guide for Gitlab CI #8

AVapps opened this issue Jan 11, 2017 · 2 comments

Comments

@AVapps
Copy link

AVapps commented Jan 11, 2017

Hi,
I've seen that you use Gitlab CI. Could you please provide a guide on how to use minimeteor with it?
Thanks !

@aedm
Copy link
Owner

aedm commented Feb 2, 2017

Hey! Sorry for the late answer.
Here's an example .gitlab-ci.yml: https://gitlab.com/aedm/got7-death-pool/blob/master/.gitlab-ci.yml

Basically, the relevant part:

build_docker_image:
  image: gitlab/dind:latest
  stage: build
  script:
  - docker info
  - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
  - curl https://aedm.github.io/minimeteor/build.sh | sh -s registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF registry.gitlab.com/aedm/got7-death-pool:latest
  - docker push registry.gitlab.com/aedm/got7-death-pool:$CI_BUILD_REF
  - docker push registry.gitlab.com/aedm/got7-death-pool:latest
  only:
  - release

This builds the Docker image and pushes it to GitLab's registry.

@AVapps
Copy link
Author

AVapps commented Feb 2, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants