wemake-vue-template
  • Introduction
  • Architecture
  • FAQ
  • Development
  • Configuration
  • Editors
  • TypeScript
  • Vue
  • Styles
  • Linting
  • Testing
  • Docker
  • GitLab CI
  • QA
  • Production
Powered by GitBook
On this page
  • Usage with GitHub
  • Configuration
  • Pipelines
  • Secret variables
  • Further reading

GitLab CI

PreviousDockerNextQA

Last updated 6 years ago

We use to store our code and to run tests.

We use GitLab CI to build our containers, test it, and store them in the internal registry.

These images are then pulled into the production servers.

Usage with GitHub

You can store your code inside GitHub with no problems. Just learn how to configure GitLab CI with GitHub.

Configuration

All configuration is done inside .gitlab-ci.yml.

Pipelines

We have two pipelines configured: for master and other branches. That's how it works: we only run testing for feature branches and do the whole building/testing/deploying process for the master branch.

This allows us to speed up the development process.

Secret variables

If some real secret variables are required, then you can use . And these kinds of variables are required most of the time.

See configuration.md on how to use dump-env and gitlab-ci together.

Further reading

GitLab
GitLab CI
to be used
GitLab secrets
Container Registry
Gitlab CI/CD