-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI solution #203
Comments
Travis build is set up. |
Travis: Advantages:
Disadvantages:
Jenkins: Disadvantages:
|
Let's see how Travis free plan works. |
@artur-beljajev how does this function at the moment? all commits to staging initiate autotests? Why are there so many commits in staging with red cross marking the travis CI build failure - if commit does not pass autotests can it be configured so that commit fails and broken code does not get merged into staging. |
Yes, commits to staging initiate all specs to run. Build fails since tests are broken, see linked ticket. |
@artur-beljajev I cannot find any commits on master branch |
See staging. |
@artur-beljajev how can i commit this to master? |
It is in staging branch |
@artur-beljajev that is no use to me - cannot close/accept ticket until it is in master |
What I am supposed to do with it then? |
cherry-pick the code to separate branch for example |
What's the benefit of this additional effort? |
finishing the job and closing the ticket |
The change is present in staging branch, and I see no reason introducing new feature branch only for 1 file change that does not depend on anything, besides Travis, which is totally external to us. Please either check it briefly, say, that you see build info in Travis and close it, or please be so kind, explain, what is the reason why you want to extract it to separate branch. |
Notifications are sent to developers@tld.ee |
Notification email is removed from Travis config. By default it gets sent to committer. Merged with master and staging. @teadur FYI developers@tld.ee is not used by Travis anymore. |
@artur-beljajev please update this: https://github.com/internetee/registry/blob/master/doc/testing.md |
I don't think it should be under test guide. Travis is CI solution, and new registry may or may not use it. |
I am also thinking of removing branch spec from config at all (i.e. what branch to run the specs against). It should be specified per Travis instance config, not in repo config, imho. |
@artur-beljajev please update changelog on changes related to this ticket |
Done |
Merged to staging |
@artur-beljajev are there any other methods for me to get the travis buildreports automatically ? |
According to https://docs.travis-ci.com/user/notifications I don't see any way of neither having dedicated config file for each registry nor configure it in Travis UI. |
@artur-beljajev There is a documented way to configure what @teadur asked -
Please add reference to the documentation oh how to set this in deployment file. |
We had this solution initially, but then removed it since we cannot just hard-code those emails. We also can't git ignore this file, since Travis expects it to exist. P.S. Actually, there are defaults which will be used in case of absence of travis.yml, but this file has some project-dependent config. |
@artur-beljajev document this option in our installation/deployment guide so if someone will deploy the system they will know that if they want travis notifications on some specific email they will have to configure it in yaml file before deploying it. |
This file is tracked by Git. If another registry makes changes in this file, it is out of luck. |
@artur-beljajev branch https://github.com/internetee/registry/tree/registry-203 has merge conflicts with master. Please resolve the issues. |
Done |
closed, branch deleted |
we need to set up Continuous Integration solution. GitHub integration is something to keep in mind so that autotest are run on merge/commit to staging for example.
https://github.com/integrations/feature/continuous-integration
deployment guide must also be updated with install and config instructions.
Solutions:
The text was updated successfully, but these errors were encountered: