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

Fixed: edit action of file resource doesn't work with docker backend #257

Merged
merged 1 commit into from Oct 8, 2018

Conversation

Projects
None yet
2 participants
@sue445
Member

sue445 commented May 30, 2018

Backtrace

$ bundle exec bin/itamae docker spec/integration/recipes/default.rb

(snip)

bundler: failed to load command: itamae (/Users/sue445/workspace/github.com/itamae-kitchen/itamae/vendor/bundle/ruby/2.5.0/bin/itamae)
Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/file_edit_sample
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/ext/specinfra.rb:16:in `read'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/ext/specinfra.rb:16:in `receive_file'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/backend.rb:98:in `receive_file'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/file.rb:26:in `pre_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/base.rb:180:in `block (2 levels) in run_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/logger.rb:19:in `with_indent_if'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/base.rb:178:in `block in run_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/handler_proxy.rb:29:in `_event_with_block'
Fixed: edit action of file resource doesn't work with docker backend
```
$ bundle exec bin/itamae docker spec/integration/recipes/default.rb

(snip)

bundler: failed to load command: itamae (/Users/sue445/workspace/github.com/itamae-kitchen/itamae/vendor/bundle/ruby/2.5.0/bin/itamae)
Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/file_edit_sample
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/ext/specinfra.rb:16:in `read'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/ext/specinfra.rb:16:in `receive_file'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/backend.rb:98:in `receive_file'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/file.rb:26:in `pre_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/base.rb:180:in `block (2 levels) in run_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/logger.rb:19:in `with_indent_if'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/resource/base.rb:178:in `block in run_action'
  /Users/sue445/workspace/github.com/itamae-kitchen/itamae/lib/itamae/handler_proxy.rb:29:in `_event_with_block'
```

This was referenced May 30, 2018

@sue445

This comment has been minimized.

Member

sue445 commented May 30, 2018

Wercker build is failed, But my TravisCI build is successful (including #248, #256, #257 and #258 )

https://travis-ci.org/sue445/itamae/builds/385570279

c.f. #258

@ryotarai ryotarai merged commit 49a20ec into itamae-kitchen:master Oct 8, 2018

1 check failed

continuous-integration/wercker Wercker build failed
Details

@sue445 sue445 deleted the sue445:bugfix_file_edit_on_docker_backend branch Oct 15, 2018

@sue445

This comment has been minimized.

Member

sue445 commented Oct 16, 2018

v1.9.12 is released 💎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment