FBR (retroactive): Create fedora websites live fedimg indicator file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

For optimization purposes, the website build scripts now need a file
to exist before they grab live data from fedmsg for displaying AMIs.
I had to apply this change on the sundries nodes to make sure that
they do continue to generate a usable website.
Can I get +1s for the following patch?

Regards,
Patrick


commit 0a0b58be97ea5e8abe44011f5e233dec74d5e543
Author: Patrick Uiterwijk <puiterwijk@xxxxxxxxxx>
Date:   Sun Nov 12 20:49:05 2017 +0000

    Create live fedimg indicator file on sundries

    Signed-off-by: Patrick Uiterwijk <puiterwijk@xxxxxxxxxx>

diff --git a/roles/fedora-web/build/tasks/main.yml
b/roles/fedora-web/build/tasks/main.yml
index 890d7cb..2c5e1bd 100644
--- a/roles/fedora-web/build/tasks/main.yml
+++ b/roles/fedora-web/build/tasks/main.yml
@@ -19,6 +19,12 @@
   - packages
   - fedora-web

+- name: Create file to indicate we want live fedimg data
+  copy: dest=/var/fedora_websites_live_fedimg
+        content="Indicator file"
+  tags:
+  - fedora-web
+
 - name: Create directories
   file: state=directory
         path=/srv/web/{{item}}
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux