Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

227
Vistas
How to pass CI/CD pipeline stage which starts an API

I'm trying to start an API in my last stage of a git CI/CD pipeline. That's done in Python through FastAPI/uvicorn, which runs inside a Docker container.

app = FastAPI()
if __name__ == '__main__':
    uvicorn.run(app, port=777, host="0.0.0.0")

Everything works fine, however, there is one problem. Since the API starts and then keeps running (as it should), the CI/CD stage doesn't pass once the API has started, but it just keeps running also. Therefore the whole pipeline can never reach the passed status.

How would it be possible to mark a CI/CD stage as passed, even though the underlying Docker container (and the Python script inside it) has not terminated, because it needs to keep the API running?

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda