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

Guide for Gitlab CI #8

Open
Open

Description

@AVapps

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

Activity

  1. aedm commented on Feb 2, 2017

    @aedm
    Owner

    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.

  2. AVapps commented on Feb 2, 2017

    @AVapps
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions