Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CI #53

Open
andyw8 opened this issue Oct 1, 2019 · 1 comment
Open

Enable CI #53

andyw8 opened this issue Oct 1, 2019 · 1 comment

Comments

@andyw8
Copy link
Contributor

andyw8 commented Oct 1, 2019

@frbk I'd like to enable CI for this repo, so it probably makes sense to use GitLab. What's the first step?

@frbk
Copy link

frbk commented Oct 2, 2019

Gitlab has amazing documentation: https://docs.gitlab.com/ee/ci/yaml/
We are using k8s so you would start off with something like this:

stages:
  - test

variables:
  GIT_DEPTH: 1
  DOCKER_HOST: tcp://localhost:2375
  DOCKER_TLS_CERTDIR: ""
  DOCKER_DRIVER: overlay2

test:
  image: $CI_REGISTRY_IMAGE/base:beta (let me know what you need for the base)
  stage: test
  script:
    - bundle install
    - <some other task>
  artifacts: 
   - logs
  tags:
    - cluster

We can schedule a meeting if you need more info about this.

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

No branches or pull requests

2 participants