Skip to content

Travis CI: Remove sudo: required - #12092

Merged
ntwb merged 1 commit into
masterfrom
travis-sudo
Nov 25, 2018
Merged

ntwb merged 1 commit into
masterfrom
travis-sudo

Conversation

@ntwb

@ntwb ntwb commented Nov 20, 2018

Copy link
Copy Markdown
Member

This is a test to switch from Container-Based Builds to Virtual-Machine-Based


Via: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Over the next few weeks, we encourage everyone to remove any sudo: false configurations from your .travis.yml. Soon we will run all projects on the virtual-machine-based infrastructure, the sudo keyword will be fully deprecated.

The timeline for this migration will be as follows:

  • 19 November, 2018 - Today we publish this post and are ready to answer all your questions!
  • 28 November, 2018 - We will send a service email to remind folks still using sudo: false on recent builds to remind you to migrate.
  • 03 December, 2018 - We will start randomly sampling projects on both travis-ci.org and travis-ci.com to move them permanently to using the virtual-machine-based infrastructure for all builds. The projects will be migrated incrementally over a few days
  • 07 December, 2018 - All projects that use a Linux build environment will be fully migrated to using the same Linux infrastructure, which runs builds in virtual-machines.

Description

With Travis CI plans to remove the sudo keyword from configurations we should seek to ensure builds will continue to build as expected using the new virtual machine infrastructure

How has this been tested?

This PR tests the Travis CI change

See also WordPress/wordpress-develop#30

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

This is a test to switch from _Container-Based Builds_ to _Virtual-Machine-Based_

----
Via: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Over the next few weeks, we encourage everyone to remove any `sudo: false` configurations from your `.travis.yml`. Soon we will run all projects on the virtual-machine-based infrastructure, the `sudo` keyword will be fully deprecated.

The timeline for this migration will be as follows:

- 19 November, 2018 - Today we publish this post and are ready to [answer all your questions](https://travis-ci.community/t/combining-the-linux-infrastructures/310/3)!
- 28 November, 2018 - We will send a service email to remind folks still using `sudo: false` on recent builds to remind you to migrate.
- 03 December, 2018 - We will start randomly sampling projects on both travis-ci.org and travis-ci.com to move them permanently to using the virtual-machine-based infrastructure for all builds. The projects will be migrated incrementally over a few days
- 07 December, 2018 - All projects that use a Linux build environment will be fully migrated to using the same Linux infrastructure, which runs builds in virtual-machines.

----
@ntwb ntwb added the [Type] Build Tooling Issues or PRs related to build tooling label Nov 20, 2018
@ntwb

ntwb commented Nov 21, 2018

Copy link
Copy Markdown
Member Author

Pleasantly surprised this worked....

Waiting for the 4.5.1 release before merging...

@ntwb ntwb added this to the 4.6 milestone Nov 25, 2018
@ntwb
ntwb merged commit b5a709f into master Nov 25, 2018
@ntwb
ntwb deleted the travis-sudo branch November 25, 2018 08:34
@youknowriad youknowriad modified the milestones: 4.6, 4.7 Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants