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

ignore-missing doesn't work with compressed & download configuration #99

Open
timnolte opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@timnolte
Copy link

If I have a step that can't upload then there is no archive to download.

Upload: (step can soft-fail)

  - label: ":pipeline: Prime Cache"
    key: "prime-cache"
    soft_fail:
      - exit_status: 1
    command:
      - 'echo "--- Creating R Packages Cache..."'
    plugins:
      # Upload package cache to artifacts.
      # See https://github.com/buildkite-plugins/artifacts-buildkite-plugin
      - artifacts:
          ignore-missing: true
          upload: "${R_CACHE_LOCATION}"
          compressed: renv_cache.tgz

Download: (archive may not exist)

      - artifacts:
          step: "prime-cache"
          ignore-missing: true
          download: "${R_CACHE_LOCATION}/**/*"
          compressed: renv_cache.tgz

Originally posted by @timnolte in #89 (comment)

@timnolte timnolte changed the title ignore-missing doesn't work with compresses & download configuration ignore-missing doesn't work with compressed & download configuration Apr 12, 2024
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

No branches or pull requests

1 participant