Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • whats-open whats-open
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • whats-openwhats-open
  • Issues
  • #44

Closed
Open
Created Mar 22, 2017 by David Haynes@dhaynes3🙆Owner

Configure gitlab-ci.yml to build on every commit

Summary

Gitlab has built in functionality to "build" a project on every commit pushed to the site. This will allow us to ensure that whats-open is still functional when pushed to gitlab and will allow us in the future to run testing and generate a report on test coverage. To enable this, a new file gitlab-ci.yml needs to be added to the root directory with some configuration to get things going. There are examples from other projects that you can pull from and basically modify slightly to make things work.

Helpful Links

  • https://git.gmu.edu/srct/go/blob/master/.gitlab-ci.yml
  • https://git.gmu.edu/srct/roomlist/blob/master/.gitlab-ci.yml
Assignee
Assign to
Time tracking