Skip to content

Commit

Permalink
[ci] Fix permission issue on docker-ptf /var/run/sshd (#20346)
Browse files Browse the repository at this point in the history
Why I did it
Fix permission issue on docker-ptf /var/run/sshd.
sonic-net/sonic-mgmt#13545

Work item tracking
Microsoft ADO (number only): 29632874
How I did it
How to verify it
Check docker-ptf in this build. https://dev.azure.com/mssonic/build/_build/results?buildId=653508&view=results
  • Loading branch information
liushilongbuaa authored Sep 27, 2024
1 parent bd2d4c3 commit bfdc62c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
fetchDepth: 0
condition: and(succeeded(), eq(variables.SKIP_CHECKOUT, ''))
displayName: 'Checkout code'
- script: |
set -x
sudo setfacl -R -b $(Agent.BuildDirectory)
displayName: 'setfacl'
- script: |
BRANCH_NAME=$(Build.SourceBranchName)
[ -n "$SYSTEM_PULLREQUEST_PULLREQUESTID" ] && BRANCH_NAME="$SYSTEM_PULLREQUEST_TARGETBRANCH-$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER"
Expand Down

0 comments on commit bfdc62c

Please sign in to comment.