On 08/08/2024 13:44, Andy Seaborne wrote:
On 07/08/2024 07:16, Bruno Kinoshita wrote:
Can you share the container and the other files from your experiment,
please, Andy? I can have a look why Cypress/networking isn't working.
>
> Thanks
The starting point is the Cypress requirements since the last version
upgrade.
https://docs.cypress.io/guides/getting-started/installing-cypress#Linux-
Prerequisites
The ASF Jenkins servers don't have these.
I tried building a docker container (ubuntu based, installing maven and
also as a maven image) which installed the dependencies, then ran maven
in the container with Jena as a mounted volume.
Using maven+jammy as the base:
https://gist.github.com/afs/e3d51fa685cd0c0a0ec5a383dc0b4b37
I've been working outside Jenkins to get a basic thing going before
turning into a pipeline.
Andy
If "--network host" in test:e2e
then
runs some of test:e2e ...
[INFO] [CLIENT] yarn wait-on http://localhost:57915/$/ping && yarn run
dev exited with code SIGTERM
[INFO] error Command failed with exit code 1.
[INFO] error Command failed with exit code 1.info Visit
https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[INFO] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation
about this command.
This is as near to working as I got it at the time.
If no "--network host" in test:e2e
[INFO] [CLIENT] VITE v5.3.5 ready in 488 ms
[INFO] [CLIENT]
[INFO] [CLIENT] ➜ Local: http://localhost:34523/
[INFO] [CLIENT] ➜ Network: use --host to expose
[INFO] [SERVER] [nodemon] restarting due to changes...
[INFO] [SERVER] [nodemon] starting `node src/services/mock/json-server.js`
[INFO] [SERVER] JSON Server is running
... waits forever ...