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

Failure on specific directory sync with --directory flag #277

Closed
fritzduchardt opened this issue Aug 3, 2023 · 0 comments · Fixed by #286
Closed

Failure on specific directory sync with --directory flag #277

fritzduchardt opened this issue Aug 3, 2023 · 0 comments · Fixed by #286
Labels
bug This issue describes a defect or unexpected behavior carvel-accepted This issue should be considered for future work and that the triage process has been completed

Comments

@fritzduchardt
Copy link
Contributor

What steps did you take:

This is my vendir.yml

apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
- path: charts/grafana
  contents:
  - path: .
    helmChart:
      name: grafana
      version: 5.5.7
      repository:
        url: https://charts.helm.sh/stable

I am running selective directory syncing. Of course, in my example this is not necessary, but my vendir.yml could contain multiple directories.

vendir sync -d charts/grafana

What happened:

On first sync, when there is no lock file written to my local dist, I get the following error:

vendir: Error: Reading lock config 'vendir.lock.yml': open vendir.lock.yml: no such file or directory

Syncing somewhat worked, but no lock file was written.

What did you expect:

I would expect no error message, plus a lock file containing the version of the directory that I have synced.

Environment:

  • vendir version (execute vendir --version): 0.29.0
  • OS (e.g. from /etc/os-release): Ubuntu 20.04

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@fritzduchardt fritzduchardt added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Aug 3, 2023
@joaopapereira joaopapereira added carvel-accepted This issue should be considered for future work and that the triage process has been completed and removed carvel-triage This issue has not yet been reviewed for validity labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a defect or unexpected behavior carvel-accepted This issue should be considered for future work and that the triage process has been completed
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants