-
Notifications
You must be signed in to change notification settings - Fork 37
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
Draft: Add Travis CI support #162
Conversation
cc |
611fe5e
to
aea9d82
Compare
Notes from today's call w/ Florent and other Che devs:
@cwsolee can you talk to your people at Travis to ask if we can get more capacity than 3 parallel jobs? If that's a hard limit, then we can't use travis for more than Z builds and it makes sense to keep everything else in the 20-build GHA pool (x, arm, power, etc.), and have a GH action delegate to Travis for only the s390x arch builds. |
Travis change our concurrency limit too, it's 20 now and Travis were quite willing to increase more when needed. With both time limit & concurrency limit increase, we haven't hit any problem since then. |
8e6f36c
to
245088d
Compare
Following changes are implemented:
PR check limitation on triggering PR-check jobs on Travis via API:
While checking on the implementation, we found that the Travis request API doesn't support triggering builds on PR references. However, as a workaround added below specified commands in the install section of PR-check jobs in travis.yml. However, If a PR contains changes in the travis.yml file, those won't be validated.
|
@nickboldt & @ericwill , We keep this PR as draft for u to take a look before we submit, let us know whether you've any comments. Comments from others are welcome too. |
No, we're moving from :nightly to :next, and will be removing all :nightly tags this week. See eclipse-che/che#19291 For the secrets/env vars, looks like we have two options: a) UI - https://travis-ci.com/github/eclipse-che/che-machine-exec/settings Using option b, here's an updated PR based on this one: #170 |
Hi @nickboldt, As changes from this PR are taken forward in PR #170. Good to close this PR? |
if everything you need is in #170, then yes. |
245088d
to
3edfc83
Compare
@nickboldt I have updated the PR with changes from #170. |
Change-Id: I96fa770c0e761ad8f538f06a0d5b2bedbb617952 Signed-off-by: nickboldt <[email protected]>
Running https://app.travis-ci.com/github/eclipse-che/che-machine-exec/builds/235860533 because of this merge. Now spinning in https://app.travis-ci.com/github/eclipse-che/che-machine-exec/builds/235860766/config |
Change-Id: I3b55da63d9552985044d14e7042d7cc4f767bba8 Signed-off-by: nickboldt <[email protected]>
https://app.travis-ci.com/github/eclipse-che/che-machine-exec/builds/235860766 (PR check, build #9) is green. The commit in https://app.travis-ci.com/github/eclipse-che/che-machine-exec/builds/235860533 (build #8) -- was stuck on the s390x steps, but has also passed. \o/ |
enabled travis for :next builds: Running in https://app.travis-ci.com/github/eclipse-che/che-machine-exec/builds/235862504 - ran for 6 mins, with 5 mins of waiting = total 11 mins. MEANWHILE GH action is still going >20 mins. |
GH action is complete now too -- took 17 mins longer (28 mins) than the Travis build (11 mins) for 3/4 of the same arches. That's only one data point but it suggests that moving next, PR, and release build actions to Travis will certainly not make things slower :D |
on https://github.com/eclipse-che/che-machine-exec/runs/3382034579?check_suite_focus=true I see 'wrong credentials'
|
This refers to issue-19688. Adds Travis CI support to build multi-arch images.
Workflows migrated from GA to Travis CI:
In case of release workflow, we can trigger a manual build by using the trigger build option from Travis UI. After selecting branch, we can provide a custom config to override the config variables in .travis.yml.
For eg:-
Env variables to be set in Travis CI settings:
DOCKER_PASSWORD
DOCKER_USERNAME
GITHUB_TOKEN
MATTERMOST_WEBHOOK_URL
QUAY_PASSWORD
QUAY_USERNAME
Signed-off-by: Prabhav Thali [email protected]