mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
docker: Fix scheduled builds disabling
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ed36f4b145
commit
4c198253e4
|
@ -122,7 +122,8 @@ RUN sed -i \
|
|||
/home/pokybuild/yocto-controller/master.cfg && \
|
||||
# Comment any sched.Nightly schedulers \
|
||||
# We try to support multilines code blocks by counting parenthesis \
|
||||
awk '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
|
||||
awk -i inplace \
|
||||
'/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
|
||||
/home/pokybuild/yocto-controller/yoctoabb/schedulers.py
|
||||
|
||||
COPY docker/entry.sh /
|
||||
|
|
Loading…
Reference in New Issue
Block a user