Skip to content
Snippets Groups Projects
Unverified Commit bdce451c authored by Ryan Gonzalez's avatar Ryan Gonzalez Committed by Andrej Shadura
Browse files

backend: Make sure the dods directory is created before starting OBS

If this doesn't exist, then the scheduler will never notify dodup that
the doddata has changed, which means that new DoD projects will never
be processed.

https://phabricator.apertis.org/T10380



Signed-off-by: default avatarRyan Gonzalez <ryan.gonzalez@collabora.com>
parent f0243221
Branches
Tags
1 merge request!93backend: Make sure the dods directory is created before starting OBS
Pipeline #137672 passed
...@@ -119,7 +119,7 @@ COPY --from=aptly-tools-builder \ ...@@ -119,7 +119,7 @@ COPY --from=aptly-tools-builder \
/tmp/aptly-rest-tools/target/release/obs2aptly \ /tmp/aptly-rest-tools/target/release/obs2aptly \
/usr/local/bin/ /usr/local/bin/
RUN mkdir -p /srv/obs/log /srv/obs/run \ RUN mkdir -p /srv/obs/dods /srv/obs/log /srv/obs/run \
&& chmod ug=rwxt /srv/obs/run \ && chmod ug=rwxt /srv/obs/run \
&& chown obsrun:obsrun -R /srv/obs && chown obsrun:obsrun -R /srv/obs
......
...@@ -13,7 +13,7 @@ then ...@@ -13,7 +13,7 @@ then
exit 1 exit 1
fi fi
mkdir -p /srv/obs/log /srv/obs/run mkdir -p /srv/obs/dods /srv/obs/log /srv/obs/run
chmod ug=rwxt /srv/obs/run chmod ug=rwxt /srv/obs/run
chown obsrun:obsrun /srv/obs/* chown obsrun:obsrun /srv/obs/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment