-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: Replace Postgres database with an in-app Sqlite db for Quay durin…
…g fresh install of OMR (#152) * Remove postgres references from ansible tasks Signed-off-by: harishsurf <hgovinda@redhat.com> * Update ansible tasks to install quay with sqlite * Clean up remaining postgres references * Add debug logs when quay-app systemd service fails * change dir path for sqlite db file to live outside of /quay-registry path * set WORKER_COUNT=1 when starting quay with Sqlite without this, multiple workers tend to write simultaneously causing concurrent write issues * Add conditional when creating volume based on user input * use podman unshare to change ownership + bump quay version When podman runs containers in rootless mode, it remaps the container's UIDs to the host UIDs assigned to the user. For example, the container's UID 1001 is no longer 1001 on the host; it will be remapped to something like 101000. Therefore, we need to use podman unshare to assign the correct owner UID to the directory. --------- Signed-off-by: harishsurf <hgovinda@redhat.com>
- Loading branch information
1 parent
26d82ce
commit 082ad3a
Showing
25 changed files
with
85 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
EE_IMAGE=quay.io/quay/mirror-registry-ee:latest | ||
EE_BASE_IMAGE=registry.redhat.io/ansible-automation-platform-22/ee-minimal-rhel8:1.0.0-249 | ||
EE_BUILDER_IMAGE=registry.redhat.io/ansible-automation-platform-22/ansible-builder-rhel8:1.1.0-103 | ||
POSTGRES_IMAGE=registry.redhat.io/rhel8/postgresql-10:1-203.1669834630 | ||
QUAY_IMAGE=registry.redhat.io/quay/quay-rhel8:v3.8.15 | ||
QUAY_IMAGE=quay.io/projectquay/quay:3.12.0-nightly.20240626 | ||
REDIS_IMAGE=registry.redhat.io/rhel8/redis-6:1-92.1669834635 | ||
PAUSE_IMAGE=registry.access.redhat.com/ubi8/pause:8.7-6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 0 additions & 59 deletions
59
...ble-runner/context/app/project/roles/mirror_appliance/tasks/install-postgres-service.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 0 additions & 92 deletions
92
ansible-runner/context/app/project/roles/mirror_appliance/tasks/migrate-pre-1_3_0.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.