Skip to content

Install Habitat Build  #10

@pierzapin

Description

@pierzapin

I have habitat build and run steps in an Azure DevOps YAML Build definition running against a SelfHosted Linux Build Agent. I am encountering a number of errors as the build steps progress that appear to me to things the extension should be doing by default.

  1. The Install step reports as complete (i.e. green) but the hab binary is not extracted to the expected location. This causes a "Unable to locate executable file: '/tmp/hab" error in any later habitat build step. I remedied this by manually exectracting and moving the binary from /hab-0.82.0-20190605214032-x86_64-linux/hab to /tmp/hab

  2. The licence agreement is not accepted, therefore any hab build attempts will spin indefinitely. Again I manually triggered a hab build via ssh in order to accept the agreement and unblock use of the command in the build automation

  3. And finally the build appears to start but now fails with:

mount: mounting /src on /hab/studios/src/src failed: No such file or directory
##[error]The process '/tmp/hab' failed with exit code 255

I'll attach the build yaml and screenshots of the errors encountered. Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions