Commit 8a0c440 1 parent 757e825 commit 8a0c440 Copy full SHA for 8a0c440
File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ echo $fb_commit_sha > fbCommitSha
41
41
# Create cache directories.
42
42
test -d " ${root_dir} /go-path" || mkdir -p " go-path"
43
43
test -d " ${root_dir} /go-build" || mkdir -p " go-build"
44
+ test -d " ${root_dir} /yarn-cache" || mkdir -p " yarn-cache"
44
45
45
46
PATH_TO_SCRIPTS=" sources/pmm/src/github.com/percona/pmm/build/scripts"
46
47
export RPMBUILD_DOCKER_IMAGE=perconalab/rpmbuild:3
Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ build() {
112
112
if [ -d " ${root_dir} /go-build" ]; then
113
113
volume_mounts+=" -v ${root_dir} /go-build:/home/builder/.cache/go-build"
114
114
fi
115
+ if [ -d " ${root_dir} /yarn-cache" ]; then
116
+ volume_mounts+=" -v ${root_dir} /yarn-cache:/home/builder/.yarn"
117
+ fi
115
118
if [ -d " ${root_dir} /go-path" ]; then
116
119
volume_mounts+=" -v ${root_dir} /go-path:/home/builder/go/pkg/mod"
117
120
fi
You can’t perform that action at this time.
0 commit comments