Skip to content

azachar/gitlab-integration

 
 

Repository files navigation

Build Status APM Version APM Downloads

Atom gitlab-integration package

Track gitlab pipelines state of your project.

Screenshot

Configuration

  • This fork can be installed from
      apm install https://github.com/azachar/gitlab-integration
    

Please install additional forks to benefit from some extra functionality.

  • Once installed, fill your Gitlab API token in the package's settings page
  • Clone a project hosted on a gitlab server
    • warning pay attention to the URL you use to clone your project. Indeed, gitlab-integration uses remote named origin to determine where to reach Gitlab API to get pipeline statuses, so make sure that is the one that points to your gitlab server. Indeed, gitlab-integration uses Atom GitRepository API to retrieve that URL, which does not currently leave the choice about which remote to consider as upstream repository.
  • Add the project to Atom or directly open a file from your project
  • gitlab-integration should display pipeline statuses in the status bar if it can correctly determine and reach the gitlab server where your project is hosted like shown above.
  • In case any errors occurs, a message should be logged in Atom developer console.

Gitlab Build Log Filtering Support

  • In order to benefit from extra log filtering to narrow down your error from your failed GitLab job's trace log, you need to install 2 additional packages to your atom. Currently, these packages are in experimental mode and still under the development (basically I forked them to gain quick functionality)

  • Please install forks language-ansi-styles from azachar repo the same applies to language-log package.

      apm install https://github.com/azachar/language-log
      apm install https://github.com/azachar/language-ansi-styles
    
  • In order to open your job's reports directly in your browser instead of downloading them, please set up your GitLab installation or modify your browser by following https://gitlab.com/gitlab-org/gitlab-ce/issues/10982#note_50291868

Contributing

Reporting issues and pull requests are more than welcome on this project.

Please provide console debug output screenshot by enabling corresponding option in package settings:

Debug option

About

Track gitlab pipelines state of your project in Atom editor and more

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 96.2%
  • CSS 3.8%