-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
scripts/gitlab-build.sh
Outdated
@@ -48,6 +48,8 @@ set_env_win () { | |||
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd | |||
} | |||
build () { | |||
echo "Remove index" | |||
rm -rf cargo/registry/index/*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you meant, .cargo/registry/index
? That's a terrible idea! Cargo will have to redownload it's crates index and cargo builds may interfere with each.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cargo cache is in cargo/
#7921: https://github.com/paritytech/parity/pull/7921/files
The path "is correct", but I can't evaluate if this is the correct way to address this. Problem is that windows builds fail due to a build lock even though there is no other build running.
https://gitlab.parity.io/parity/parity/-/jobs/80511
Please advise :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@General-Beck Let's wrap this in the conditional if [[ "windows" = $IDENT ]]
for now?
I guess the actual root cause is our cache key selection, but I would do that as a part of enhancing the #7988
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@5chdn I believe this is not a correct way of addressing the problem
scripts/gitlab-build.sh
Outdated
@@ -48,6 +48,8 @@ set_env_win () { | |||
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd | |||
} | |||
build () { | |||
echo "Remove index" | |||
rm -rf cargo/registry/index/*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@General-Beck Let's wrap this in the conditional if [[ "windows" = $IDENT ]]
for now?
I guess the actual root cause is our cache key selection, but I would do that as a part of enhancing the #7988
* Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows
* Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows
* Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows
* CI: Fix cargo cache (#7968) * Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows * fixed ethstore sign (#8026) * fixed parsing ethash seals and verify_block_undordered (#8031) * fix for verify_block_basic crashing on invalid transaction rlp (#8032) * fix cache & snapcraft CI build (#8052) after successful testing it is necessary to port in a ```beta``` and ```stable``` * Add MCIP-6 Byzyantium transition to Musicoin spec (#7841) * Add test chain spec for musicoin byzantium testnet * Add MCIP-6 Byzyantium transition to Musicoin spec * Update mcip6_byz.json * ethcore: update musicoin byzantium block number * ethcore: update musicoin byzantium block number * ethcore: update musicoin bootnodes * Update musicoin.json * Update musicoin.json * More bootnodes.
* CI: Fix cargo cache (#7968) * Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows * fixed ethstore sign (#8026) * fix cache & snapcraft CI build (#8052) after successful testing it is necessary to port in a ```beta``` and ```stable``` * Add MCIP-6 Byzyantium transition to Musicoin spec (#7841) * Add test chain spec for musicoin byzantium testnet * Add MCIP-6 Byzyantium transition to Musicoin spec * Update mcip6_byz.json * ethcore: update musicoin byzantium block number * ethcore: update musicoin byzantium block number * ethcore: update musicoin bootnodes * Update musicoin.json * Update musicoin.json * More bootnodes.
Blocking waiting for file lock on the registry index