zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662835880
##########
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:
In that build it was also skipped for `core`, but it worked for the
python one. That is indeed weird.
https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=78&view=logs&j=9dc1b5dc-bcfa-5f83-eaa7-0cb181ddc267&t=b1670b3c-3f19-5f34-3e91-67ac7d80384f
--
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]