Skip to content

Conversation

@suutari-ai
Copy link
Member

Add "ansible" submodule which provides Ansible playbooks for deploying Passari.

Tune requirements, since they were not correct still.

Add Makefile targets for updating packages in the ansible submodule.

Make it possible to generate requirements files with the hashes
included (for more secure installation), tune the pip-compile arguments
so that find-links argument like "-f ./wheels/" is not emitted to the
file and even unsafe packages like "setuptools" is version pinned.

Regenerate the requirements-dev.txt and requirements-siptools.txt files
with this change.
Since flask-security-too is importing pkg_resources we need to have
setuptools installed.
All of the siptools requirements are always needed now for passari,
because they are dependencies of dpres-siptools-ng or
dpres-mets-builder.  Therefore move them from the separate requiremnt
file to the main requirements.in.
Allow Python wheel installation packages to be easily built with a new
script.
The Ansible playbooks are used for deploying Passari.  Add them here as
a submodule so that they are easily discovered and the wheel packages
included in the ansible repo can be easily updated from the Passari
submodules here.
@suutari-ai suutari-ai requested a review from jopesy March 6, 2025 09:47
Add Makefile targets to copy the wheels to correct location under
ansible directory and for updating the requirements-workflow.txt and
requirements-web-ui.txt files used in the Ansible roles.
Copy link
Contributor

@jopesy jopesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@suutari-ai suutari-ai merged commit d907ba1 into main Mar 6, 2025
1 check passed
@suutari-ai suutari-ai deleted the ansible branch March 6, 2025 10:26
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.

3 participants