buildmaster: entry.sh: fix errors by checking for dir existence
authorPetr Štetiar <ynezz@true.cz>
Fri, 22 Dec 2023 09:28:40 +0000 (09:28 +0000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 22 Dec 2023 10:58:33 +0000 (11:58 +0100)
commitba9021e3a1160469e2138a0ce17122dd03fafdbd
treea6c7430299224b553cb44b5ef0ade526a8750acd
parent40a52f094878654307015ce150ca13947bdfa2d1
buildmaster: entry.sh: fix errors by checking for dir existence

Get rid of following annyoing errors during testing:

  chown: cannot access '/config': No such file or directory
  chown: cannot access '/certs': No such file or directory
  chmod: cannot access '/config': No such file or directory
  chmod: cannot access '/certs': No such file or directory

As those dirs doesn't exist in the container, they're being provided as
volumes during deployment.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
docker/buildmaster/files/entry.sh