diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2020-12-31 10:01:16 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2020-12-31 13:46:07 +0200 |
commit | 4f8a8bd2344c11851f6fcb5e2829dc63dd772813 (patch) | |
tree | f7bcb9a37ba23d8b5dfda6263d2dcfe88526c502 /coin/module_config.yaml | |
parent | 7031f145b3ec262269bda1e90055a8db00c600e2 (diff) |
coin: use unique hostname in CI machines
NFS uses hostname as the client id and doesn't work properly
if more than one VM is using the same hostname. Change to unique
hostname before mounting the cache.
Pick-to: 6.0
Change-Id: Ia76311ef39c317f279c8e780d0a4e293c3d9ef53
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'coin/module_config.yaml')
-rw-r--r-- | coin/module_config.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml index 47821027..b84018b2 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -63,6 +63,9 @@ build_instructions: IdentityFile "/home/qt/.ssh/test_farm_id_rsa" EOF + # make hostname unique for NFS + sudo hostname $(hostname -s)-$(date +%s%N) + sudo mkdir -p /mnt/yocto-cache sudo mount yocto-cache.intra.qt.io:/srv/yocto-cache /mnt/yocto-cache |