From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.26228.1669845707714096586 for ; Wed, 30 Nov 2022 14:01:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KczqdtKZ; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669845706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M+XxZTGB6BU2QG7X1CkAy2ulIZGcch6T6ycG1O0B9j0=; b=KczqdtKZCvIuEOPtSWkgSFNTMEFS0d68IClQjYNiKOpoMuUdxtSO1ITgwZ28pWLECmodUT Ad5CCayLQ8yC2yCaNuZelBOX8e5KFU/9begLd44NDAaD9R/xjnU+L+OjYa+YPg8lEG3OJc sPRAbY78CSYGTvmhp9G4t33y5PeFNS4= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-340-bjEkFca7P2m4DYTpZkjKMA-1; Wed, 30 Nov 2022 17:01:45 -0500 X-MC-Unique: bjEkFca7P2m4DYTpZkjKMA-1 Received: by mail-lf1-f70.google.com with SMTP id q2-20020ac24a62000000b004b4ec7b83f3so6918564lfp.19 for ; Wed, 30 Nov 2022 14:01:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M+XxZTGB6BU2QG7X1CkAy2ulIZGcch6T6ycG1O0B9j0=; b=Gl+z+cjBy/hM0H5rbzf9nb31VdzH/4ZLrJdOaaUDxfIGrJR0XZEFrgoWWgpbgIGS01 H5KV7oNLitDcanrYTJ7jHy+DCEMHcbe4hOyqmS68lzh23152ZZYAKFTPOZ3jT7jBIRD9 EwZ18+OMxnaC4QUds1Qkl/0RLPCPcNnzZk9UKMXH5DkpFsDNFTYmSaWV6HXcvu3lX2TB ISnoddkcavI2yRxMpTDTBPXkvcX80sU4CNDaiyZ43QcT64vJ6XpWlaAJNNomS6AXWkzA UiVcmb9fO8BkXeHx1WgPreEfDOohtSyef2Yd2wHnG4C5TsbfqLsVi4o9UuVrCORWecAp pFIg== X-Gm-Message-State: ANoB5pkS2bQBi/X8op4JvwFc4xPWwAOCl4ou8R6QUkwhs+67A+IO2Yqd rOw4u3Lil1ERhKfjFvxdGGJ7wOhXea5iDHq5ttgefTTEWO+Y/omhJqpb6JPbKEyj1GHVXbbOP4f 4CQjbykEVEUvCfnu0ru0KgPASZOW/3g== X-Received: by 2002:ac2:4c42:0:b0:4a5:bf09:a700 with SMTP id o2-20020ac24c42000000b004a5bf09a700mr14430812lfk.656.1669845703695; Wed, 30 Nov 2022 14:01:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XFTMwlO+Fgh2Gy2yLL44oT/yv5J0BOZ4YM7yOhlx1XG2EkAk1/AO/57osBZfEoc5jKQquILm+rotF20VQofo= X-Received: by 2002:ac2:4c42:0:b0:4a5:bf09:a700 with SMTP id o2-20020ac24c42000000b004a5bf09a700mr14430789lfk.656.1669845703496; Wed, 30 Nov 2022 14:01:43 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 14:01:42 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130220125.1112760-1-osteffen@redhat.com> References: <20221130220125.1112760-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 14:01:42 -0800 Message-ID: Subject: [PATCH v9 07/12] ArmVirtPkg: CI: Use Fedora 35 container (Linux only) To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Daniel Schaefer , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Sunil V L , Yuwei Chen , Zhiguang Liu , Pawel Polawski , Chris Fernald , Oliver Steffen X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Run all Linux based jobs in a container, using a custom Fedora 35 image (gcc 11). The image is hosted on ghcr.io and the Dockerfiles are here: https://github.com/tianocore/containers The version numbers of gcc, iasl, and nasm are pinned to avoid unintended upgrades during image rebuild. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index b07e3199f143..6d75502b5628 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,8 @@ jobs: pool: vmImage: $(vm_image) + container: 'ghcr.io/tianocore/containers/fedora-35-test:2113a0e' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml parameters: @@ -85,7 +87,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) + usePythonVersion: '' # use Python from the container image -- 2.38.1