mozilla / ssh_scan

DEPRECATED - A prototype SSH configuration and policy scanner (Blog: https://mozilla.github.io/ssh_scan/)
Mozilla Public License 2.0
793 stars 105 forks source link

Travis CI free usage ends Dec 3; mozilla repos should switch to other CI platforms #527

Closed hwine closed 3 years ago

hwine commented 3 years ago

We're opening this issue because your project has used Travis CI within the last 6 months. If you have already migrated off it, you can close and ignore this issue.

Travis CI is ending free builds on public repositories. travis-ci.com stopped providingthem in early November, and travis-ci.org will stop after December 31, 2020. To avoid disruptions to your workflows, you must migrate to another CI service.

For production use cases, we recommend switching to CircleCI. This service is already widely used within Mozilla. There is a guide to migrating from Travis CI to CircleCI available here.

For non production use cases, we recommend either CircleCI or Github Actions. There is a guide to migrating from Travis CI to Github Actions available here. Github Actions usage within Mozilla is new, and you will have to work with our github administrators to enable specific actions following this process.

If you have any questions, reach out in #github-admin:mozilla.org on matrix.

claudijd commented 3 years ago

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1712116 to address ruby-setup action needs.

claudijd commented 3 years ago

The error I was getting trying to migrate unit-tests included:

ruby/setup-ruby@v1 is not allowed to be used in mozilla/ssh_scan. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub or match the following: !/mozilla/, !mozilla/, ./*, aws-actions/, docker/*, pypa/gh-action-pypi-publish@release/v1.4.2.

hwine commented 3 years ago

Huh, GitHub is a ruby shop - I'm surprised there isn't an official GitHub action for that (which is on the allow list).

If not, please file a bug as explained here

claudijd commented 3 years ago

Best I can tell, this is because Ruby-lang wants to maintain it directly, I did file a bug here https://bugzilla.mozilla.org/show_bug.cgi?id=1712116

claudijd commented 3 years ago

Looks like they did have an action, but now defer to Ruby core for this.

https://github.com/actions/setup-ruby

claudijd commented 3 years ago

Successfully migrated unit-tests to GitHub actions via https://github.com/mozilla/ssh_scan/pull/532/

Still have some integration tasks to move over before this can be closed out.

claudijd commented 3 years ago

This work is complete, fully migrated off Travis.