Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into staging, 2024 Feb 06 edition #1298

Merged
merged 25 commits into from
Feb 6, 2024
Merged

Merge develop into staging, 2024 Feb 06 edition #1298

merged 25 commits into from
Feb 6, 2024

Conversation

jacobdgm
Copy link
Contributor

@jacobdgm jacobdgm commented Feb 6, 2024

When these changes are deployed on the staging server, it should mean:

  • Postgres configuration is fixed
  • our update_cached_concordances cron job will be fixed

Also, we can test the updated deployment procedure (which will be rewritten to use Ansible soon, but anyways).

jacobdgm and others added 25 commits February 1, 2024 15:51
update_cached_concordances: Clean up --directory flag logic
and reset change I had made to make it run locally
Previously, the postgres configuration file was added to the
/var/lib/postgresql/data directory which was overwritten by the
already-existing named data volume. When initializing a database,
the placement of the configuration file in /var/lib/postgresql/data
caused an error that the "PGDATA was not empty."

This commit fixes this issue by placing the configuration file in
a different location (/etc/postgresql) and then running the Dockerfile
entrypoint with an argument showing the location of the config file.
and also remove unnecessary line about fixtures
and add cantusdb.conf to .gitignore
explaining 3000:3000 port mapping
Merge jacobdgm's develop into CantusDB's develop
@jacobdgm jacobdgm merged commit 86ad579 into staging Feb 6, 2024
@jacobdgm
Copy link
Contributor Author

jacobdgm commented Feb 6, 2024

The staging server has been updated to run this code. All tests are passing, and everything seems to be working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants