projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6adba83
)
Add another ccache target.
author
Carl Hetherington
<cth@carlh.net>
Sun, 25 Oct 2020 22:52:49 +0000
(23:52 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 25 Oct 2020 22:52:49 +0000
(23:52 +0100)
make-ccache-volume
patch
|
blob
|
history
diff --git
a/make-ccache-volume
b/make-ccache-volume
index 77aa7e0ef20037e7d9057554261a23f12778e8ac..97b4947b9ba898b13edc23f5a32cf3a08190bcca 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 ubuntu-20.04-64 windows windows_2.15.x; do
+ for t in ubuntu-18.04-64 ubuntu-20.04-64
ubuntu-20.10-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