This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Drop support for Python < 3.6, resolves #264 - Update Singularity to 3.7.3 - Update and fix shellcheck issues - Remove nodeps - Create separate Singularity image replication pipeline - Move code sign to CI - Remove Travis CI
- Loading branch information
Showing
43 changed files
with
306 additions
and
446 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: $(SourceBranch)$(Rev:.r) | ||
|
||
jobs: | ||
- job: Replicate Singularity Images | ||
pool: | ||
vmImage: ubuntu-20.04 | ||
steps: | ||
- template: replicate-singularity.yml | ||
parameters: | ||
enabled: True |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
parameters: | ||
enabled: false | ||
|
||
steps: | ||
- script: | | ||
set -e | ||
set -o pipefail | ||
docker version | ||
docker login "$(docker.servername)" -u="$(docker.username)" -p="$(docker.password)" | ||
export DOCKER_CLI_EXPERIMENTAL=enabled | ||
singularity_version=$(grep -m1 _SINGULARITY_VERSION convoy/misc.py | cut -d "'" -f 2) | ||
echo "Replicating Singularity version $singularity_version images to MCR" | ||
chkImage=mcr.microsoft.com/azure-batch/shipyard:${singularity_version}-singularity-mnt | ||
set +e | ||
if docker manifest inspect "$chkImage"; then | ||
echo "$chkImage exists, skipping replication" | ||
else | ||
set -e | ||
dhImage="alfpark/singularity:${singularity_version}-mnt" | ||
mcrImage="$(docker.servername)/public/azure-batch/shipyard:${singularity_version}-singularity-mnt" | ||
docker pull "$dhImage" | ||
docker tag "$dhImage" "$mcrImage" | ||
docker push "$mcrImage" | ||
fi | ||
chkImage=mcr.microsoft.com/azure-batch/shipyard:${singularity_version}-singularity-mnt-resource | ||
set +e | ||
if docker manifest inspect "$chkImage"; then | ||
echo "$chkImage exists, skipping replication" | ||
else | ||
set -e | ||
dhImage="alfpark/singularity:${singularity_version}-mnt-resource" | ||
mcrImage="$(docker.servername)/public/azure-batch/shipyard:${singularity_version}-singularity-mnt-resource" | ||
docker pull "$dhImage" | ||
docker tag "$dhImage" "$mcrImage" | ||
docker push "$mcrImage" | ||
fi | ||
displayName: Replicate Singularity Container Images | ||
condition: ${{ parameters.enabled }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
parameters: | ||
enabled: false | ||
folder: ./bin | ||
pattern: '*.dll,*.exe' | ||
|
||
steps: | ||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 | ||
displayName: "Code Sign - Executables and Libraries" | ||
condition: ${{ parameters.enabled }} | ||
inputs: | ||
ConnectedServiceName: 'ESRP CodeSign' | ||
FolderPath: ${{ parameters.folder }} | ||
Pattern: ${{ parameters.pattern }} | ||
UseMinimatch: false | ||
signConfigType: inlineSignParams | ||
inlineOperation: | | ||
[ | ||
{ | ||
"KeyCode" : "CP-230012", | ||
"OperationCode" : "SigntoolSign", | ||
"Parameters" : { | ||
"OpusName" : "Microsoft", | ||
"OpusInfo" : "http://www.microsoft.com", | ||
"FileDigest" : "/fd \"SHA256\"", | ||
"PageHash" : "/NPH", | ||
"TimeStamp" : "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256" | ||
}, | ||
"ToolName" : "sign", | ||
"ToolVersion" : "1.0" | ||
}, | ||
{ | ||
"KeyCode" : "CP-230012", | ||
"OperationCode" : "SigntoolVerify", | ||
"Parameters" : {}, | ||
"ToolName" : "sign", | ||
"ToolVersion" : "1.0" | ||
} | ||
] | ||
SessionTimeout: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
parameters: | ||
enabled: false | ||
folder: ./bin | ||
pattern: '*.nupkg' | ||
|
||
steps: | ||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 | ||
displayName: "Code Sign - Nuget Packages" | ||
condition: ${{ parameters.enabled }} | ||
inputs: | ||
ConnectedServiceName: 'ESRP CodeSign' | ||
FolderPath: ${{ parameters.folder }} | ||
Pattern: ${{ parameters.pattern }} | ||
UseMinimatch: false | ||
signConfigType: inlineSignParams | ||
inlineOperation: | | ||
[ | ||
{ | ||
"KeyCode" : "CP-401405", | ||
"OperationCode" : "NuGetSign", | ||
"Parameters" : {}, | ||
"ToolName" : "sign", | ||
"ToolVersion" : "1.0" | ||
}, | ||
{ | ||
"KeyCode" : "CP-401405", | ||
"OperationCode" : "NuGetVerify", | ||
"Parameters" : {}, | ||
"ToolName" : "sign", | ||
"ToolVersion" : "1.0" | ||
} | ||
] | ||
SessionTimeout: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
azure-batch==8.0.0 | ||
msrest==0.6.10 | ||
requests==2.22.0 | ||
ruamel.yaml==0.16.5 | ||
azure-batch==9.0.0 | ||
msrest==0.6.21 | ||
requests>=2.25.1,<3 | ||
ruamel.yaml>=0.17.4,<1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
azure-cosmosdb-table==1.0.6 | ||
azure-storage-blob==2.1.0 | ||
azure-storage-blob>=2.1.0,<3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.