Skip to content

Remove Mariner usage #15486

@richlander

Description

@richlander

Mariner 2.0 will go EOL in July 2025. We need to remove all usage of it before that date. There are references to it in this repo and (as you know) this repo (in some cases) affects all other repos.

image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm

image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm

<PropertyGroup Condition="'$(GenerateRpm)' == 'true'">
<CreateRPMForCblMariner>true</CreateRPMForCblMariner>
<!-- PackageTargetOS is a distro-specific version suffix, used for deps packages, including the one for CBL Mariner.
We do not want to create additional CBL Mariner named RPMs of those packages. -->
<CreateRPMForCblMariner Condition="'$(PackageTargetOS)' != ''">false</CreateRPMForCblMariner>
</PropertyGroup>
<PropertyGroup Condition="'$(CreateRPMForCblMariner)' == 'true'">
<!-- CBL-Mariner 1.0 -->
<_CblMarinerVersionSuffix>cm.1</_CblMarinerVersionSuffix>
<_InstallerBuildPartCblMariner>$(Version)-$(_CblMarinerVersionSuffix)-$(_InstallerArchSuffix)</_InstallerBuildPartCblMariner>
<_InstallerFileNameWithoutExtensionCblMariner>$(InstallerName)-$(_InstallerBuildPartCblMariner)$(CrossArchContentsBuildPart)</_InstallerFileNameWithoutExtensionCblMariner>
<_InstallerFileCblMariner>$(PackageOutputPath)$(_InstallerFileNameWithoutExtensionCblMariner)$(InstallerExtension)</_InstallerFileCblMariner>
<!-- CBL-Mariner 2.0 -->
<_CblMariner2VersionSuffix>cm.2</_CblMariner2VersionSuffix>
<_InstallerBuildPartCblMariner2>$(Version)-$(_CblMariner2VersionSuffix)-$(_InstallerArchSuffix)</_InstallerBuildPartCblMariner2>
<_InstallerFileNameWithoutExtensionCblMariner2>$(InstallerName)-$(_InstallerBuildPartCblMariner2)$(CrossArchContentsBuildPart)</_InstallerFileNameWithoutExtensionCblMariner2>
<_InstallerFileCblMariner2>$(PackageOutputPath)$(_InstallerFileNameWithoutExtensionCblMariner2)$(InstallerExtension)</_InstallerFileCblMariner2>
</PropertyGroup>
</Target>

There may be other instances. These file segments give a flavor of what needs to be remediated.

We're going to need to make these changes every couple years with Azure Linux. We should ensure that it is efficient to make these changes. It appears that there are references to Mariner 1.0. Those should have been removed ages ago.

Related: dotnet/runtime#112191

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions