Fwd: Gitlab CI mit IslandofTex images und gitfile-info

"Marei Peischl" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo Nils,


On 17.08.22 18:50, Nils Pickert wrote:
>
> Hallo zusammen
>
> ich möchte auf gitlab eine CI pipeline laufen lassen und das Paket 
> gitfile-info verwenden. Dazu muss vor dem TeX Lauf ein Python Script 
> getriggert werden, dass das "GitPython" Paket benötigt.
>
> Ich verwende das Docker-Image von Islandoftex, was anscheinend zwar 
> Python beinhaltet, aber weder gitpython noch pip.
>
> Mein gitlab-ci.yml schaut so aus:
>
> ---
>
> image: registry.gitlab.com/islandoftex/images/texlive:latest
> build:
> script:
>     - pip install GitPython
>     - python gfi-run.py
>     - latexmk brw_test.tex
> after_script:
>     - cat brw_test.log
> artifacts:
> paths:
>       - brw_test.pdf
>
> ---
>
> pip install schlägt fehl. Gibt es da irgendeine elegante Lösung? Böse 
> Bastellösung mit curl hat auch nicht funktioniert, da curl auf dem 
> Image nicht vorhanden scheint...
>
> Gibt es eine Lösung ohne ein eigenes Image bauen zu müssen?
>
python 3 ist installiert aber eben kein pip.  Vgl. 
https://gitlab.com/islandoftex/images/texlive/-/blob/master/Dockerfile.base 
du kannst aber über apt  Pakete nachinstallieren.

Wenn du pip nachinstallieren willst, kannst du es auch ausführen.

Viele Grüße

Marei


> Viele Grüße
>
> Nils
>
>
>

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.