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

Including the same zarf package twice errors on local creation #372

Closed
mjnagel opened this issue Jan 30, 2024 · 0 comments · Fixed by #533
Closed

Including the same zarf package twice errors on local creation #372

mjnagel opened this issue Jan 30, 2024 · 0 comments · Fixed by #533
Assignees
Labels
good first issue Good for newcomers possible-bug Something may not be working

Comments

@mjnagel
Copy link
Collaborator

mjnagel commented Jan 30, 2024

Environment

Device and OS: MBP
App version: 0.6.2
Kubernetes distro being used: N/A

Steps to reproduce

  1. Attempt to create a bundle similar to the below:
    kind: UDSBundle
    metadata:
      name: test
      version: 0.0.1
    
    packages:
      - name: dev-postgres1
        repository: ghcr.io/defenseunicorns/packages/uds/dev-postgres
        ref: 0.0.1
      
      - name: dev-postgres2
        repository: ghcr.io/defenseunicorns/packages/uds/dev-postgres
        ref: 0.0.1

Note the duplication of the same package here.

Expected result

Bundle creates successfully.

Actual Result

? Create this bundle? Yes
  ✔  Bundle Validated                                                                                                                                                                                                           

                                                                                                      
  🐕 Fetching Packages                                                                                
                                                                                                      

  ⠸  Fetching dev-postgres1 package layer metadata (package 1 of 2) (1s)                                                                                                                                                            
  ✔  Successfully pulled bundle: dev-postgres1 (66.94 KBs)                                                                                                                                                                          
  ⠸  Fetching dev-postgres2 package layer metadata (package 2 of 2) (1s)                                                                                                                                                         
     ERROR:  Failed to create bundle: sha256:7072b95fb91449996deae9735176ca7288e14bac69bd9b74cd5c1af3777a2257:
             application/vnd.oci.image.manifest.v1+json: already exists

Visual Proof (screenshots, videos, text, etc)

Included above.

Severity/Priority

Low for my scenario, a second bundle could be created.

@mjnagel mjnagel added the possible-bug Something may not be working label Jan 30, 2024
@UncleGedd UncleGedd self-assigned this Feb 9, 2024
@UncleGedd UncleGedd removed their assignment Mar 6, 2024
@UncleGedd UncleGedd added the good first issue Good for newcomers label Mar 6, 2024
@UncleGedd UncleGedd self-assigned this Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers possible-bug Something may not be working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants