Commit Graph

54 Commits

Author SHA1 Message Date
Stephen Smoogen
581f7feec9 have docs-rsync not sync over the ar.rebuilding directory which will have incomplete and duplicaed data 2020-05-27 14:19:17 -04:00
Michael Scherer
4eee290230 Remove safety measure now that's validated
Also prevent sundries from filling up.
2020-05-18 21:14:32 +02:00
Kevin Fenzi
49e8ff002c docs-translation-update: change cron to run at 22 instead of 2. Fixes ticket 8847.
Per ticket 8847, moving this cron job to 10pm will let it run and finish before the larger
and longer cron script runs to update the docs site. This will prevent overlap and get
updates out a day sooner in some cases.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:29 +02:00
Michael Scherer
29f4b8f52e Add last deps, for pocount 2020-04-24 21:34:28 +02:00
Michael Scherer
a7acf091a1 Disable hostkey verification
Since that's run by cron, we have to accept the key.
Given that a MITM of pagure would just enable to intercept
nothing of value (we are using public keys, the data to be commited
can be regenerated trivially and would just concern translation),
disabling StrictHostKeyChecking for that user is IMHO not
a security risk.
2020-04-24 21:34:28 +02:00
Michael Scherer
85136ba279 use the right version of python 2020-04-24 21:34:28 +02:00
Michael Scherer
54949cfc13 Add missing deps 2020-04-24 21:34:28 +02:00
Michael Scherer
d6bba5daa4 Remove the key display, add ssh config 2020-04-24 21:34:28 +02:00
Michael Scherer
547f5bc938 Add a job to update translation
See https://pagure.io/fedora-infrastructure/issue/8691
2020-04-24 21:34:28 +02:00
Kevin Fenzi
828a35a67b do the same thing in prod too 2018-11-08 00:50:28 +00:00
Kevin Fenzi
bff1f4d622 Switch to letting rsync filter our overlaps in docs combined site.
Right now we are doing 3 rsyncs one at a time, but this prevents us
from deleting content that has disappeared from one of the first ones.
So, switch to doing one rsync with multiple sources and let it sort out
files that are now gone to be deleted in the target.
Fixes ticket 7334.
2018-11-08 00:47:37 +00:00
Kevin Fenzi
e40b57559a make sure we keep hardlinks for the 12GB docs-old 2018-08-02 19:35:45 +00:00
Kevin Fenzi
c34ddc25a9 fix logic error 2018-08-02 15:54:22 +00:00
Kevin Fenzi
129cd1f153 docs combined site to prod 2018-08-02 15:25:30 +00:00
Kevin Fenzi
a91923fc2d docs unified website in stg. ticket 7130 2018-08-01 19:51:25 +00:00
Kevin Fenzi
c3ee20181c no stderr from docssync either 2018-06-21 18:58:29 +00:00
Patrick Uiterwijk
8449774d3d Add docs-old.stg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-09-27 16:31:03 +00:00
Patrick Uiterwijk
9c67c7019b Redirect old docs urls to docs-old
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-09-27 17:26:58 +02:00
Kevin Fenzi
b2a1c831a0 Make docs 404 page a real local 404 page instead of a redirect that ends in a 200. 2017-09-12 15:00:36 +00:00
Kevin Fenzi
a975655c2b test this fix in staging 2017-09-11 19:49:06 +00:00
Kevin Fenzi
e859a157e5 also add the file 2017-08-30 15:58:28 +00:00
Kevin Fenzi
954dd50de7 make stg and prod use different files 2017-08-30 15:57:29 +00:00
Kevin Fenzi
84e33ff9f3 try this 2017-08-30 14:16:41 +00:00
Kevin Fenzi
b1b36c15c6 try again 2017-08-30 14:14:24 +00:00
Kevin Fenzi
3e7b8f95e1 set 404 for docs 2017-08-30 14:10:17 +00:00
Kevin Fenzi
8f264907f7 Make staging docs sync every 5min 2017-08-26 23:41:18 +00:00
Kevin Fenzi
61b14e5245 fix redirects now gone 2017-08-24 23:07:58 +00:00
Kevin Fenzi
f0e03bd7e9 Fix up docs config 2017-08-24 21:42:51 +00:00
Kevin Fenzi
adc88df3a3 remove all these old docs redirects 2017-08-24 21:41:32 +00:00
Kevin Fenzi
64030a3009 also change prod 2017-08-24 21:12:37 +00:00
Kevin Fenzi
dc19d02b1d Test out the new docs publishing in staging 2017-08-24 20:44:39 +00:00
Pete Travis
39f9d1e4ad one more docs redirect for f26 2017-07-12 00:11:57 +00:00
Kevin Fenzi
ab7c342694 fix docs links for f26 2017-07-11 15:10:48 +00:00
Ricky Elrod
82417064e4 Change static content caching from 5 days to 30 minutes
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-06-09 06:30:47 +00:00
Kevin Fenzi
abeb7f2b57 repoint docs to new pagure repo and sync from there instead of hosted 2017-04-08 03:24:16 +00:00
Kevin Fenzi
44d0186cea disable this cron for docs sync until we figure out what to replace it with 2017-03-02 00:18:59 +00:00
Kevin Fenzi
d4ddecbc62 ok, more proxy roles that restart httpd 2016-12-01 22:00:23 +00:00
Pete Travis
35ab8c7f19 update docs.fp.o redirects for new F25 guides 2016-11-22 08:04:48 +00:00
Pete Travis
7dd5ec40b6 correct response code for relnotes, add redirect for ipa docs 2016-08-05 02:11:26 +00:00
Pete Travis
2fdbf621b9 move relnotes redirect to top of file so some oaf doesn't miss it again 2016-07-09 21:48:07 -05:00
Pete Travis
92b7c8c7c2 use 302 redirect for redirects that change with each release 2016-06-22 13:49:02 +00:00
Pete Travis
9493fdc0ba update redirects for published f24 docs 2016-06-22 13:20:08 +00:00
Patrick Uiterwijk
927ed203aa We dont want to be nagged twelve times every hour
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-16 20:15:10 +00:00
Patrick Uiterwijk
0be7818268 Lock for docs sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-16 18:57:54 +00:00
Kevin Fenzi
221419512a Switch some of these to just reload httpd instead of a full restart 2015-11-03 16:02:33 +00:00
Nick Bebout
78a9bb8f1c Update redirects for docs 2015-11-03 15:51:10 +00:00
Kevin Fenzi
b4f54346ca Make docs-sync quiet so we only get emails on errors not every day 2015-09-27 15:46:02 +00:00
Kevin Fenzi
a21628a92b Fix docs sync 2015-09-23 22:49:40 +00:00
Kevin Fenzi
ed7984ef1f Switch all these sync jobs to pull from sundries01 instead of bapp02.
Will test out on one proxy first, then push to the rest.
2015-07-27 22:55:32 +00:00
Kevin Fenzi
59f4986be6 Fix cron job for docs build on backend 2015-07-27 20:29:04 +00:00