How are the bitrise.io stacks updated and with what frequency? What's the stack deprecation / removal policy?

faq
#1

The stacks on bitrise.io are updated every weekend, but what’s updated depends on the stack. There are stacks where only certain caches are updated (no preinstalled tools etc.), and there are stacks which are completely re-built every week. You can find the update type of the stacks below.

Xcode stacks

Xcode stacks, except the “Edge” one, are built once, and are not updated at all, except with Bitrise CLI related updates, dependency manager cache updates and with critical fixes. These are Stable stacks, designed so that if a build worked on the stack, the same build should run the same way as long as the stack is available.

Dependency manager cache updates: All of the macOS stacks receive a dependency manager cache (brew, cocoapods and bitrise CLI) update every week. These Cache updates do not change the pre-installed tool versions, it’s only an update of package manager caches, for faster dependency installs. As everything else we use for provisioning the macOS VMs, the weekly cache update Ansible playbook can be found on GitHub.

The Xcode “Edge” stack is re-built every week, so it includes the latest-and-greatest versions of the pre-installed tools, not just dependency manager cache updates. It uses the same scripts we use for creating new Xcode stacks, which can be found at: https://github.com/bitrise-io/osx-box-bootstrap.

Android / Linux (Docker) stacks

The Android / Linux stacks are prepared with docker, using multiple, separate docker images, built on top of each other. You can find these on GitHub at https://github.com/bitrise-docker.

The Android (Ubuntu 16.04) stack is a rolling release stack, rebuilt automatically from a base Ubuntu image.

The Android LTS (Long Term Support) (Ubuntu 14.04) image is a “frozen” version of a previous rolling release image, and is not updated at all, except with Bitrise CLI related updates and with critical fixes.

Xamarin stacks

The Xamarin Stacks are built on top of the latest stable Xcode stack, so the preinstalled things of the base Xcode stack are not updated and are the same as in the base Xcode stack. The Xamarin specific bits are applied on top of the base Xcode image, every week, when generating the Xamarin stacks (using this Ansible playbook).

The dependency manager cache updates are applied on these stacks too (see the Xcode stacks -> Dependency manager cache updates section for more detail).

In addition to the dependency manager cache updates, Xamarin Stacks are upgraded to the latest
Xamarin Studio versions on every weekend, except the LTS (Long Term Support) stacks.

This means that the Xamarin stacks are hybrid stacks, built on a Stable base Xcode stack, but applying certain Xamarin specific bits and updates every week.

The Xamarin Stable LTS (Long Term Support) stack, similar to the Android LTS stack, is a “frozen” version of a previous Xamarin Stable stack version, and is not updated at all, except with Bitrise CLI related updates and with critical fixes.


Stack Deprecation / removal policy

Xcode

  • We keep the latest patch version of every minor Xcode version for as long as that Xcode version is the latest major version.
  • In addition we keep the very last minor+patch version of the previous two major Xcode versions

Example:

When the latest Xcode version was 8.3.3 we kept:

All the latest patch releases for every minor version of Xcode 8:

  • 8.3.x (8.3.3)
  • 8.2.x (8.2.1)
  • 8.1.x (8.1)
  • 8.0.x (8.0)

And the latest versions from the previous two Xcode major versions:

  • 7.3.1
  • 6.4

Removal schedule: when the first beta of the next major Xcode version is released we deprecate all the minor versions of the last major version, except the very last version (continuing the above example, when the first beta of Xcode 9 was released we deprecated all the Xcode 8 stacks except the very last one, 8.3.x) as well as the oldest major version (Xcode 6.4 in the example above).

Once the first final (non beta) version of the new major Xcode version is released we remove the deprecated stacks, the oldest major version (from the above example, when Xcode 9 (final, non beta) was released we removed the Xcode 6 (6.4) stack) as well as the minor versions of the last major version except the latest minor version (in the example above the Xcode 8.0, 8.1 and 8.2 stacks; keeping the Xcode 8.3 one).

This means that the latest patch release version of Xcode is supported for about 2.5 years, in sync with Xcode major version releases.

Xamarin

Most of the Xamarin stacks are upgraded every weekend, so the only stack which is affected by a long term support and deprecation policy is the Xamarin Stable LTS (long term support) stack.

We upgrade the Xamarin Stable LTS stack when we roll out the first Xamarin updates built on a new Xcode major version.

What we do actually is that we keep the last Xamarin Stable (non LTS) stack built on the previous / last Xcode major version.

Example: when the first Xamarin Stable (non LTS) stack (built on Xcode 9) was released, we upgraded the Xamarin Stable LTS stack to the one built on the latest Xcode 8 version.

This means that the Xamarin Stable LTS stack is supported for about 1 year, in sync with Xcode major version releases.

Android/Linux

The Android/Linux LTS stack is upgraded when we release the first non LTS stack update with a new Ubuntu LTS version.

Example: The Android/Linux LTS stack was upgraded to the last version built on Ubuntu 16.04 when we released the first non LTS Android/Linux stack update built on Ubuntu 18.04

This means that an Android/Linux LTS stack is supported for about 2 years, roughly in sync with Ubuntu LTS (long term support) releases.

1 Like

Xcode 9 first beta arrived!
Weekly Virtual Machine / Stack updates - 2017.04.01
Weekly Virtual Machine / Stack updates - 2017.02.25
Xcode 8.3 (final) arrived!
Xcode 11 beta7 is now available!
Weekly Virtual Machine / Stack Updates - 2019.08.26
Xcode 11 beta6 is now available!
Weekly Virtual Machine / Stack Updates - 2019.08.12
Weekly Virtual Machine / Stack Updates - 2019.08.03
Xcode 11 beta5 is now available!
Weekly Virtual Machine / Stack Updates - 2019.07.27
Xcode 10.3 Arrived!
Xcode 11 beta4 is now available!
Weekly Virtual Machine / Stack Updates - 2019.07.20
Weekly Virtual Machine / Stack Updates - 2019.07.11
Xcode 11 beta3 is now available!
Xcode 11 beta2 is now available!
Xcode 11 beta arrived!
Stack deprecations effective June 8, 2019 - Xcode 9.2 and Hybrid stack, with both Android tools and Xcode 8
Xcode 10.2 final arrived!
Weekly Virtual Machine / Stack updates - 2019.02.09
Weekly Virtual Machine / Stack updates - 2019.02.02
Weekly Virtual Machine / Stack updates - 2017.02.18
Weekly Virtual Machine / Stack updates - 2017.03.18
Weekly Virtual Machine / Stack updates - 2017.04.15
Weekly Virtual Machine / Stack updates - 2017.05.13
Yarn is not installed on the Xcode 8.2 stack
Stack deprecations - Xcode 6.4, 8.0, 8.1 and 8.2
Weekly Virtual Machine / Stack updates - 2017.06.17
Introducing the new Xamarin stack, with Visual Studio for Mac
Weekly Virtual Machine / Stack updates - 2017.08.12 - Xcode 9 beta 5
Weekly Virtual Machine / Stack updates - 2017.09.16 - Xcode 9 GM
Weekly Virtual Machine / Stack updates - 2017.10.14
Weekly Virtual Machine / Stack updates - 2017.11.18 - Previous Xamarin, Visual Studio for Mac, Stable channel, on macOS
Weekly Virtual Machine / Stack updates - 2017.11.25
Weekly Virtual Machine / Stack updates - 2017.12.02
Weekly Virtual Machine / Stack updates - 2017.12.09 - Xcode 9.2 final
Weekly Virtual Machine / Stack updates - 2017.12.16
Weekly Virtual Machine / Stack updates - 2017.12.23
Weekly Virtual Machine / Stack updates - 2018.01.06
Weekly Virtual Machine / Stack updates - 2018.01.13
Weekly Virtual Machine / Stack updates - 2018.01.20
Weekly Virtual Machine / Stack updates - 2018.01.27 - Xcode 9.3 beta
Weekly Virtual Machine / Stack updates - 2018.02.03
Weekly Virtual Machine / Stack updates - 2018.02.10 - Xcode 9.3 beta 2
Weekly Virtual Machine / Stack updates - 2018.02.17
Weekly Virtual Machine / Stack updates - 2018.02.24
Weekly Virtual Machine / Stack updates - 2019.01.26
Weekly Virtual Machine / Stack updates - 2019.01.19
Weekly Virtual Machine / Stack updates - 2019.01.12
Weekly Virtual Machine / Stack updates - 2019.01.05
Weekly Virtual Machine / Stack updates - 2018.12.22
Weekly Virtual Machine / Stack updates - 2018.12.15
Weekly Virtual Machine / Stack updates - 2018.12.08
Weekly Virtual Machine / Stack updates - 2018.12.01
Weekly Virtual Machine / Stack updates - 2018.11.24
Weekly Virtual Machine / Stack updates - 2018.11.17
Stack Deprecations: Disabling Selection of Xcode 7.3.1, 9.0, 9.1 and 9.3 Stacks
Weekly Virtual Machine / Stack updates - 2018.11.10
Xcode 10.1 final arrived!
Weekly Virtual Machine / Stack updates - 2018.11.03
Weekly Virtual Machine / Stack updates - 2018.10.27
Xcode 10.1 beta3 arrived!
Weekly Virtual Machine / Stack updates - 2018.10.20
Weekly Virtual Machine / Stack updates - 2018.10.13
Xcode 10.1 beta2 arrived!
Weekly Virtual Machine / Stack updates - 2018.10.06
Weekly Virtual Machine / Stack updates - 2018.09.29
Stack deprecations effective October 31, 2018 - Xcode 7.3.1, 9.0, 9.1 and 9.3
Weekly Virtual Machine / Stack updates - 2018.09.22
Xcode 10 final is now available!
Weekly Virtual Machine / Stack updates - 2018.09.15 - Xcode 10 GM available!
Xcode 10 GM is now available!
Weekly Virtual Machine / Stack updates - 2018.09.08
Weekly Virtual Machine / Stack updates - 2018.09.01
Weekly Virtual Machine / Stack updates - 2018.08.25
Weekly Virtual Machine / Stack updates - 2018.08.18
Weekly Virtual Machine / Stack updates - 2018.08.11
Weekly Virtual Machine / Stack updates - 2018.08.04
Xcode 10 beta5 is now available!
Weekly Virtual Machine / Stack updates - 2018.07.28
Weekly Virtual Machine / Stack updates - 2018.07.21
Xcode 10 beta4 is now available!
Migration from Ubuntu 14.04 LTS without notification
Weekly Virtual Machine / Stack updates - 2018.07.14
Weekly Virtual Machine / Stack updates - 2018.07.07
Xcode 10 beta3 is now available!
Weekly Virtual Machine / Stack updates - 2018.06.30
Xcode 10 beta2 is now available!
Weekly Virtual Machine / Stack updates - 2018.06.23
Xcode 9.4.1 is now available!
Weekly Virtual Machine / Stack updates - 2018.06.16
Weekly Virtual Machine / Stack updates - 2018.06.09
Xcode 10 beta arrived!
Weekly Virtual Machine / Stack updates - 2018.06.02 - Xcode 9.4 final arrived
Xcode 9.4 final arrived!
Weekly Virtual Machine / Stack updates - 2018.05.26
Weekly Virtual Machine / Stack updates - 2018.05.19
Xcode 9.3.1 arrived!
Weekly Virtual Machine / Stack updates - 2018.05.12
Weekly Virtual Machine / Stack updates - 2018.05.05
Weekly Virtual Machine / Stack updates - 2018.04.28
Weekly Virtual Machine / Stack updates - 2018.04.21
Weekly Virtual Machine / Stack updates - 2018.04.14
Weekly Virtual Machine / Stack Updates - 2019.10.17
Xcode 9.4 beta arrived!
Xcode 9.3 (final) arrived!
Weekly Virtual Machine / Stack updates - 2018.03.31
Weekly Virtual Machine / Stack updates - 2018.03.24
Weekly Virtual Machine / Stack updates - 2018.03.17
Weekly Virtual Machine / Stack updates - 2018.03.10
Xcode 9.3 beta 4 arrived!
Weekly Virtual Machine / Stack updates - 2018.03.03
Xcode 9.3 beta 3 arrived!
Xcode 9.3 beta 2 arrived!
Xcode 9.3 beta arrived!
Xamarin Stable with iOS 10.3 SDK / Xcode 8.3
Weekly Virtual Machine / Stack updates + Xcode 8.3.1 - 2017.04.08
Weekly Virtual Machine / Stack updates - 2017.06.24 - Xcode 9 beta 2
Weekly Virtual Machine / Stack updates - 2017.11.11 - Xcode 9.2 beta 2, VS for Mac reinstall on Xcode 9.1 stack
Xcode 9.2 final is now available!
Weekly Virtual Machine / Stack updates - 2017.11.04 - Xcode 9.1 final, Xcode 9.2 beta
Weekly Virtual Machine / Stack updates - 2017.10.28
Weekly Virtual Machine / Stack updates - 2017.10.21
Weekly Virtual Machine / Stack updates - 2017.10.07
Xcode 9.1 beta is now available!
Weekly Virtual Machine / Stack updates - 2017.09.30 - Hybrid stack, with both Android tools and Xcode 8
Weekly Virtual Machine / Stack updates - 2017.09.23 - Xcode 9 final
Xcode 9.0 GM is now available!
Weekly Virtual Machine / Stack updates - 2017.09.09
Weekly Virtual Machine / Stack updates - 2017.09.02
Weekly Virtual Machine / Stack updates - 2017.08.26 - Xcode 9 beta 6
Weekly Virtual Machine / Stack updates - 2017.08.19 - Visual Studio for Mac, Beta channel stack
Weekly Virtual Machine / Stack updates - 2017.08.05
Weekly Virtual Machine / Stack updates - 2017.07.29
Xcode 9.0 beta 4 arrived!
Weekly Virtual Machine / Stack updates - 2017.07.22
Weekly Virtual Machine / Stack updates - 2017.07.15
Weekly Virtual Machine / Stack updates - 2017.07.08
Weekly Virtual Machine / Stack updates - 2017.07.01
Weekly Virtual Machine / Stack updates - 2017.06.10 - Xcode 8.3.3
Weekly Virtual Machine / Stack updates - 2017.06.03
Weekly Virtual Machine / Stack updates - 2017.05.27
Will Xamarin 15.2.2 roll out this weekend, and will it fix SDK-style csproj?
Weekly Virtual Machine / Stack updates - 2017.05.20
Weekly Virtual Machine / Stack updates - 2017.05.06
Weekly Virtual Machine / Stack updates - 2017.04.29
Weekly Virtual Machine / Stack updates, Xcode 8.3.2 - 2017.04.22
Specify Xamarin Tools Versions
Weekly Virtual Machine / Stack updates - 2017.03.25
Xcode 8.3 beta 5 arrived!
iOS build times increasing after 16-12-2016 due to python3 not resolving openssl dependency
Weekly Virtual Machine / Stack updates - 2017.03.11
Xcode 8.3 beta 4 arrived!
Weekly Virtual Machine / Stack updates - 2017.03.04
Stacks updates, SLA and Xcode betas
Xcode 8.3 beta 3 arrived!
Weekly Virtual Machine / Stack updates - 2017.02.11
Xcode 8.3 beta 2 arrived!
Weekly Virtual Machine / Stack updates - 2017.02.04
Xcode 8.3 beta 1 arrived!
Weekly Virtual Machine / Stack updates - 2017.01.14
Weekly Virtual Machine / Stack updates - 2018.04.07
Xcode 11.2 beta2 is now available!
Weekly Virtual Machine / Stack Updates - 2019.10.05
Weekly Virtual Machine / Stack Updates - 2019.09.28
Xcode 11.1 GM seed is now available
Weekly Virtual Machine / Stack Updates - 2019.09.21
Xcode 11 GM seed 2 is now available!
Weekly Virtual Machine / Stack Updates - 2019.09.14
Xcode 11 GM is now available!
Weekly Virtual Machine / Stack Updates - 2019.09.07
Weekly Virtual Machine / Stack Updates - 2019.08.31
#2

Update: Stack Deprecation / removal policy added

0 Likes

#3

Xamarin Studio stacks are now deprecated, please switch to the Visual Studio for Mac stack.

The Xamarin Studio installer is no longer available on https://www.xamarin.com/platform, and even the previously downloaded Xamarin Studio installer will now install Visual Studio for Mac instead of Xamarin Studio, so we’re now deprecating the Xamarin Studio stacks and replacing it with the new Visual Studio for Mac one.

Related announcement & discussion:

0 Likes