autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662833013
##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,22 @@ jobs:
condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
displayName: Cache Maven local repo
+ - task: Cache@2
+ inputs:
+ key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+ restoreKeys: '"$(module)" | $(TESTCONTAINER_CACHE_FALLBACK_KEY)'
+ path: $(TESTCONTAINER_CACHE_FOLDER)
+ cacheHitVar: TESTCONTAINER_CACHE_HIT
+ continueOnError: true
+ condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+ displayName: Cache Testcontainer docker images
+
+ - script: |
+ docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true
+ displayName: Restore Testcontainer docker images
+ condition: and(not(canceled()), eq(variables.TESTCONTAINER_CACHE_HIT,
'true'))
+ continueOnError: true
Review comment:
Huh, curious. Previous tests worked fine:
https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=78&view=logs&j=fba17979-6d2e-591d-72f1-97cf42797c11&t=f19988ba-dc4e-5334-707d-a0c139178ea5
I'll recheck the condition.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]