From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.6430.1608008266661842535 for ; Mon, 14 Dec 2020 20:57:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 15 Dec 2020 12:57:42 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Michael D Kinney'" , Cc: "'Sean Brogan'" , "'Bret Barkelew'" References: <20201215044634.66-1-michael.d.kinney@intel.com> In-Reply-To: <20201215044634.66-1-michael.d.kinney@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUGF0Y2ggMS8xXSAuYXp1cmVwaXBlbGluZXM6IFVzZSBhbHRlcm5hdGUgY21vY2thIHJlcG8=?= Date: Tue, 15 Dec 2020 12:57:44 +0800 Message-ID: <00e601d6d29e$d36cd8c0$7a468a40$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKqkbseyxfoF9jzXL9Cxgvh0jOuoahQGaFA Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Mike: Thanks for your quick fix. It works. Reviewed-by: Liming Gao Besides, I think we can directly update submodule link in edk2 repo. = If so, the developers don't need to apply this setting.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Michael D Kinney > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA12=D4=C215=C8=D5 12:47 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Sean Brogan ; Bret Barkelew > ; Liming Gao > =D6=F7=CC=E2: [Patch 1/1] .azurepipelines: Use alternate cmocka repo >=20 > Use git config insteadOf feature to use an alternate > cmocka repo from github when running CI. >=20 > Cc: Sean Brogan > Cc: Bret Barkelew > Cc: Liming Gao > Signed-off-by: Michael D Kinney > --- > .azurepipelines/templates/platform-build-run-steps.yml | 3 +++ > .azurepipelines/templates/pr-gate-steps.yml | 3 +++ > 2 files changed, 6 insertions(+) >=20 > diff --git a/.azurepipelines/templates/platform-build-run-steps.yml > b/.azurepipelines/templates/platform-build-run-steps.yml > index 97e7faa26682..b712e2fafafb 100644 > --- a/.azurepipelines/templates/platform-build-run-steps.yml > +++ b/.azurepipelines/templates/platform-build-run-steps.yml > @@ -51,6 +51,9 @@ steps: > # Set default > - bash: echo "##vso[task.setvariable variable=3Dpkg_count]${{ 1 }}" >=20 > +# Use altername cmocka repo > +- bash: git config --global > url.https://github.com/neverware-mirrors/cmocka.git.insteadOf > https://git.cryptomilk.org/projects/cmocka.git > + > # Fetch the target branch so that pr_eval can diff them. > # Seems like azure pipelines/github changed checkout process in nov = 2020. > - script: git fetch origin $(System.PullRequest.targetBranch) > diff --git a/.azurepipelines/templates/pr-gate-steps.yml > b/.azurepipelines/templates/pr-gate-steps.yml > index 70c19a462194..28edb453bddc 100644 > --- a/.azurepipelines/templates/pr-gate-steps.yml > +++ b/.azurepipelines/templates/pr-gate-steps.yml > @@ -31,6 +31,9 @@ steps: > echo "##vso[task.setvariable > variable=3Dpkgs_to_build]${{ parameters.build_pkgs }}" > echo "##vso[task.setvariable variable=3Dpkg_count]${{ 1 }}" >=20 > +# Use altername cmocka repo > +- bash: git config --global > url.https://github.com/neverware-mirrors/cmocka.git.insteadOf > https://git.cryptomilk.org/projects/cmocka.git > + > # Fetch the target branch so that pr_eval can diff them. > # Seems like azure pipelines/github changed checkout process in nov = 2020. > - script: git fetch origin $(System.PullRequest.targetBranch) > -- > 2.29.2.windows.2