Level / community

Discussion, support and common information for projects in the community.
MIT License
43 stars 15 forks source link

Migrate Travis to GitHub Apps for all repos #67

Closed vweevers closed 5 years ago

vweevers commented 5 years ago

See https://docs.travis-ci.com/user/migrate/legacy-services-to-github-apps-migration-guide/

ralphtheninja commented 5 years ago

As of May 2, 2018 we are moving toward having repositories integrated via a GitHub App instead of GitHub Services which will no longer be supported by GitHub as of January 31st, 2019.

They stopped supporting it but it's working?

vweevers commented 5 years ago

Yeah.. I'm guessing they extended it because people (like us) are still using it?

ralphtheninja commented 5 years ago

Done

ralphtheninja commented 5 years ago

Actually, lets leave it open until we know everything works.

Screenshot from 2019-05-20 12-47-47

ralphtheninja commented 5 years ago

Oh, this is only about private repositories?

vweevers commented 5 years ago

It should also be disabled for some repos (like awesome, community and leveljs.org)

vweevers commented 5 years ago

@ralphtheninja Maybe we should also remove Greenkeeper and Travis webhooks? Looking at a recent project with Greenkeeper integration (https://github.com/Level/webpack-starter/settings/hooks), it seems webhooks are not needed anymore. Maybe that's true for Travis as well.

vweevers commented 5 years ago

Ah, our repos are currently active on travis-ci.org (with according webhooks). The migration activated them on travis-ci.com.

Because we can't configure repos on the new travis-ci.com until we deactivate them on the old travis-ci.org, we'll have to make note of the secrets & configuration, then deactivate, then reconfigure.

vweevers commented 5 years ago

Repos (also listed archived ones, because "all or nothing" is easier to manage, i.e. we should end up with nothing in travis-ci.org and all in travis-ci.com):

vweevers commented 5 years ago

I cannot figure out how to activate a repo on travis-ci.com after having disabled it on travis.ci.org. Perhaps that's just not supported.

It seems you have to sign up for a beta in order to migrate existing repos.

vweevers commented 5 years ago

I signed up for the beta and am migrating a few repos at a time.

vweevers commented 5 years ago

Travis migration done. Also removed old testling, greenkeeper, zenhub and waffle webhooks.

While I'm at it, lemme see if I can migrate AppVeyor to GitHub Apps too.

vweevers commented 5 years ago

Done.