Comments (4)
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.
Just to clarify....
- This is the initial install, not a redeploy
- The file is being, the filename is just incorrect
from artifact-cookbook.
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.
#121 fixes this issue for artifact_deploy.
from artifact-cookbook.
Related Issues (20)
- ChefSpec and unit-testing recipes with artifact-cookbook callbacks. HOT 4
- Dont unzip war/jars HOT 10
- wrong tar command HOT 17
- ability to select nexus_cli gem version HOT 1
- Cookbook does not follow 302 Responses
- use_symlinks option to deploy without symlinks HOT 2
- artifact_file try to verify the checksum when it's not provided in the recipe HOT 4
- Feature Request: add chef-vault support HOT 1
- file:// schema support
- Tag versions of cookbook HOT 1
- pass http headers to Chef::Resource::RemoteFile
- artifact_file with credentials
- Avoid the package extraction HOT 3
- Messy ChefSpec tests with artifacts (previos definition of ... was here) HOT 1
- Still maintained? HOT 5
- artifact_test does not appear to be a valid cookbook. Does it have metadata.rb ? HOT 2
- Latest versions of chef do not include activesupport HOT 1
- uninitialized constant Chef::Resource::ArtifactFile on Chef client 13 HOT 3
- NoMethodError: undefined method `split' for :mid:Symbol on Chef Server 13.7.16
- This cookbook doesn't support newer version of nexus, since Nexus 3 has different endpoint for downloaidng artifacts, seems this cookbook doesnt work for nexus version 3.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artifact-cookbook.