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

Add GRAVITY_CONFIG_FILE to systemd env #212

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Conversation

dometto
Copy link
Contributor

@dometto dometto commented Apr 16, 2024

I noticed the reason why the molecule runs for version 23.0 were failing was that supervisord was attempting to run Galaxy with the wrong config file. On the failing containers, /srv/galaxy/var/gravity/supervisor/supervisord.conf.d/_default_.d/galaxy_gunicorn_gunicorn.conf has:

command         = /srv/galaxy/venv/bin/galaxyctl --config-file /srv/galaxy/server/config/galaxy.yml.sample exec _default_ gunicorn

It looks like this is because the systemd unit file doesn't correctly set the GRAVITY_CONFIG_FILE environment variable.

Additionally, I locally ran into some issues requiring further apt dependencies to be installed on Ubuntu in order for some of Galaxy's dependencies to compile correctly. This does not seem to have lead to test failures on CI, my hunch is that this due to me using an ARM based machine locally, but I'm not sure. I've added the extra apt dependencies that I needed as they seem pretty sane, but feel free to chuck out that commit, of course :)

@dometto
Copy link
Contributor Author

dometto commented Apr 16, 2024

Can confirm that this passes the tests when running with GALAXY_VERSION="23.0" FROM_IMAGE="ubuntu:22.04" locally 👍

@hexylena
Copy link
Member

More tests passing is a fantastic improvement

@hexylena hexylena merged commit cc413b6 into galaxyproject:main Apr 17, 2024
14 of 15 checks passed
@dometto dometto deleted the patch-2 branch April 17, 2024 18:01
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.

2 participants