projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b65c36f
)
Add new ccache target.
author
Carl Hetherington
<cth@carlh.net>
Mon, 28 Sep 2020 18:16:45 +0000
(20:16 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 28 Sep 2020 18:53:54 +0000
(20:53 +0200)
make-ccache-volume
patch
|
blob
|
history
diff --git
a/make-ccache-volume
b/make-ccache-volume
index b1e6bbba8ede377e462dc5d8a2ee6ca0218d13b5..77aa7e0ef20037e7d9057554261a23f12778e8ac 100755
(executable)
--- a/
make-ccache-volume
+++ b/
make-ccache-volume
@@
-5,7
+5,7
@@
docker volume create ccache
volume_id=$(docker run --mount source=ccache,target=/ccache -itd ubuntu-18.04-64 bash)
for user in jenkins $USER; do
id=$(id -u $user)
- for t in ubuntu-18.04-64 windows windows_2.15.x; do
+ for t in ubuntu-18.04-64
ubuntu-20.04-64
windows windows_2.15.x; do
docker exec $volume_id mkdir /ccache/$t-$id
docker exec $volume_id chmod 777 /ccache/$t-$id
done