Coder Social home page Coder Social logo

Comments (4)

KAllan357 avatar KAllan357 commented on July 24, 2024

This sounds like it could be a bug (or series of them). I would think that if you redploy a new snapshot, it should have a new SHA, so this cookbook should download it. There must be another spot where its being ignored is my guess.

from artifact-cookbook.

geerzo avatar geerzo commented on July 24, 2024

Just to clarify....

  • This is the initial install, not a redeploy
  • The file is being, the filename is just incorrect

from artifact-cookbook.

BarthV avatar BarthV commented on July 24, 2024

Same issue here,

Errno::ENOENT
-------------
No such file or directory - /var/chef/cache/artifact_deploys/mymodule/trunk-SNAPSHOT/mymodule-trunk-SNAPSHOT-sql.zip
Compiled Resource:
------------------
artifact_file("/var/chef/cache/artifact_deploys/mymodule/trunk-SNAPSHOT/mymodule-trunk-SNAPSHOT-sql.zip") do
 action [:create]
  retries 0
  retry_delay 2
  cookbook_name :*****
  location "my_group:my_artifact:zip:sql:trunk-SNAPSHOT"
[...]
/var/chef/cache/artifact_deploys/mymodule# tree
.
`-- release-SNAPSHOT
    `-- mymodule-trunk-20140311.094813-58-sql.zip

artifact_deploy can't handle maven "-SNAPSHOT" specific version syntax.
The resource seems trying to consider "
-SNAPSHOT" as a full version string and replace it in unzip/untar further steps.
artifact_deploy should assumes "*-SNAPSHOT" version being ''moving version'' and not static one. and then following metadatas to work with good file.

thx

from artifact-cookbook.

gregsymons avatar gregsymons commented on July 24, 2024

#121 fixes this issue for artifact_deploy.

from artifact-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.