Track gitlab pipelines state of your project.
- 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
- If you don't know what they are, please refer to https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html,
gitlab-integration
requires api access
- 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 namedorigin
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.
- warning pay attention to the URL you use to clone your project. Indeed,
- 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.
-
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
fromazachar
repo the same applies tolanguage-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
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: