ryanmoran / piper Goto Github PK
View Code? Open in Web Editor NEWLike `fly execute` but running against a local docker daemon
License: MIT License
Like `fly execute` but running against a local docker daemon
License: MIT License
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.
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
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.
Our task uses caches
.
--cache
similar to -i
,-o
.I prefer option 1, so it means we can actually testing caching.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.