-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add .gitlab-ci.yml-compatible continuous integration configuration #8316
Conversation
Hello @jayaddison-collabora, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
hey, thanks for the PR, I'll assign some reviewers as I'm not familiar with gitlab's yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree in moving this to a contrib directory and not having it in the root.
Also will be good to have some documentation in how to use this
thanks for this PR!
Thanks @cpanato, I'll relocate the file soon. Would somewhere under https://github.com/mattermost/mattermost-developer-documentation/tree/master/site/content/contribute be a good place to offer some corresponding documentation? |
@jayaddison-collabora I would say, this file should be in a directory maybe called the documentation in the other repo will be good as well, but I would like to see something together with this addition thanks! |
Sounds good to me, thanks @cpanato! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jayaddison-collabora for your contribution! Great suggestion!
Thanks @metanerd! |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
There are at least two issues to address here I think:
|
Some more thoughts: although running linting and unit tests is a start, I think a more valuable follow-on from this would be to add the ability to produce build packages of That would require some careful planning because the webapp A bonus would be to use the It's possible I might experiment with some of this soon, it'd make life easier in a bunch of ways. |
friendly ping @cpanato |
Update: sorry about the noise here, I think I'm mistaken; the cause of these Edit: update dependency link to point to the most recent commit on Edit: add explainer: it looks like these errors were a false alarm; they only occur in a local build environment with some customizations applied |
@cpanato does this need QA? |
nope, this is just an example of a gitlab pipeline, nothing that we will run here |
Summary
This changeset provides a GitLab-CI compatible YAML config to run linting and unit testing for
mattermost-webapp
.The initially-presented filename
.gitlab-ci.collabora.yml
is what I've been using verbatim during development at @collabora - open to moving this to acontrib
directory and/or otherwise reducing any namespace pollution or confusion.As mentioned in mattermost/mattermost#17843, the
CI_CONFIG_PATH
can be used to configure GitLab CI to read from this configuration file on a per-repository basis.Ticket Link
Relates to mattermost/mattermost#17843.
Release Note
This doesn't affect the functionality of the Mattermost product and application.