OpenConext / OpenConext-BaseContainers

Docker base images used by all OpenConext projects that use docker containers
Apache License 2.0
0 stars 1 forks source link

dependencies between actions not enforced #22

Open baszoetekouw opened 1 week ago

baszoetekouw commented 1 week ago

There are a number of dependencies between the base containers (for example, "PHP 7.2 Apache2 Node14 Composer2" depends on the "PHP 7.2 Apache2" container), but those are not expressed in the github action flows. This can cause race issues because the dependent container starts building before the dependency is available. See for example https://github.com/OpenConext/OpenConext-BaseContainers/actions/runs/11322704037/attempts/1.

I'm not sure how to solve this, except for creating a single workflow with multiple stages.

quartje commented 1 week ago

The older version should still be available. We build so often that it shouldn't matter. The not found is odd, since there is a container. Older images are deleted after some time but should still be there. It feels more like a caching issue. We might just adjust the cron schedule and run them one after the other with one or two hour time slots in between.