No description provided.
ci: Fix previous releases cache order #21653
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2104-ciFixCacheOrder changing 1 files +2 −2-
MarcoFalke commented at 11:56 AM on April 11, 2021: member
-
fa4f0b301b
ci: Fix previous releases cache order
The order was broken in commit ffff4e7373f7c1260e6a8347b4ea1a99db4fff76
-
MarcoFalke commented at 11:56 AM on April 11, 2021: member
Reported in #21619 (comment) by @hebasto . Thanks!
- fanquake added the label Tests on Apr 11, 2021
-
hebasto commented at 4:00 PM on April 11, 2021: member
Concept ACK fa4f0b301ba5c07f1271fa7129d07683014d169b.
Does the populated cache prevent from downloading releases again: https://github.com/bitcoin/bitcoin/blob/f6c44e999b7d1d9a0de5d678ac8f1679aa271f65/ci/test/05_before_script.sh#L58-L60?
Maybe the
populate_scriptfield could be useful? -
MarcoFalke commented at 4:04 PM on April 12, 2021: member
Not sure what you mean. The cache is populated and everything is green: https://cirrus-ci.com/task/6695630107049984?logs=previous_releases#L2
-
MarcoFalke commented at 4:05 PM on April 12, 2021: member
It is also greeen without cache: https://cirrus-ci.com/task/5560067312320512?logs=previous_releases#L1
-
hebasto commented at 4:34 PM on April 12, 2021: member
Not sure what you mean.
Just trying to answer to myself "What is the role of the previous releases cache in the CI setup? Speedup what?"
-
laanwj commented at 6:59 PM on April 12, 2021: member
I think the idea of the cache is to avoid downloading the previous releases from bitcoincore.org every test run?
-
hebasto commented at 7:15 PM on April 12, 2021: member
I think the idea of the cache is to avoid downloading the previous releases from bitcoincore.org every test run?
Agree. But currently it does not work like that.
-
MarcoFalke commented at 4:47 AM on April 13, 2021: member
It does:
Releases directory: /tmp/cirrus-build/releases/x86_64-pc-linux-gnu Using cached v0.15.2 Using cached v0.16.3 Using cached v0.17.2 Using cached v0.18.1 Using cached v0.19.1 -
hebasto commented at 9:59 AM on April 13, 2021: member
It does:
Right. It is responsibility of
test/get_previous_releases.py. - hebasto approved
-
hebasto commented at 10:00 AM on April 13, 2021: member
ACK fa4f0b301ba5c07f1271fa7129d07683014d169b
- MarcoFalke merged this on Apr 13, 2021
- MarcoFalke closed this on Apr 13, 2021
- MarcoFalke deleted the branch on Apr 13, 2021
- sidhujag referenced this in commit 1dc8e0649f on Apr 13, 2021
- DrahtBot locked this on Aug 18, 2022