GithubHelp home page GithubHelp logo

piper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

piper's Issues

inputs.path is not supported

In Concourse, inputs allows specifying a path (which the input rootfs is mounted on).

i.e.

inputs:
- name: cf-acceptance-tests
  path: gopath/src/github.com/cloudfoundry/cf-acceptance-tests

however when running piper the container mounts cf-acceptances-tests to /tmp/build/cf-acceptance-tests instead of /tmp/build/gopath/src/github.com/cloudfoundry/cf-acceptance-tests. This means we've been unable to use piper to iterate on concourse tasks that rely on input paths.

add support for `caches`

Our task uses caches.

  1. Provide a --cache similar to -i,-o.
  2. Or just implicitly give caches a temp dir.

I prefer option 1, so it means we can actually testing caching.

image_resource is not supported

piper does not use docker image name from image_resource (expects image instead)

task.yml:

image_resource:
  type: docker-image
  source:
    repository: repo/docker-image-name

Results in:

Using default tag: latest
repository name must have at least one component
2016/05/26 17:19:52 exit status 1

We've worked around this by temporarily adding an image: key with the value from image_resource.source.repository, but it would be nice if we didn't have to do this.

Parsing fails on "params: []"

concourse can parse a task yml file with params: [], however, piper complains with line 10: cannot unmarshal !!seq into map[string]string

Here's a sample task file....

platform: linux
image_resource:
  type: docker-image
  source:
    repository: pcfkubo/kubo-ci
    tag: stable
run:
  path: git-kubo-ci/scripts/bump-stemcell.sh

params: []

inputs:
  - name: git-kubo-ci
  - name: git-kubo-deployment
  - name: stemcell
outputs:
  - name: git-kubo-deployment-output

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.