Commit graph

32 commits

Author SHA1 Message Date
Aurélien Bompard
358e1d2b5d
Let the jobs-summary script take multiple projects as arguments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-01 15:27:46 +02:00
Aurélien Bompard
820d9ee564
Jobs-summary: handle jobs that are not cronjobs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-21 10:47:05 +02:00
Aurélien Bompard
e871157429
Prettiness. It counts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 16:46:29 +02:00
Aurélien Bompard
91bd11b0cc
Add a jobs-summary script on the os-control servers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 14:13:53 +02:00
Aurélien Bompard
2a5c65051b
Update create-filelist with PR 86
https://pagure.io/quick-fedora-mirror/pull-request/86

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-26 13:23:14 +01:00
Jiri Kucera
e207a4cdf9 lsr-logs-clean: Normalize image names
Normalize RHEL image names to RHEL-X.Y. Since RHEL images are
produced quite frequently it is sufficient to keep just one
RHEL <major>.<minor> after the log expires.

Also add contacts to Linux system roles maintainers.

Signed-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Jiri Kucera
dc8c275f09 Clean /srv/pub/alt/linuxsystemroles/logs
Add cron task that prune /srv/pub/alt/linuxsystemroles/logs.

Related: RHELPLAN-104620

Sign-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Kevin Fenzi
ddffeebb63 proxies: drop ipv6 restart script
Yesterdays fix: a script that restarted networking to bring back a ipv6
route on proxy11, causes:
Todays bug: restarting the interface every minute causes the nameserver
to burp and not find sundries01, so all the rsyncs fail. It seems to
handle this just fine now, so lets retire this glorious hack.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 16:31:30 -07:00
Nils Philippsen
f710f4102a use script file instead of inline shell
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 15:19:37 +01:00
Kevin Fenzi
ab3f501820 secondary01: Copy to secondary01 a python2 version of create-filelist because it can't run the python3 one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Kevin Fenzi
b68b6cbb82 create-filelist: update to use python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Stephen Smoogen
f5e30686d1 put in fixes for hidden .nfs files 2018-05-18 19:52:50 +00:00
Patrick Uiterwijk
cc886bfdc0 Make sure create-filelist always exports ints for ctime
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-17 13:32:43 +02:00
Kevin Fenzi
1c7b0be223 we do not want output from nmcli here 2017-12-26 22:23:37 +00:00
Kevin Fenzi
9d34078176 commit workaround for proxy11 in ansible 2017-12-26 21:04:33 +00:00
6db4fd0ca6 Update create-filelist to latest upstream. 2017-05-05 15:23:46 +00:00
Kevin Fenzi
a1ecb9decb fix for bash arrays from upstream. fixes multiple mod updates at once 2016-11-26 19:31:41 +00:00
Adam Williamson
b99a4a6381 create-filelist: also skip the imagelist when making others
add the imagelist's name to skip_files as we do for the other
two files. tibbs is committing the same change to upstream.
2016-11-23 09:29:24 -08:00
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
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
Kevin Fenzi
d5e67b45fe Some server side improvements for quick-mirror 2016-06-22 21:51:06 +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
f60221e2aa Add the confine_ssh task
This is required by the drbackup stuff, which is required to migrate
Dist Git to ansible.
2014-08-26 18:28:27 +00:00