stacklio / stackl

An open source, end-to-end application orchestration platform.
https://stackl.io
GNU General Public License v3.0
5 stars 4 forks source link

Services execute alphabetically #224

Closed openPablo closed 3 years ago

openPablo commented 3 years ago

Expected Result

Services execute in the order specified in the SAT

Actual Result

Services execute in alphabetical order by service name

Steps To Reproduce

Create SAT with two services, make the order in the SAT config file non alphabetical.

Potential Causes, Fixes or Additional Information

mieel commented 3 years ago

To further illustrate why this is an issue:

We have 3 services: frontend, backend, database. backend is dependent on database and will fail if the database is not ready.

By simply describing these services in the correct order, we expect them to be executed in that order.

Because the current state executes them alphabetically, we have to work around it by naming the services like 0_database, 1_backend, 2_frontend.

But then we run into other issue when some FR expect the service to have a specific value (ansible role host pattern)