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

.ci/run_test.sh: Error: unknown shorthand flag: 'f' in -f #57724

Closed
2 tasks done
strk opened this issue Jun 10, 2024 · 1 comment
Closed
2 tasks done

.ci/run_test.sh: Error: unknown shorthand flag: 'f' in -f #57724

strk opened this issue Jun 10, 2024 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! testsuite Issue related to testsuite

Comments

@strk
Copy link
Contributor

strk commented Jun 10, 2024

What is the bug or the crash?

Running .ci/run_tests.sh with podman-docker complains about:

Error: unknown shorthand flag: 'f' in -f
See 'podman --help'

The offending line is:

docker compose -f ...

It works if we use docker-compose -f ... instead

Commit 97b19f4 changed to the former but it isn't clear why.
The merge commit by @m-kuhn references GH-57023 which seems unrelated to docker.

Steps to reproduce the issue

Run .ci/run_tests.sh with podman-docker installed

Versions

current master aka c435b09

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@strk strk added Bug Either a bug report, or a bug fix. Let's hope for the latter! testsuite Issue related to testsuite labels Jun 10, 2024
@strk strk changed the title .ci/run_test.sh: .ci/run_test.sh: Error: unknown shorthand flag: 'f' in -f Jun 10, 2024
strk added a commit to strk/QGIS that referenced this issue Jun 10, 2024
@strk
Copy link
Contributor Author

strk commented Jun 10, 2024

I've fixed this with a commit in the branch associated with PR GH-57688 by usinng the first command found on the system between "podman-compose and docker-compose" and finally resorting to either "podman compose" or "docker compose" if none of the others are found.

strk added a commit to strk/QGIS that referenced this issue Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! testsuite Issue related to testsuite
Projects
None yet
Development

No branches or pull requests

1 participant