Skip to content

Commit

Permalink
chore: optimize git checkouts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanWalsh committed Aug 15, 2024
1 parent eb309fe commit 46773c9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
pool:
vmImage: ubuntu-20.04
steps:
- template: templates/checkout.yml
- task: AzureCLI@2
displayName: 'Scala Style Check'
inputs:
Expand Down Expand Up @@ -147,6 +148,7 @@ jobs:
# synapse-internal:
# TEST-CLASS: "com.microsoft.azure.synapse.ml.nbtest.SynapseExtension.SynapseExtensionsTests"
steps:
- template: templates/checkout.yml
#- template: templates/ivy_cache.yml
- template: templates/update_cli.yml
- template: templates/conda.yml
Expand Down Expand Up @@ -176,6 +178,7 @@ jobs:
# pool:
# vmImage: ubuntu-20.04
# steps:
# - template: templates/checkout.yml
# - task: AzureCLI@2
# displayName: 'Get Docker Tag + Version'
# inputs:
Expand Down Expand Up @@ -250,6 +253,7 @@ jobs:
pool:
vmImage: ubuntu-20.04
steps:
- template: templates/checkout.yml
- template: templates/update_cli.yml
- bash: |
echo '##vso[task.setvariable variable=tag]'$(git tag -l --points-at HEAD)
Expand Down Expand Up @@ -369,6 +373,7 @@ jobs:
cognitive:
PACKAGE: "cognitive"
steps:
- template: templates/checkout.yml
#- template: templates/ivy_cache.yml
- template: templates/update_cli.yml
- template: templates/conda.yml
Expand Down Expand Up @@ -438,6 +443,7 @@ jobs:
cognitive:
PACKAGE: "cognitive"
steps:
- template: templates/checkout.yml
#- template: templates/ivy_cache_2.yml
- template: templates/update_cli.yml
- template: templates/conda.yml
Expand Down Expand Up @@ -496,6 +502,7 @@ jobs:
pool:
vmImage: ubuntu-20.04
steps:
- template: templates/checkout.yml
- template: templates/conda.yml
- bash: df -H

Expand All @@ -505,6 +512,7 @@ jobs:
pool:
vmImage: ubuntu-20.04
steps:
- template: templates/checkout.yml
#- template: templates/ivy_cache.yml
- template: templates/update_cli.yml
- template: templates/conda.yml
Expand Down Expand Up @@ -545,6 +553,10 @@ jobs:
vmImage: ubuntu-20.04
steps:
- checkout: self
fetchDepth: 1
clean: true
submodules: false
lfs: false
persistCredentials: true
- template: templates/update_cli.yml
- template: templates/conda.yml
Expand Down Expand Up @@ -692,6 +704,7 @@ jobs:
vw:
PACKAGE: "vw"
steps:
- template: templates/checkout.yml
#- template: templates/ivy_cache.yml
- template: templates/update_cli.yml
- task: AzureCLI@2
Expand Down
6 changes: 6 additions & 0 deletions templates/checkout.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
steps:
- checkout: self
fetchDepth: 1
clean: true
submodules: false
lfs: false

0 comments on commit 46773c9

Please sign in to comment.