Commit graph

901 commits

Author SHA1 Message Date
Adam Williamson
2e09ca2d00 turn 'filterlist' into 'imagelist', using productmd
This adopts https://pagure.io/quick-fedora-mirror/pull-request/27
and adapts to it, so we get `imagelist` files rather than
`filterlist` files (see recent commits for this). The rationale
is more fully explained in that PR (and in PR #26 also) - on
further inspection it turns out that we have to filter out an
awful lot of extensions to create small filterlists for all
three modules, and I'm worried that other file extensions may
appear in the future and cause the filterlists to suddenly get
bigger again. Instead, we have create-filelist use the productmd
constant that defines valid image formats, and only include files
that match those formats in the list. The downside of this
approach is we have to ensure productmd on all the systems that
run `create-filelist` is kept up to date if the list of valid
image formats changes.
2016-11-23 09:21:45 -08:00
Adam Williamson
3d9840d867 create-filelist: add '.' to png and jpg
Brown paper bag fix for previous commit. Sigh.
2016-11-19 15:53:42 -08:00
Adam Williamson
6fa8dbfcf2 create-filelist: filter png and jpg too (acked by nirik)
This is a tiny change to the previous commit to just filter
png and jpg files too, as alt has tons of pngs. Will send a
PR for upstream create-filelist.
2016-11-19 15:49:37 -08:00
Adam Williamson
45d8ea3f89 Generate filtered file lists for fedfind to use
This adds `filterlist` files alongside the `fullfilelist` and
`fullfiletimelist` files. These are much, much shorter lists
which skip the entries for packages, ARM device tree boot files
and directories. They are intended for consumption by fedfind,
so it can stop using rync scraping to discover the image files
it looks for. To enable this, we update to a newer version of
`create-filelist` from upstream `quick-fedora-mirror` and make
`update-fullfiletimelist` create the filterlist files as well.

We also delete a couple of old copies of `create-filelist`;
nirik made the two roles that use it share a common copy a few
months back, but missed deleting the copy each role had in its
`files` directory.
2016-11-19 15:15:53 -08:00
Adam Miller
059337652b apply fixes from Patrick for OSBS node dnsmasq and proxy iptables
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-08 23:38:25 +00:00
Patrick Uiterwijk
f92c085a90 Allow osbs.stg:443
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-08 21:00:20 +00:00
Adam Miller
f2de734e20 apply Patricks magic osbs cluster iptables rules to new cluster
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-08 20:12:16 +00:00
Adam Miller
74ca7978a4 switch iptables for osbs cluster docker bridge interface lbr0
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-08 15:07:52 +00:00
Adam Miller
e916d0bb46 openshift builds aren't in the cluster overlay network, fix iptables rules
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-07 23:04:54 +00:00
Adam Miller
fbe0181672 docker bridge interface firewall rules for osbs overlay cluster network
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-07 20:39:03 +00:00
Adam Miller
066000e23b add osbs old build cleanup for openshift cluster
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-07 20:26:17 +00:00
Adam Miller
2a2019ff3a fix osbs/cleanup-docker-storage cron entry
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-11-02 15:43:20 +00:00
Adam Miller
81119f08db move cleanup-docker-storage in the right path in files/osbs/
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-10-21 15:05:42 +00:00
81a732c05f osbs: cron job to clean up docker storage nightly
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2016-10-21 14:41:50 +00:00
Patrick Uiterwijk
f67c7518af Correct th URL for the key
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-09-25 17:39:54 +00:00
Patrick Uiterwijk
57b53ffa93 This key is different from the main infra one
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-09-25 17:17:22 +00:00
Patrick Uiterwijk
3f8062e776 Add infra tag repos
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-09-25 17:08:41 +00:00
fb9a0aea9d fixing invalid syntax 2016-09-22 21:16:42 +00:00
2319b5d428 changing default index for docs on qa stg to be index.html 2016-09-22 21:15:25 +00:00
d99fe2eb4a add the new public infra gpg key that is in sigul
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2016-09-15 14:12:50 +00:00
Patrick Uiterwijk
d35bbdb03c Add RHEL7AH repo
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-09-13 16:41:58 +00:00
Patrick Uiterwijk
08b2be4a61 Make roles out of sigul, and update configs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-09-12 23:18:17 +00:00
8875a7635b Revert the fedimg hotfixes 2016-09-12 12:33:24 +00:00
Patrick Uiterwijk
f1dd7a7432 Unify all ssl cipher suite configurations
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-08-31 19:28:26 +00:00
Michael Scherer
07f04462c3 Move mod_wsgi to a role rather than a included tasks 2016-08-08 16:34:12 +00:00
Kevin Fenzi
03a8923c04 Update create-filelist and wrapper from upstream quick mirror.
Merge all the various copies of the wrapper into one copy.
Setup arguments as needed for each call.
2016-07-15 20:05:53 +00:00
b6c3ff1ca0 Revert "Original autocloud_job.py and consumer file for hotfix"
This reverts commit f36696a1fd.
2016-07-15 15:48:40 +00:00
0cd772f697 Revert "Hotfix for autocloud"
This reverts commit 12cace8cda.
2016-07-15 15:47:23 +00:00
Patrick Uiterwijk
9e62167807 Install rhel7 rhev for power repo
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-15 12:52:41 +00:00
Patrick Uiterwijk
de2c96c0fa Deploy the no-password: prompt fix to prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-05 16:20:41 +00:00
Patrick Uiterwijk
e21a25c220 If we are templating, we need template:
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-05 06:32:23 +00:00
Patrick Uiterwijk
ffdb64f327 Disable the password: fallback on token failure
There is nothing in system-auth that we don't have in the pam module,
so this should allow us to remove pam_unix just fine.
Currently only for stg.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-05 06:27:21 +00:00
Sayan Chowdhury
12cace8cda Hotfix for autocloud 2016-06-28 16:48:01 +00:00
Sayan Chowdhury
f36696a1fd Original autocloud_job.py and consumer file for hotfix 2016-06-28 16:48:01 +00:00
Sayan Chowdhury
8e1fdc82e4 Revert "Original autocloud_job.py and consumer file for hotfix"
This reverts commit aa97849271.
2016-06-28 16:41:02 +00:00
Sayan Chowdhury
ff76c34573 Revert "Hotfix for autocloud"
This reverts commit 79da571b0a1189224daba2a5b8258da95ededa2f.
2016-06-28 16:41:02 +00:00
Sayan Chowdhury
9c3d0c0a77 Hotfix for autocloud 2016-06-28 16:23:51 +00:00
aa97849271 Original autocloud_job.py and consumer file for hotfix 2016-06-28 16:08:09 +00:00
Kevin Fenzi
e59eb551a8 Set download-ib01 to quick-sync every 10min with a lock. 2016-06-27 19:51:55 +00:00
Kevin Fenzi
d5e67b45fe Some server side improvements for quick-mirror 2016-06-22 21:51:06 +00:00
Adam Miller
908228c992 that would be python-docker-squash and not docker-squash
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-06-17 16:52:42 +00:00
Adam Miller
19213d461b add docker-squash to osbs buildroot docker image
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-06-17 16:06:00 +00:00
Adam Miller
046da014c1 remove copr from buildroot Dockerfile for stage, no longer needed, everything is in Fedora proper now
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-06-17 15:29:58 +00:00
Kevin Fenzi
e7a8652831 Fix missing space 2016-05-28 16:53:35 +00:00
Kevin Fenzi
baafbbc7e8 Helps if it has the right path too. 2016-05-28 16:47:16 +00:00
Kevin Fenzi
09a1b3e878 Also update create-filelist 2016-05-28 16:46:28 +00:00
Kevin Fenzi
c54d26a9f9 Update new version from upstream 2016-05-28 16:42:05 +00:00
Kevin Fenzi
daa00a39b1 Put new create-filelist in scripts so we can use it all the places we need. 2016-05-27 22:05:41 +00:00
Kevin Fenzi
d0a046d431 Fix unneeded chmod of files on mirrors. releng ticket 6421 2016-05-21 16:15:04 +00:00
Kevin Fenzi
7b2a5482bf Setup a cron job to update fulfiletimelist in alt. For now run every 6 hours, but once things settle down we can do more often. 2016-05-19 19:05:16 +00:00