Skip to content

Commit e609f4b

Browse files
fix: download to known location, don't dl 4 infra
1 parent 49c305e commit e609f4b

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ stages:
382382
runOnce:
383383
deploy:
384384
steps:
385+
- download: none
386+
385387
- checkout: self
386388

387389
- checkout: templates

build/azDevOps/azure/templates/steps/build/build-java.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ steps:
3434
HOUR="$(date "+%H")"
3535
3636
# NVD Cache lasts 4 hours (240 mins) and so cache based on the hour's time
37-
# in 24 hours. E.g. 0-3 are 0, 1-4 are 1, 20-23 are 5 etc..
37+
# in 24 hours. E.g. 0-3 are 0, 1-4 are 1, 20-23 are 5 etc.. This gives a
38+
# cache that lasts roughly 4 hours at a time.
3839
HOUR_BY_FOUR="$(( ${HOUR} / 4 ))"
3940
4041
NVD_CACHE_FILE="${DATE}-${HOUR_BY_FOUR}"

build/azDevOps/azure/templates/steps/deploy/deploy-post-deploy-tests-karate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
# $(BUILD_ATTEMPT_NUMBER) comes from the Stage Variables and is an output from the ApiBuild job
1717
- download: current
1818
artifact: "${{ parameters.functional_test_artefact_name }}-$(BUILD_ATTEMPT_NUMBER)"
19+
targetPath: ${{ parameters.functional_test_artefact_name }}
1920
displayName: "Download: Post-Deploy Test Artefacts"
2021

2122
# Files downloaded from artefacts seem to lose their permissions...

build/azDevOps/azure/templates/steps/deploy/deploy-post-deploy-tests-serenity.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
# $(BUILD_ATTEMPT_NUMBER) comes from the Stage Variables and is an output from the ApiBuild job
1717
- download: current
1818
artifact: "${{ parameters.functional_test_artefact_name }}-$(BUILD_ATTEMPT_NUMBER)"
19+
targetPath: ${{ parameters.functional_test_artefact_name }}
1920
displayName: "Download: Post-Deploy Test Artefacts"
2021

2122
# Files downloaded from artefacts seem to lose their permissions...

0 commit comments

Comments
 (0)