openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: Travis CI takes hours to process a PR on Apache Org
Date Wed, 26 Apr 2017 15:54:58 GMT
Hi I was able to work with INFRA team and were able to get Travis to an usable state.

Daniel enable the beta configuration on all apache repos enable on Travis [1]

I did some a few tests [2] and Travis builds are testing after a few minutes instead of hours.

I will continue with INFRA ticket and ask Daniel for the second set of repos to move to Apache
Org in Github

This is the list of repos I will ask him to move, like I said in previous emails nothing brakes.
Travis and other integrations continue to work and old urls to apache org continue to work
with redirects.

Move these repos to apache/incubator-openwhisk-*:

openwhisk/openwhisk-client-js
openwhisk/openwhisk-client-swift
openwhisk/openwhisk-podspecs
openwhisk/openwhisk-vscode
openwhisk/openwhisk-package-jira
openwhisk/openwhisk-catalog
openwhisk/openwhisk-package-template
openwhisk/openwhisk-sample-slackbot
openwhisk/openwhisk-package-rss
openwhisk/openwhisk-xcode
openwhisk/openwhisk-client-python
openwhisk/openwhisk-sample-matos
openwhisk/openwhisk-wskdeploy
openwhisk/openwhisk-workshop
openwhisk/openwhisk-package-kafka
openwhisk/openwhisk-external-resources
openwhisk/openwhisk-package-cloudant
openwhisk/openwhisk-package-alarms
openwhisk/openwhisk-debugger
openwhisk/openwhisk-devtools
openwhisk/openwhisk-apigateway
openwhisk/openwhisk-client-go
openwhisk/openwhisk-GitHubSlackBot
openwhisk/openwhisk-cli

Do not move yet:

openwhisk/openwhisk
openwhisk/openwhisk.github.io
openwhisk/openwhisk-slackinvite
openwhisk/openwhisk-playground


[1] https://issues.apache.org/jira/browse/INFRA-13634?filter=-2 <https://issues.apache.org/jira/browse/INFRA-13634?filter=-2>
[2] https://travis-ci.org/apache/incubator-openwhisk-package-pushnotifications/builds/225995234
<https://travis-ci.org/apache/incubator-openwhisk-package-pushnotifications/builds/225995234>


On 2017-03-01 22:25 (-0400), Carlos Santana <csantana23@gmail.com> wrote: 
> So I got two repos moved to the apache organization on Github, tutorial CLI
> and push notification package.
> 
> Push notification is configured with Travis Integration. The problem I
> found after the moved is that a new PR took from 6 to 20 hours to run the
> build on travis and check green on Github.
> 
> Currently the repos under the OpenWhisk organization builds start
> immediately for PRs
> 
> The root cause is that Apache has 185 repos enable with Travis [1]
> But only an allocation of 30 concurrent builds [2]
> 
> Today in OpenWhisk, the core repo is the one that is actively using Travis,
> so the free 5 concurrent builds are enough.
> 
> I worked with INFRA team, by the way very helpful folks on their chat [3]
> and faster answers to my questions.
> 
> We found out that Travis has beta feature that cancels any previous builds
> for a PR, and only builds the last commit for a PR.
> Daniel Takamori from INFRA enabled this for our push repo [4]
> 
> I proposed we move forward as the following:
> 
> - Move the rest of the repos to Apache org except openwhisk/openwhisk (Core)
> 
> - Implement Jenkins CI [5] using builds.apache.org community server [6] for
> main openwhisk core repo to process PRs on Github ot implement the same
> build configuration (i.e. single VM) that we use on Travis
> 
> - Once PRs are process with Jenkins, then request the move for openwhisk
> core repo.
> 
> - Look into how to get VMs donated to be dedicate to OpenWhisk builds, as
> you can see in the slave nodes [7] Hadoop have 14 nodes, and cassandra has
> 7. This will allow for builds with distributed VMs (3 VMs setup), and also
> dedicated VM to process the Github PRs
> 
> - Discuss with INFRA team if they are willing to enable the Travis dedupe
> flag across all apache repos currently enable iN Travis, to allow better
> use of the 30 cuncurrent builds
> 
> Isabel, Felix, Sergio
>   I need your help getting admin access to the Jenkins server, my apache id
> is csantanapr
> 
> According to their page [6]:
> *Those of you in the Incubator, there are many PMC Chairs belonging to the
> Incubator PMC, including but not limited to the Incubator PMC Chair. So if
> a mentor can't do it, ask around. If no answer within a reasonable time
> frame, then by all means open an INFRA ticket, mentioning your earlier
> attempts to get a PMC Chair to do it.*
> 
> 
> [1] https://travis-ci.org/apache
> [2] https://blogs.apache.org/infra/entry/apache_gains_additional_travis_ci
> [3] http://infra.chat
> [4] https://issues.apache.org/jira/browse/INFRA-13589
> [5] https://builds.apache.org/
> [6] https://cwiki.apache.org/confluence/display/INFRA/Jenkins
> 
> -- Carlos
> 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message