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

Session finished before sending commands: [mkdir "/pipeline/output"] #6

Closed
chiefy opened this Issue Jan 31, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@chiefy

chiefy commented Jan 31, 2016

Trying to start out - not sure what's going on here though and --verbose doesn't seem to point to anything?

❯ wercker --verbose dev --publish 8000
--> Executing pipeline
--> Copied working dir: 0.00s
--> Running step: setup environment
Running wercker version: 1.0.295 (Compiled at: 2015-10-23T10:19:25Z, Git commit: db49e30f0968ff400269a5b92f8b36004e3501f1)
Using config:
box:
  id: quay.io/oddnetworks/alpine-nodejs
  tag: 4.2.4
  registry: quay.io
dev:
  steps:
    - npm-install
    - internal/watch:
        code: node index.js
        reload: true
# Build definition
build:
  # The steps that will be executed on build
  steps:
    - script:
        code: export NODE_ENV='testing'
    # A step that executes `npm install` command
    - npm-install
    # A step that executes `npm test` command
    - npm-test

    # A custom script step, name value is used in the UI
    # and the code value contains the command that get executed
    - script:
        name: echo nodejs information
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"

WARNING Registry address is expected to begin with 'https://', forcing it to use https
Pulling from oddnetworks/alpine-nodejs: 4.2.4
Digest: sha256:65c16a3ff4c940348f05ae6487e7fbfe929f3bda24fea8144a9934996fb3dad5
Status: Image is up to date for quay.io/oddnetworks/alpine-nodejs:4.2.4
--> Fetched quay.io/oddnetworks/alpine-nodejs:4.2.4: 1.06s
--> Source -> Staging Area: 0.00s
--> Source -> Staging Area: 0.00s
--> Cache -> Staging Area: 0.00s
--> Cache -> Staging Area: 0.00s
--> Prepared step: wercker-init 0.00s
--> Prepared step: npm-install 0.00s
--> Prepared step: watch 0.00s
ERROR Session finished before sending commands: [mkdir "/pipeline/output"]
ERROR --> Step failed: setup environment 1.51s
context canceled
ERROR context canceled
WARNING Box container has already stopped.
FATAL Exiting.
@chiefy

This comment has been minimized.

Show comment
Hide comment
@chiefy

chiefy Feb 1, 2016

OK, it looks like /bin/bash is a dependency? Might be cool to put this somewhere in the docs!

chiefy commented Feb 1, 2016

OK, it looks like /bin/bash is a dependency? Might be cool to put this somewhere in the docs!

@hatchan

This comment has been minimized.

Show comment
Hide comment
@hatchan

hatchan Feb 1, 2016

Member

@chiefy We default to /bin/bash but it is also possible to use /bin/sh. You can override the cmd property of the box.

Member

hatchan commented Feb 1, 2016

@chiefy We default to /bin/bash but it is also possible to use /bin/sh. You can override the cmd property of the box.

@chiefy

This comment has been minimized.

Show comment
Hide comment
@chiefy

chiefy Feb 1, 2016

Just found the alpine FAQ in the docs. Thanks.

chiefy commented Feb 1, 2016

Just found the alpine FAQ in the docs. Thanks.

@chiefy chiefy closed this Feb 1, 2016

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