Hi Antoine,

Thanks for the positive feedback! I'll make a PR to move my documentation
edits over to the Quibble repo - thanks for the pointer there.

Happy you like the Quabble script - it's definitely not intended as a
long-term solution for anything - I just wrote it as a quick way to get my
local setup to do what I wanted. I would be happy to take a look at
contributing to Quibble itself and making it a bit more friendly for
debugging purposes.

I tried `quibble -c bash` this morning, or more completely I tried:

docker run --entrypoint=quibble-with-supervisord     --tmpfs
/workspace/db:size=320M         --volume "$(pwd)"/src:/workspace/src
 --volume "$(pwd)"/cache:/cache  --volume "$(pwd)"/log:/workspace/log
--volume "$(pwd)"/ref:/srv/git:ro    --cap-add=SYS_PTRACE   --security-opt
seccomp=unconfined       --env-file=env-Wikibase-Master-20240410
 --init --rm
 --packages-source composer      --db mysql --db-dir /workspace/db
 --git-parallel=8 -c bash

and didn't get a shell. The command just exited immediately:

INFO:quibble.commands:>>> Start: User commands: bash
INFO:quibble.commands:User commands, working directory: /workspace/src
INFO:quibble.commands:<<< Finish: User commands: bash, in 0.006 s
INFO:quibble.commands:Shutting down backends: <ExternalWebserver /workspace/src> <Xvfb :94> <ChromeWebDriver :94>

so I'm not sure that addresses my wish to have an interactive debugging
environment with the backends running. But maybe I'm doing something wrong
there. Pointers welcome.

Will try and get to the documentation this week,

Many thanks,


Am Fr., 19. Apr. 2024 um 14:50 Uhr schrieb Antoine Musso <has...@free.fr>:

> Le 19/04/2024 à 11:03, Arthur Taylor a écrit :
> > Hi Sebastian,
> >
> > I've also been playing around with debugging CI images on my local
> > machine recently. I've pushed an update to the Quibble docs on
> > Mediawiki [1]. Hopefully that's helpful - feedback and changes welcome!
> >
> > Thanks,
> >
> > Arthur
> >
> > [1] https://www.mediawiki.org/wiki/Continuous_integration/Quibble
> Hello,
> That documentation was merely an helper for people maintaining the CI
> stack linking to the releasing doc which is in the repository, how to
> rebuild the CI and then switch the jobs.
> The Quibble manual / user documentation is inside the source repository
> under the doc/source directory
> https://gerrit.wikimedia.org/g/integration/quibble/+/refs/heads/master/doc/source
> .  It ends up being published at https://doc.wikimedia.org/quibble/
> which is the canonical place.
> The wiki edit at
> https://www.mediawiki.org/w/index.php?title=Continuous_integration/Quibble&diff=prev&oldid=6476384
> <
> https://www.mediawiki.org/w/index.php?title=Continuous_integration/Quibble&diff=prev&oldid=6476384>
> is amazing, and it would be really great to have it moved to the source
> repository.  I like the Quabble.py script to pause before running tests,
> though one can also ask Quibble to run bash as a test command: `quibble
> -c bash`.
> Antoine "hashar" Musso

Arthur Taylor
Senior Software Engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30-577 11 62-0

Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!

Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Charlottenburg, VR 23855 B.
Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/029/42207. Geschäftsführende Vorstände: Franziska Heine,
Dr. Christian Humborg
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org

Reply via email to