{"action":"closed","issue":{"url":"https://api.github.com/repos/wercker/support/issues/25","labels_url":"https://api.github.com/repos/wercker/support/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/wercker/support/issues/25/comments","events_url":"https://api.github.com/repos/wercker/support/issues/25/events","html_url":"https://github.com/wercker/support/issues/25","id":82403276,"number":25,"title":"store fails to archive/restore some files properly","user":{"login":"qraynaud","id":65991,"avatar_url":"https://avatars.githubusercontent.com/u/65991?v=3","gravatar_id":"","url":"https://api.github.com/users/qraynaud","html_url":"https://github.com/qraynaud","followers_url":"https://api.github.com/users/qraynaud/followers","following_url":"https://api.github.com/users/qraynaud/following{/other_user}","gists_url":"https://api.github.com/users/qraynaud/gists{/gist_id}","starred_url":"https://api.github.com/users/qraynaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qraynaud/subscriptions","organizations_url":"https://api.github.com/users/qraynaud/orgs","repos_url":"https://api.github.com/users/qraynaud/repos","events_url":"https://api.github.com/users/qraynaud/events{/privacy}","received_events_url":"https://api.github.com/users/qraynaud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T12:14:15Z","updated_at":"2015-06-26T15:54:54Z","closed_at":"2015-06-26T15:54:54Z","body":"I tried the following script at the end of my build pipeline and at the start of my deploy pipeline as demonstrated:\r\n\r\n```yaml\r\nbuild:\r\n  steps:\r\n  - …\r\n  - script:\r\n      name: test\r\n      code: |\r\n        set -o xtrace\r\n        cat ./node_modules/.bin/gulp\r\nbuild:\r\n  steps:\r\n  - script:\r\n      name: test\r\n      code: |\r\n        set -o xtrace\r\n        cat ./node_modules/.bin/gulp\r\n  - …\r\n```\r\n\r\nAnd got the following results in build:\r\n```\r\n++ cat ./node_modules/.bin/gulp\r\n#!/usr/bin/env node\r\n\r\n'use strict';\r\nvar gutil = require('gulp-util');\r\n[…]\r\n```\r\n\r\nAnd in the following deploy:\r\n```\r\n++ cat ./node_modules/.bin/gulp\r\n```\r\n\r\nI don't know for sure but I suspect the archiving script fails to load files in \"hidden\" directories when starting the deployment. It took me a very long time to understand why calling the gulp script was not doing anything.\r\n\r\nGood to know : I think it happens during deployment because if I pull the container and cat the file it is there. I'll download my last build just to double check and report though."}}