diff options
| author | TiejunZhou <[email protected]> | 2023-04-20 17:20:15 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-20 17:20:15 +0800 |
| commit | 390c5ce1b7c2aa97f2a52caa61cabaf9bc0203e0 (patch) | |
| tree | fec5f56008bf30bbe3f67ac45b87a5b06d9604f2 | |
| parent | 672c5e953ed4e664acab6e01b058f0e1e2e033c3 (diff) | |
Update CFS usage (#252)
| -rw-r--r-- | .pipelines/smp.yml | 9 | ||||
| -rw-r--r-- | .pipelines/tx.yml | 9 | ||||
| -rwxr-xr-x | 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 |
