From 390c5ce1b7c2aa97f2a52caa61cabaf9bc0203e0 Mon Sep 17 00:00:00 2001 From: TiejunZhou <50469179+TiejunMS@users.noreply.github.com> Date: Thu, 20 Apr 2023 17:20:15 +0800 Subject: [PATCH] Update CFS usage (#252) --- .pipelines/smp.yml | 9 +++++++-- .pipelines/tx.yml | 9 +++++++-- scripts/install.sh | 3 +-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.pipelines/smp.yml b/.pipelines/smp.yml index a445400d..c5a0eb2b 100644 --- a/.pipelines/smp.yml +++ b/.pipelines/smp.yml @@ -19,10 +19,15 @@ pool: vmImage: "ubuntu-22.04" steps: + - task: PipAuthenticate@1 + displayName: 'Pip Authenticate' + inputs: + # Provide list of feed names which you want to authenticate. + # Project scoped feeds must include the project name in addition to the feed name. + artifactFeeds: 'X-Ware/X-Ware_PublicPackages' + - bash: sudo $(Build.SourcesDirectory)/scripts/install.sh displayName: 'Install softwares' - env: - INDEX_URL: $(INDEX_URL) - task: Bash@3 displayName: 'SDL check' diff --git a/.pipelines/tx.yml b/.pipelines/tx.yml index 92c09722..e9084f8b 100644 --- a/.pipelines/tx.yml +++ b/.pipelines/tx.yml @@ -18,10 +18,15 @@ pool: vmImage: "ubuntu-22.04" steps: + - task: PipAuthenticate@1 + displayName: 'Pip Authenticate' + inputs: + # Provide list of feed names which you want to authenticate. + # Project scoped feeds must include the project name in addition to the feed name. + artifactFeeds: 'X-Ware/X-Ware_PublicPackages' + - bash: sudo $(Build.SourcesDirectory)/scripts/install.sh displayName: 'Install softwares' - env: - INDEX_URL: $(INDEX_URL) - task: Bash@3 displayName: 'SDL check' diff --git a/scripts/install.sh b/scripts/install.sh index 5435f4fc..af7b2174 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -17,6 +17,5 @@ apt-get install -y \ software-properties-common python3 -m pip install --upgrade pip -pip3 install artifacts-keyring -pip3 install gcovr==4.1 $INDEX_URL +pip3 install gcovr==4.1