Comments (3)
Foodcritic output is currently:
FC015: Consider converting definition to a LWRP: ./definitions/authorized_keys_for.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/buildpack.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/container.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/nginx_site.rb:1
FC019: Access node attributes in a consistent manner: ./recipes/docker.rb:6
FC019: Access node attributes in a consistent manner: ./recipes/nginx.rb:14
FC023: Prefer conditional attributes: ./recipes/gitosis.rb:100
FC023: Prefer conditional attributes: ./recipes/gitosis.rb:181
FC037: Invalid notification action: ./definitions/container.rb:2
FC037: Invalid notification action: ./definitions/container.rb:24
FC043: Prefer new notification syntax: ./recipes/postgresql.rb:8
FC043: Prefer new notification syntax: ./recipes/postgresql.rb:16
There are also a number of warnings at the top of the chef run:
Compiling Cookbooks...
[2013-07-31T16:33:53+00:00] WARN: Cloning resource attributes for file[/opt/deis/gitosis/gitosis-admin/keydir/gabrtv_id_rsa.pub] from prior resource (CHEF-3694)
[2013-07-31T16:33:53+00:00] WARN: Previous file[/opt/deis/gitosis/gitosis-admin/keydir/gabrtv_id_rsa.pub]: /var/chef/cache/cookbooks/deis/recipes/gitosis.rb:88:in `block in from_file'
[2013-07-31T16:33:53+00:00] WARN: Current file[/opt/deis/gitosis/gitosis-admin/keydir/gabrtv_id_rsa.pub]: /var/chef/cache/cookbooks/deis/recipes/gitosis.rb:100:in `block in from_file'
[2013-07-31T16:33:53+00:00] WARN: Cloning resource attributes for directory[/opt/deis/gitosis/repositories/zeroed-paneling.git] from prior resource (CHEF-3694)
[2013-07-31T16:33:53+00:00] WARN: Previous directory[/opt/deis/gitosis/repositories/zeroed-paneling.git]: /var/chef/cache/cookbooks/deis/recipes/gitosis.rb:162:in `block in from_file'
[2013-07-31T16:33:53+00:00] WARN: Current directory[/opt/deis/gitosis/repositories/zeroed-paneling.git]: /var/chef/cache/cookbooks/deis/recipes/gitosis.rb:180:in `block in from_file'
* user[deis] action create (up to date)
from deis.
Foodcritic output is now:
gabriel@delta:~/workspace/deis-cookbook$ foodcritic .
FC015: Consider converting definition to a LWRP: ./definitions/authorized_keys_for.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/buildpack.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/container.rb:1
FC015: Consider converting definition to a LWRP: ./definitions/nginx_site.rb:1
We should convert those definitions to LWRP's eventually, but what we have works. We can maybe tackle some of this when we address larger Chef test infrastructure on #50.
from deis.
Since all the chef was heavily refactored for the iminent containerize branch, let's clean up our recipes there and merge it. Currently here is what's failing:
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/definitions/container.rb:25
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/etcd.rb:41
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/etcd.rb:42
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/etcd.rb:43
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/etcd.rb:44
FC002: Avoid string interpolation where not required: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/etcd.rb:45
FC015: Consider converting definition to a LWRP: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/definitions/container.rb:1
FC015: Consider converting definition to a LWRP: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/definitions/nginx_site.rb:1
FC023: Prefer conditional attributes: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/recipes/builder.rb:2
FC034: Unused template variables: /Users/matt/Projects/deis-cookbook/tmp/foodcritic/cookbook/templates/default/container.conf.erb:1
from deis.
Related Issues (20)
- Can't build database image HOT 1
- Publisher fails to parse HEALTHCHECK_INITIAL_DELAY if the value contains `\r` HOT 4
- Workflow: can't add readiness probe healthcheck HOT 2
- Unable to push app to builder (deis-workflow) HOT 9
- (Custom) domain with no certificate still serves https HOT 7
- Is it possible to disallow features at a cluster level? HOT 3
- Unable to Deploy on v2.8.0 ontop of Digitalocean K8 Cluster HOT 6
- nds
- LTS won't build with Go 1.7.3 HOT 2
- Pushing an app crashes the pod network HOT 1
- Off cluster Minio HOT 1
- How to change timezone? HOT 4
- Deis login command hangs when invoked via a bash shell script HOT 2
- ป้ายหน้าหมู่บ้านพระราม 2 ซิตี้
- Could not create the Namespace in Kubernetes - deis config:push
- Git push hangs on "Pushing to registry" HOT 3
- InvalidDomainNameLabel while provisioning Docker EE on Azure HOT 1
- Deis builder push operation timed out
- cluster namespaces conflicts when using same deis login HOT 3
- deis CLI version changing 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 deis.