Update installation instructions for packit-deploy#1
Update installation instructions for packit-deploy#1david-mears-2 wants to merge 1 commit intomainfrom
Conversation
On packit-dev.dide.ic.ac.uk, installing packit-deploy with pip or pip3 does not work (regardless of the presence of the --user flag): it gives the error 'error: externally-managed-environment', which goes on to encourage the use of a virtual environment, and lists pipx as an option for doing so. Looking at shell history on that host, this seems to be our de facto installation pattern.
EmmaLRussell
left a comment
There was a problem hiding this comment.
Sorry David, we should retire this repo, as provisioning of the packit machines is now done through infra-scripts .
Here's the packit machine script on there: https://github.com/reside-ic/infra-scripts/blob/main/src/infra/tasks/packit.py
And the inventory details which machines to deploy that to: https://github.com/reside-ic/infra-scripts/blob/main/inventory/services.yaml
This just gets packit-deploy onto the machine, you then need to pull down packit-config in order to deploy your desired config onto the machine.
We should put some friendlier docs in packit-config - at the moment this just records the Migration instructions (helpfully not saying migration from what, but I believe this is an artefact of migrating from nix), but it would be good to capture how to update the deployer, how to get the config, how to deploy a branch etc. Would you mind making a ticket for that while this is in your headspace?
|
Should this repo be archived? |
|
Should https://github.com/reside-ic/packit-infra (Nix for Packit) be archived too? |
Yes, done. We should do this one too. |
On packit-dev.dide.ic.ac.uk, installing packit-deploy with pip or pip3 does not work (regardless of the presence of the --user flag): it gives the error 'error: externally-managed-environment', which goes on to encourage the use of a virtual environment, and lists pipx as an option for doing so. Looking at shell history on that host, this seems to be our de facto installation pattern.
Note that on the production version (packit.dide.ic.ac.uk), pip and pip3 are not installed, while pipx is.