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

Scripts like qgis_setup.sh are missing #114

Open
reinout opened this issue Oct 2, 2024 · 3 comments
Open

Scripts like qgis_setup.sh are missing #114

reinout opened this issue Oct 2, 2024 · 3 comments

Comments

@reinout
Copy link

reinout commented Oct 2, 2024

We use the docker images for testing our plugins, using qgis_setup.sh like documented here: https://github.com/qgis/QGIS/tree/master/.docker#running-tests-for-a-python-plugin

But... the Dockerfile in there isn't used anymore as far as I can see and it has been replaced by the one in this qgis-docker repository. And the install method here misses the test setup scripts provided by the older docker images:

$ docker run --rm -it docker.io/qgis/qgis:release-3_16 which qgis_setup.sh
/usr/bin/qgis_setup.sh
$ docker run --rm -it docker.io/qgis/qgis:3.38 qgis_setup.sh
docker: Error response from daemon .... : "qgis_setup.sh": executable file not found in $PATH: unknown.

So: is this a bug? Or intended behaviour? Is there a different docker I should be using?
See related issue in the qgis repo: qgis/QGIS#57931

@3nids
Copy link
Member

3nids commented Oct 2, 2024

scripts from https://github.com/qgis/QGIS/tree/master/.docker/qgis_resources/test_runner should be copied and adapted

@reinout
Copy link
Author

reinout commented Oct 2, 2024

Would it be OK to copy/adapt them into this repository? Or should we do it locally into our test setup?
Including them in this repository seems logical to me, but perhaps the goal is to keep this repository as clean as possible, that's why I'm asking :-)

@3nids
Copy link
Member

3nids commented Oct 2, 2024

Yes that would be great to integrate them here if that helps at testing plugins.

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

No branches or pull requests

2 participants