Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Apr 11, 2021

No description provided.

The order was broken in commit ffff4e7
@maflcko
Copy link
Member Author

maflcko commented Apr 11, 2021

Reported in #21619 (comment) by @hebasto . Thanks!

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK fa4f0b3.

Does the populated cache prevent from downloading releases again:

if [ -n "$PREVIOUS_RELEASES_TO_DOWNLOAD" ]; then
DOCKER_EXEC test/get_previous_releases.py -b -t "$PREVIOUS_RELEASES_DIR" "${PREVIOUS_RELEASES_TO_DOWNLOAD}"
fi
?

Maybe the populate_script field could be useful?

@maflcko
Copy link
Member Author

maflcko commented Apr 12, 2021

Not sure what you mean. The cache is populated and everything is green: https://cirrus-ci.com/task/6695630107049984?logs=previous_releases#L2

@maflcko
Copy link
Member Author

maflcko commented Apr 12, 2021

It is also greeen without cache: https://cirrus-ci.com/task/5560067312320512?logs=previous_releases#L1

@hebasto
Copy link
Member

hebasto commented Apr 12, 2021

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
Copy link
Member

laanwj commented Apr 12, 2021

I think the idea of the cache is to avoid downloading the previous releases from bitcoincore.org every test run?

@hebasto
Copy link
Member

hebasto commented Apr 12, 2021

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.

@maflcko
Copy link
Member Author

maflcko commented Apr 13, 2021

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

https://cirrus-ci.com/task/6695630107049984?logs=ci#L1993

@hebasto
Copy link
Member

hebasto commented Apr 13, 2021

It does:

Right. It is responsibility of test/get_previous_releases.py.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fa4f0b3

@maflcko maflcko merged commit c1f480f into bitcoin:master Apr 13, 2021
@maflcko maflcko deleted the 2104-ciFixCacheOrder branch April 13, 2021 11:24
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 13, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants