-
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
feat(CI): Add Travis CI support #170
Conversation
Codecov Report
@@ Coverage Diff @@
## main #170 +/- ##
=======================================
Coverage 45.18% 45.18%
=======================================
Files 13 13
Lines 509 509
=======================================
Hits 230 230
Misses 276 276
Partials 3 3 Continue to review full report at Codecov.
|
Note: this is not yet running in travis due to "Could not authorize build request" - see https://travis-ci.com/github/eclipse-che/che-machine-exec/requests?requestId=577440508 |
Hi @nickboldt, looks like the job is not getting triggered due to token issue. https://github.com/eclipse-che/che-machine-exec/pull/170/checks?check_run_id=2992405237 {
"@type": "error",
"error_type": "wrong_credentials",
"error_message": "access denied"
} Is |
2 questions:
|
Api token can be found under account preferences ( https://travis-ci.com/account/preferences )
Yes. Travis build for PR check is triggered through |
I uploaded my exported token from https://travis-ci.com/account/preferences, then uploaded it as a secret called TRAVIS_TOKEN to eclipse-che/che-machine-exec ... but still failing. Also tried to re-trigger this PR's action to trigger the travis process... https://github.com/eclipse-che/che-machine-exec/runs/3019403781?check_suite_focus=true ... but while the action shows succcess... over at https://travis-ci.com/github/eclipse-che/che-machine-exec/requests I'm seeing the same error: |
Latest failures "Build config did not create any jobs" appear to be releated to travis-ci/travis-ci#8536 |
Hi @nickboldt, travis jobs will not be triggered until the jobs present in
|
Uploaded 4 secrets to https://travis-ci.com/github/eclipse-che/che-machine-exec/settings But I see that unlike the PR for theia, this one embeds the secrets directly (and uses different variable names): |
Hi @nickboldt, we had kept only 4 secrets in PR #162 (naming convention was followed as per GH actions secrets)i.e.
Below variables are not required currently as Travis is experimental |
Signed-off-by: Prabhav Thali <[email protected]> Adds travis suffix and removes workflows handled on GA use upstream gh secret names Change-Id: I34f9126cfe29d2d318f17b37699ade668a02815e Signed-off-by: nickboldt <[email protected]> add secrets and let travis CI autoformat script Change-Id: I622dccb74aa08558e4be715889cc24e25f6b4104 Signed-off-by: nickboldt <[email protected]> add license headers to new .travis.yml and *.sh scripts Change-Id: Ibac061ec2adcac0df1feb39618423da0378260ae Signed-off-by: nickboldt <[email protected]> no-op change to trigger GH workflow using new TRAVIS_TOKEN Change-Id: Ife082c3c4da8e32bae444cc64c2efe206c445e9b Signed-off-by: nickboldt <[email protected]> Revert "no-op change to trigger GH workflow using new TRAVIS_TOKEN" This reverts commit 052ba3c. Revert "Revert "no-op change to trigger GH workflow using new TRAVIS_TOKEN"" This reverts commit 0d7feec. Revert "Revert "Revert "no-op change to trigger GH workflow using new TRAVIS_TOKEN""" This reverts commit 83bd477.
2f8e567
to
afd1f85
Compare
…hub/eclipse-che/che-machine-exec/settings Change-Id: I06db71b6a623808901addbae6227d53c57917c37 Signed-off-by: nickboldt <[email protected]>
…using PRs first Change-Id: Ib8ac14a81d6cec67550d191eab9f37fb02c3dcfb Signed-off-by: nickboldt <[email protected]>
… SUFFIX); just append -travis on SHORT_SHA variable; don't run shell scripts in a nested bash (just run them as is) Change-Id: I04dce67f8fafccb3da9cdf411f79cfdcd9a49098 Signed-off-by: nickboldt <[email protected]>
Travis seems to think that machine-exec is a rake build... https://travis-ci.com/github/eclipse-che/che-machine-exec/builds/235580715 |
@nickboldt I think it's because there is no .travis.yaml file yet ? |
the travis output shows that it's trying to execute it in the 'main' branch |
Hi @nickboldt, |
Changes required in few files:
|
* feat(CI): Adds Travis CI support Signed-off-by: Prabhav Thali <[email protected]> * Adds travis suffix and removes workflows handled on GA * changes to sync with PR #170
I've merged #162, so we can close this |
replaces #162
relates to eclipse-che/che#19688