This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree 3 files changed +10
-43
lines changed
3 files changed +10
-43
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,3 @@ stages:
49
49
parameters :
50
50
channel : lts
51
51
release : ${{ parameters.release }}
52
-
53
- - stage : Compliance
54
- dependsOn : []
55
- displayName : Compliance
56
- jobs :
57
- - template : ./templates/virusScanPhase.yml
Original file line number Diff line number Diff line change 17
17
18
18
- job : scan
19
19
displayName : Scan ${{ parameters.channel }}
20
- dependsOn :
21
- - push_approval
22
20
23
21
pool :
24
22
name : $(ubuntuPool)
32
30
value : $(Agent.TempDirectory)/pwshSnap
33
31
- name : SNAP_COPY
34
32
value : $(Agent.TempDirectory)/pwshSnapCopy
33
+ - name : SNAP_TARGZ
34
+ value : $(Agent.TempDirectory)/pwshSnap.tar.gz
35
35
36
36
37
37
steps :
@@ -75,11 +75,17 @@ jobs:
75
75
get-childitem -recurse $readWriteCopy
76
76
displayName: Copy to read/write fs
77
77
78
+ - pwsh : |
79
+ Write-Verbose "tar -czf ${env:SNAP_TARGZ} ${env:SNAP_COPY}" -Verbose
80
+ tar -czf ${env:SNAP_TARGZ} ${env:SNAP_COPY}
81
+ Write-Host "##vso[artifact.upload containerfolder=$(channel);artifactname=$(channel)]${env:SNAP_TARGZ}"
82
+ displayName: tar the snap contents from the r/w copy
83
+
78
84
- template : EsrpScan.yml@ComplianceRepo
79
85
parameters :
80
- scanPath : $(SNAP_COPY )
86
+ scanPath : $(Agent.TempDirectory )
81
87
pattern : |
82
- **/*
88
+ **/*.tar.gz
83
89
scanningService : ' pwshEsrpScanning'
84
90
85
91
- job : push
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments