dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.36k stars 188 forks source link

[Question] [NativeAOT-LLVM] What defines if jobs has a `Initialize containers` step? #2618

Closed yowl closed 1 week ago

yowl commented 1 week ago

Looking at this image

linux-x64 release has an "Initialize containers" step, whereas wasi-wasm linux release does not, yet they are both from

    ${{ if eq(parameters.jobParameters.pool, '') }}:
      pool:
        # Public Linux Build Pool
        ${{ if and(or(in(parameters.osGroup, 'linux', 'freebsd', 'android', 'tizen'), eq(parameters.jobParameters.hostedOs, 'linux')), eq(variables['System.TeamProject'], 'public')) }}:
          name:  $(DncEngPublicBuildPool)
          demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open

What is is that makes them different?

yowl commented 1 week ago

Or how can I get an "Initialize containers" step in my new job ? (As I am missing some packages and I'm guessing its because of the lack of this step).

jkotas commented 1 week ago

Can you try this: https://github.com/dotnet/runtimelab/blob/89058f06a4e667d4b8ff8561355d768050c2630d/eng/pipelines/common/platform-matrix.yml#L243-L248 ?

jkotas commented 1 week ago

I am missing some packages and I'm guessing its because of the lack of this step).

Right. mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-cross-amd64-net9.0 should be the container to use.

yowl commented 1 week ago

Thanks!