Clear out room in patch CI, tweak patch naming, better error handling
This commit is contained in:
Родитель
6fb2984e30
Коммит
ab6679e7bd
|
@ -28,6 +28,11 @@ jobs:
|
|||
run: |
|
||||
set -e
|
||||
|
||||
# Ensure enough space is available for build
|
||||
sudo apt-get autoremove -y
|
||||
sudo apt-get clean -y
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
|
||||
# ACR login
|
||||
ACR_REGISTRY_NAME=$(echo ${{ secrets.REGISTRY }} | grep -oP '(.+)(?=\.azurecr\.io)')
|
||||
az acr login --name $ACR_REGISTRY_NAME
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Patch for USN-4256-1
|
|
@ -0,0 +1 @@
|
|||
Patch for DSA-4614-1
|
|
@ -0,0 +1 @@
|
|||
Patches for USN-4269-1
|
|
@ -0,0 +1 @@
|
|||
Patch for DSA-4613-1
|
|
@ -0,0 +1 @@
|
|||
Patch for CVE-2019-10131
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"complete": {
|
||||
"DSA-4613-1": true,
|
||||
"DSA-4614-1": true,
|
||||
"USN-4256-1": true,
|
||||
"USN-4269-1": true,
|
||||
"sample": false,
|
||||
"CVE-2019-10131": true
|
||||
"2020-02-07-1": true,
|
||||
"2020-02-07-2": true,
|
||||
"2020-02-14-1": true,
|
||||
"2020-02-14-2": true,
|
||||
"2020-04-2": true,
|
||||
"sample": true
|
||||
},
|
||||
"failed": {}
|
||||
}
|
||||
|
|
|
@ -189,6 +189,8 @@ async function patchAll(registry, registryPath) {
|
|||
} catch (ex) {
|
||||
console.log(`(!) Patch ${patchEntry.name} failed - ${ex}.`);
|
||||
patchStatus.failed[patchEntry.name] = JSON.stringify(ex, undefined, 4);
|
||||
await asyncUtils.writeFile(patchStatusFilePath, JSON.stringify(patchStatus, undefined, 4))
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче