aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/private/buildbot/projects/denise/__init__.py15
-rw-r--r--modules/private/websites/denise/aventuriers.nix2
2 files changed, 10 insertions, 7 deletions
diff --git a/modules/private/buildbot/projects/denise/__init__.py b/modules/private/buildbot/projects/denise/__init__.py
index bd460d1..e91e17a 100644
--- a/modules/private/buildbot/projects/denise/__init__.py
+++ b/modules/private/buildbot/projects/denise/__init__.py
@@ -83,22 +83,25 @@ def denise_aventuriers_factory():
83 83
84 factory = util.BuildFactory() 84 factory = util.BuildFactory()
85 factory.addStep(steps.Git(logEnviron=False, repourl=E.AVENTURIERS_GIT_URL, 85 factory.addStep(steps.Git(logEnviron=False, repourl=E.AVENTURIERS_GIT_URL,
86 submodules=True, mode="full", method="copy")) 86 submodules=True, mode="full", method="fresh"))
87 factory.addStep(steps.ShellCommand(name="build files", 87 factory.addStep(steps.ShellCommand(name="build files",
88 logEnviron=False, haltOnFailure=True, workdir="source", 88 logEnviron=False, haltOnFailure=True, workdir="build",
89 env=path_env, command=["make", "tout", "encyclo"])) 89 env=path_env, command=["make", "tout", "encyclo"]))
90 factory.addStep(steps.MasterShellCommand(command="rm -rf {}".format(E.AVENTURIERS_RELEASE_PATH))) 90 factory.addStep(steps.MasterShellCommand(command="rm -rf {}".format(E.AVENTURIERS_RELEASE_PATH)))
91 factory.addStep(steps.DirectoryUpload(workersrc="../source/html", 91 factory.addStep(steps.DirectoryUpload(workersrc="../build/html",
92 masterdest=E.AVENTURIERS_RELEASE_PATH, 92 masterdest=E.AVENTURIERS_RELEASE_PATH,
93 url="https://aventuriers.syanni.eu")) 93 url="https://aventuriers.syanni.eu"))
94 factory.addStep(steps.FileUpload(name="upload epub file", workersrc="aventuriers.epub",
95 workdir="build", masterdest=E.AVENTURIERS_RELEASE_PATH + "/aventuriers.epub",
96 url="https://aventuriers.syanni.eu/aventuriers.epub", mode=0o644))
94 factory.addStep(steps.FileUpload(name="upload mobi file", workersrc="aventuriers.mobi", 97 factory.addStep(steps.FileUpload(name="upload mobi file", workersrc="aventuriers.mobi",
95 workdir="source", masterdest=E.AVENTURIERS_RELEASE_PATH + "/aventuriers.mobi", 98 workdir="build", masterdest=E.AVENTURIERS_RELEASE_PATH + "/aventuriers.mobi",
96 url="https://aventuriers.syanni.eu/aventuriers.mobi", mode=0o644)) 99 url="https://aventuriers.syanni.eu/aventuriers.mobi", mode=0o644))
97 factory.addStep(steps.FileUpload(name="upload pdf file", workersrc="aventuriers.pdf", 100 factory.addStep(steps.FileUpload(name="upload pdf file", workersrc="aventuriers.pdf",
98 workdir="source", masterdest=E.AVENTURIERS_RELEASE_PATH + "/aventuriers.pdf", 101 workdir="build", masterdest=E.AVENTURIERS_RELEASE_PATH + "/aventuriers.pdf",
99 url="https://aventuriers.syanni.eu/aventuriers.pdf", mode=0o644)) 102 url="https://aventuriers.syanni.eu/aventuriers.pdf", mode=0o644))
100 factory.addStep(steps.FileUpload(name="upload encyclo pdf file", workersrc="encyclo.pdf", 103 factory.addStep(steps.FileUpload(name="upload encyclo pdf file", workersrc="encyclo.pdf",
101 workdir="source", masterdest=E.AVENTURIERS_RELEASE_PATH + "/encyclo.pdf", 104 workdir="build", masterdest=E.AVENTURIERS_RELEASE_PATH + "/encyclo.pdf",
102 url="https://aventuriers.syanni.eu/encyclo.pdf", mode=0o644)) 105 url="https://aventuriers.syanni.eu/encyclo.pdf", mode=0o644))
103 factory.addStep(steps.MasterShellCommand(command="chmod -R a+rX {}".format(E.AVENTURIERS_RELEASE_PATH))) 106 factory.addStep(steps.MasterShellCommand(command="chmod -R a+rX {}".format(E.AVENTURIERS_RELEASE_PATH)))
104 107
diff --git a/modules/private/websites/denise/aventuriers.nix b/modules/private/websites/denise/aventuriers.nix
index 33df53e..2bbf7bf 100644
--- a/modules/private/websites/denise/aventuriers.nix
+++ b/modules/private/websites/denise/aventuriers.nix
@@ -14,7 +14,7 @@ in {
14 extraConfig = [ 14 extraConfig = [
15 '' 15 ''
16 <Directory ${varDir}> 16 <Directory ${varDir}>
17 DirectoryIndex index.html 17 DirectoryIndex aventuriers.html
18 Options Indexes FollowSymLinks MultiViews Includes 18 Options Indexes FollowSymLinks MultiViews Includes
19 AllowOverride None 19 AllowOverride None
20 Require all granted 20 Require all granted