Page MenuHomeDevCentral

Commit Etherpad runtime configuration to a new nasqueron/etherpad-production image
Closed, ResolvedPublic

Description

Diff

Diff master -> production branches

Current deployment process

We start with the nasqueron/etherpad image.

Then we do 3 operations:

  1. Deploy Wolfplex API key to make @ledesillusionniste and rTESTSPRODENV happy
  2. Deploy plugins, see below
  3. Install abiword, so we can export an Etherpad document to PDF

Plugins are:

Change on Dwellers

Furthermore, the Dwellers pad container (not used anymore since Acquisitariat containers migration to Equatower) has a production branch with the following change to disable broken export to PDF :

diff --git a/src/templates/pad.html b/src/templates/pad.html
index 9a9c6f0..809e6e5 100644
--- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -234,7 +234,6 @@
                 <a id="exportplaina" target="_blank" class="exportlink"><div class="exporttype" id="exportplain" data-l10n-id="pad.importExport.exportplain"></div></a>
                 <a id="exportworda" target="_blank" class="exportlink"><div class="exporttype" id="exportword" data-l10n-id="pad.importExport.exportword"></div></a>
                 <a id="exportpdfa" target="_blank" class="exportlink"><div class="exporttype" id="exportpdf" data-l10n-id="pad.importExport.exportpdf"></div></a>
-                <a id="exportopena" target="_blank" class="exportlink"><div class="exporttype" id="exportopen" data-l10n-id="pad.importExport.exportopen"></div></a>
                 <% e.end_block(); %>
             </div>
         </div>
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html
index 395d0c4..172c975 100644
--- a/src/templates/timeslider.html
+++ b/src/templates/timeslider.html
@@ -216,7 +216,6 @@
   <a id="exportplaina" target="_blank" class="exportlink"><div class="exporttype" id="exportplain" data-l10n-id="pad.importExport.exportplain"></div></a>
   <a id="exportworda" target="_blank" class="exportlink"><div class="exporttype" id="exportword" data-l10n-id="pad.importExport.exportword"></div></a>
   <a id="exportpdfa" target="_blank" class="exportlink"><div class="exporttype" id="exportpdf" data-l10n-id="pad.importExport.exportpdf"></div></a>
-  <a id="exportopena" target="_blank" class="exportlink"><div class="exporttype" id="exportopen" data-l10n-id="pad.importExport.exportopen"></div></a>
 </div>
 </div>

Event Timeline

The Dwellers fix isn't needed anymore: With Etherpad recent code (1fce593779) on recent Node (v9.11.2), ODF export works fine.

dereckson closed this task as Resolved.EditedSep 11 2018, 23:56

Plugins and abiword are now directly integrated to the image.

API key is fetched from K125 and copied into the container.

Markers .ok files aren't necessary anymore.

This solve the issue.