Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d8] Add --release mirror from dev registry #85

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

d2285
Copy link
Member

@d2285 d2285 commented Feb 2, 2025

This pr allow mirror dev registry by pass --release option.
e.g

d8 mirror pull --source='dev-registry.deckhouse.io/sys/deckhouse-oss' --release='pr11838' --license='#comment' ./d8-dev.tar
INFO  ╔ Looking for required Deckhouse releases
INFO  ║ Skipped releases lookup as release pr11838 is specifically requested with --release
INFO  ╚ Looking for required Deckhouse releases succeeded in 110.404µs
INFO  ╔ Pull images
INFO  ║ Fetching Deckhouse external modules list
INFO  ║ Creating OCI Image Layouts
INFO  ║ Created OCI Image Layouts
INFO  ║ Beginning to pull installers
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/install:pr11838
INFO  ║ All required installers are pulled!
INFO  ║ Beginning to pull standalone installers
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/install-standalone:pr11838
INFO  ║ ✅ All required standalone installers are pulled!
INFO  ║ Searching for Deckhouse built-in modules digests
INFO  ║ Found 348 images
INFO  ║ Beginning to pull Deckhouse release channels information
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/release-channel:pr11838
WARN  ║ ⚠️ Not found in registry, skipping pull
INFO  ║ Deckhouse release channels are pulled!
INFO  ║ Beginning to pull Deckhouse, this may take a while
INFO  ║ [1 / 348] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss@sha256:4a0c59c43303fdbe1a1ca270e09d8fd7ff7acaa26c1b7c2e07104944ea85b4d1
...
INFO  ║ All required Deckhouse images are pulled!
INFO  ║ Pulling Trivy vulnerability databases
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/security/trivy-db:2
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/security/trivy-bdu:1
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/security/trivy-java-db:1
INFO  ║ [1 / 1] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/security/trivy-checks:0
INFO  ║ Trivy vulnerability databases pulled
INFO  ║ Searching for Deckhouse external modules images
INFO  ║ Beginning to pull Deckhouse modules
INFO  ║ [1 / 5] Pulling dev-registry.deckhouse.io/sys/deckhouse-oss/modules/console/release:early-access
WARN  ║ ⚠️ Not found in registry, skipping pull
...
INFO  ║ Deckhouse modules pulled!
INFO  ║ Processing image indexes
INFO  ╚ Pull images succeeded in 59m13.594315701s
INFO  ╔ Pack images
INFO  ╚ Pack images succeeded in 50.4475456s

@d2285 d2285 requested review from name212 and mvasl as code owners February 2, 2025 11:36
@d2285 d2285 marked this pull request as draft February 2, 2025 11:36
@d2285 d2285 force-pushed the change-sem-version-to-pr-tag branch from 302d977 to 3c41b83 Compare February 2, 2025 11:54
@d2285 d2285 changed the title Change sem version to pr tag [d8] Add --release mirror from dev registry Feb 2, 2025
@d2285 d2285 removed the request for review from name212 February 2, 2025 14:42
@d2285 d2285 self-assigned this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant