Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Dockerfiles
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PicasoftPicasoft
  • Technique
  • Dockerfiles
  • Merge requests
  • !44

Optimize CI and remove deployment steps, add Mattermost and update Etherpad

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Quentin Duchemin requested to merge dev-ci into master Jan 02, 2020
  • Overview 0
  • Commits 44
  • Pipelines 1
  • Changes 41
  1. Remove intermediate image

We use a base image for all steps of the CI (containing git, wget, ...) and use the Gitlab cache system rather than environment variables in a specific image to pass needed values across jobs, such as the name of the image to build and to analyze.

  1. Generalize CI

The image will be triggered for all Dockerfile and docker-compose.yml files.

  1. Remove deployment

Due to security and usability reasons, deployment has been removed. As a consequence :

  • Secrets are no longer managed by Gitlab / PGP
  • Certificates to access the docker socket are no longer exposed on Gitlab
  • Ad-hoc scripts to define which service belongs to which host are removed

So, the image is built, analyzed and pushed only.

  1. Updated images

Etherpad is updated to the newest version and Mattermost is now a custom image managed by the CI.

  1. Various improvements

Factorization in .gitlab-ci.yml

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev-ci