testcontainers / testcontainers/testcontainers-python

Feature: Podman Kube Play support

Aperta
#868 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

🚀 enhancement
Lingua principale
Python
Stelle
2.3k
Fork
386
Merge medio
4h 40m
PR unite (30g)
1

Descrizione

What are you trying to do?

Today we can use the DockerCompose class to start a compose file

https://github.com/testcontainers/testcontainers-python/blob/60d21f875f49f52e170b0714e8790080a6cb4c71/core/testcontainers/compose/compose.py#L156-L157

Podman has a unique feature called Podman Kube Play allowing you to start services, formatted in a Kubernetes-like format and run without a Kubernetes cluster, with only containers. This is very useful for workflow where a full Kubernetes cluster is not needed.

In a similar way of starting compose project, it would be nice to be able to start Podman.

Why should it be done this way?

With our Ubuntu GitHub runners, Podman is installed by default, with the Kube Play feature already available, it would ease the setup to directly have support for this feature with testcontainers.


I would be motivated to do the contribution if this is something that can be accepted

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia da core/testcontainers/compose/compose.py, in particolare dal punto di ingresso di avvio di DockerCompose indicato nell’issue, e consulta la documentazione collegata di Podman Kube Play. Determina l’API e la copertura dei test necessarie per avviare i servizi da un file in formato Kubernetes senza un cluster; il completamento dovrebbe dimostrare questo workflow tramite test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
devops
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.