ci: add chown step to resolve permissions on openwrt dl cache

This commit is contained in:
Martin Weinelt 2020-04-07 15:45:34 +02:00 committed by Martin Weinelt
parent 95b133d4fd
commit 8aa30b7099

View File

@ -17,6 +17,7 @@ git clone https://github.com/freifunk-gluon/gluon/
cd gluon/contrib/ci/jenkins-community-slave/ cd gluon/contrib/ci/jenkins-community-slave/
docker build -t gluon-jenkins . docker build -t gluon-jenkins .
mkdir /var/cache/openwrt_dl_cache/ mkdir /var/cache/openwrt_dl_cache/
chown 1000:1000 /var/cache/openwrt_dl_cache
docker run --detach --restart always \ docker run --detach --restart always \
-e "SLAVE_NAME=whoareyou" \ -e "SLAVE_NAME=whoareyou" \
-e "SLAVE_SECRET=changeme" \ -e "SLAVE_SECRET=changeme" \