Skip to content

[mirror] Pull Module LTS channel if it exists#356

Merged
ldmonster merged 3 commits into
mainfrom
feature/mirror-modules-lts
May 19, 2026
Merged

[mirror] Pull Module LTS channel if it exists#356
ldmonster merged 3 commits into
mainfrom
feature/mirror-modules-lts

Conversation

@riptide-01
Copy link
Copy Markdown
Member

@riptide-01 riptide-01 commented May 19, 2026

Description

Added LTS release channel support for modules.

Tests

How to test:

# setup environment
docker run -d -p 5001:5000 --restart always --name registry-installer registry:3
d8 mirror pull --source='registry.deckhouse.io/deckhouse/ee' -l "$TOKEN" -i stronghold@^1.17.6 --deckhouse-tag v1.76.0 --no-platform --no-installer --skip-vex-images --no-security-db ./out/test
d8 mirror push ./out/test localhost:5001/deckhouse

# create lts channel
crane copy localhost:5001/deckhouse/modules/stronghold/release:rock-solid localhost:5001/deckhouse/modules/stronghold/release:lts       

d8 mirror pull --source='localhost:5001/deckhouse' -i stronghold@^1.17.6 --deckhouse-tag v1.76.0 --no-platform --no-installer --skip-vex-images --no-security-db ./out/test2

Before:
no lts channel

May 19 17:44:13.269 INFO  ╔ Pull Modules
May 19 17:44:13.269 INFO  ║ [1/1] Processing module: stronghold
May 19 17:44:13.269 INFO  ║ Beginning to pull stronghold release channels
May 19 17:44:13.269 INFO  ║ Pull stronghold release channels meta
May 19 17:44:13.280 INFO  ║ All required stronghold release channels meta are pulled!
May 19 17:44:13.280 INFO  ║ [1 / 5] Pulling localhost:5001/deckhouse/modules/stronghold/release:rock-solid 
May 19 17:44:13.289 INFO  ║ [2 / 5] Pulling localhost:5001/deckhouse/modules/stronghold/release:alpha 
May 19 17:44:13.297 INFO  ║ [3 / 5] Pulling localhost:5001/deckhouse/modules/stronghold/release:beta 
May 19 17:44:13.304 INFO  ║ [4 / 5] Pulling localhost:5001/deckhouse/modules/stronghold/release:early-access 
May 19 17:44:13.310 INFO  ║ [5 / 5] Pulling localhost:5001/deckhouse/modules/stronghold/release:stable 
May 19 17:44:13.315 INFO  ║ All required stronghold release channels are pulled! 

After:
lts channel pulled

May 19 17:47:31.868 INFO  ╔ Pull Modules
May 19 17:47:31.868 INFO  ║ [1/1] Processing module: stronghold
May 19 17:47:31.872 INFO  ║ Beginning to pull stronghold release channels
May 19 17:47:31.872 INFO  ║ Pull stronghold release channels meta
May 19 17:47:31.893 INFO  ║ All required stronghold release channels meta are pulled!
May 19 17:47:31.893 INFO  ║ [1 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:rock-solid 
May 19 17:47:31.905 INFO  ║ [2 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:lts 
May 19 17:47:31.913 INFO  ║ [3 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:alpha 
May 19 17:47:31.920 INFO  ║ [4 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:beta 
May 19 17:47:31.926 INFO  ║ [5 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:early-access 
May 19 17:47:31.933 INFO  ║ [6 / 6] Pulling localhost:5001/deckhouse/modules/stronghold/release:stable 
May 19 17:47:31.940 INFO  ║ All required stronghold release channels are pulled!

Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 self-assigned this May 19, 2026
@riptide-01 riptide-01 marked this pull request as ready for review May 19, 2026 14:54
@riptide-01 riptide-01 requested a review from ldmonster as a code owner May 19, 2026 14:54
@riptide-01 riptide-01 added the enhancement New feature or request label May 19, 2026
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 changed the title Implement LTS channel existence check in module discovery [mirror] Implement LTS channel existence check in module discovery May 19, 2026
@riptide-01 riptide-01 changed the title [mirror] Implement LTS channel existence check in module discovery [mirror] Pull Module LTS channel if it exists May 19, 2026
@ldmonster ldmonster merged commit d053fea into main May 19, 2026
5 checks passed
@ldmonster ldmonster deleted the feature/mirror-modules-lts branch May 19, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants