flatpak-indexer uses redis, but f41+ doesn't have it.
Until we can switch to valkey or something lets just move back to f40.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The important change here is to retry to connect when we lose our connection
to rabbitmq.fedoraproject.org. (https://pagure.io/fedora-infrastructure/issue/9794)
be75c716bae720c45e720f8e1cecab01f4355bd3..98645617cd8529c042f1c398b283264a66a4bea5
Owen W. Taylor (6):
run-redis.sh: bind only to localhost and set a (trivial) password
release_info.py: Fix typo in the release name for F35
bodhi_change_monitor: handle exceptions when talking to fedora-messaging
bodhi_change_monitor: Don't just retry on stream lost, retry on connection refused
bodhi_change_monitor: Retry on ssl.SSLError
bodhi_change_monitor: Improve logging of exceptions
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
git shortlog 665c80047a7c15145faa8d77b60fadd2feebb1e1..be75c716bae720c45e720f8e1cecab01f4355bd3
Owen W. Taylor (4):
Make code to handle disconnections shared between DeltaGenerator and Differ
Indexer: Remove unchanged-registry-data short-circuit
Cleaner: check for and remove dangling tardiff:result objects
Differ: Handle the case where a queued task references a missing spec
Redis is configured to store its data in /data, so mount the persistent
volume there rather than on /var/lib/redis/data.
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
* Fix permissions on generated tardiff files
* Clean up unused deltas and icons
* Update times in config files to be readable (30m) rather than
now-deprecated mix of seconds (1800) and days.
We are now building Flatpaks for aarch64 - while we don't yet have
a working runtime, write architecture-specific for aarch64, using
the container-world name of 'arm64'.
Pull in redis/docker-entrypoint.sh: listen on all interfaces
b239f79e58
This should make redis accessible on the redis service and not just
locally in the redis container.
Match the environment variable in the deploymentconfig to that used
in the configmap (REDIS_PASSWORD)
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
The 'containerNames' parameter was incorrectly cut-and-pasted from
the flatpak-indexer-differ deployment config.
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
Should be ImageStreamTag not ImageStream. We ended up with a destination
of flatpak-indexer:latest:latest, when a default tag of :latest was added.
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
* Output the build to the correct imagestream - it was outputing
to the flatpak-indexer-tardiff stream from a cut-and-paste mistake
* Add a ImageChange trigger for the from: image - we want to trigger
a rebuild if the ubi8/python-38 image changes by itself, even if
the flatpak-indexer-tardiff image where we get the tardiff binary from
isn't rebuilt.
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
* Specify a volumeName for the persistant volume claims (on initial deploy
to staging, these PVC's got bound to random volume...)
* Name the PVC's to exactly match the volume names, including a -stg suffix
for staging
* Reduce the requested size for the redis volume to 1Gi.
The deployment config for flatpak-indexer referenced a secret volume that
in the Red Hat internal deployment of flatpak-indexer holds a client certificate,
but is not needed for Fedora.
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
flatpak-indexer replaces regindexer for creating an index of Fedora
Flatpaks. It adds an additional capability - creating "diffs" between image versions
allowing for incremental updates.
Add a new openshift namespace: flatpak-indexer, with three deploymentconfigs
in it:
- flatpak-indexer: generates the index
- flatpak-indexer-differ: worker(s) to run the expensive tardiff operation
- redis: used for cache and communication between indexer and differ
The staging version of the indexer targets the *production* bodhi/koji/registry,
since we don't have useful Flatpak content in staging. This could be changed.
The registry reverse proxy configuration is updated to a slightly different
set of generated indexes (the 'annotations' indexes for F31 and older are
now suffixed with -annotations, and the 'labels' indexes unsuffixed.)
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>