sapcc / juno

Monorepo for the Juno microfrontend framework, microfrontend apps, design system and component library
Apache License 2.0
7 stars 2 forks source link

fix(juno): Assets Server does not contain newer versions of LimesUI #634

Closed andypf closed 1 month ago

andypf commented 1 month ago

The Assets Server is currently not updated with the latest versions of LimesUI. As a result, the limes MFE in elektra can't be updated.

VoigtS commented 1 month ago

To clarify this issue, the definition of what version is marked as "latest" is broken in the pipeline. It seems like the last version that gets processed by the pipeline will be insertet as "latest" into the asset server. This is how it looked like when the latest versioning worked:

DIR: /tmp/latest/apps/limesUI@1.2.6 ASSET_PATH: apps [...] DIR: /tmp/latest/apps/limesUI@1.3.1 ASSET_PATH: apps

This is how it currently looks like

DIR: /tmp/latest/apps/limesUI@1.3.2 ASSET_PATH: apps [...] DIR: /tmp/latest/apps/limesUI@1.2.6 ASSET_PATH: apps

The old version 1.2.6 is marked as "latest" in the asset server.

The issue seems to originate from the commands in the dockerfile. In the pipeline its step 13/29 from the asset server build.

andypf commented 1 month ago

The issue was resolved by correcting the order of uploaded versions in the Swift container.