Coder Social home page Coder Social logo

cloudboss / ofcourse Goto Github PK

View Code? Open in Web Editor NEW
41.0 5.0 3.0 149 KB

A Concourse resource generator

License: MIT License

Go 96.28% Makefile 3.39% Dockerfile 0.33%
concourse concourse-resources concourse-ci concourse-ci-resource concourse-pipeline cicd ci continuous-integration continuous-delivery continuous-deployment

ofcourse's People

Contributors

marco-m avatar mdb avatar rjosephwright avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

Forkers

cappyzawa ssun3

ofcourse's Issues

Documented --import-path argument option does not exist

Thanks for your work on this; I believe I discovered a slight typo. The README.md specifies that init accepts a --import-path argument option. However, the latest version of ofcourse only accepts a --importPath argument option:

ofcourse init \
  --docker-registry foo.com/me/concourse-my-resource \
  --import-path github.com/me/concourse-my-resource \
  --resource concourse-my-resource

Error: unknown flag: --import-path
Usage:
  ofcourse init [flags]

Flags:
  -R, --docker-registry string   Registry where resource docker image will be pushed
  -h, --help                     help for init
  -i, --importPath string        Go import path where code for resource will be located
  -r, --resource string          Name of Concourse resource

unknown flag: --import-path

Logging for the "check" step

As you know, unfortunately Concourse doesn't show any logging for the check step (unless the check itself fails, in that case it shows it).

While developing my resource, I wanted logging support for check. I added it by sending a message to an HTTP IM service (in my case GChat, but it could easily be extended to any IM that supports HTTP POST).

Right now this HTTP logging is in the resource itself, but I wanted to bring it out in a dedicated library and make ofcourse use it, in a way that is transparent to the current ofcourse logging.

Would you be interested in such a feature? The current way to configure it is

  source:
    log_url: ((my-secret-webhook))

if present, any ofcourse.log() calls would log also there, in addition to the resource stderr.

Issue trying to build from source

When building from source, I'm getting:

bash-3.2$ make dist
make: *** No rule to make target templates/README.md', needed by ofcourse/bindata.go'. Stop.

Thanks for ofcourse!

Hello,

this is not a bug or a feature request, but since I didn't find a way to contact you, I am using this "issue" to say thank you! Very useful tool. I see the care you put into it, and I appreciate also the documentation. ๐Ÿ‘

Feel free to close this ticket as soon as you read it :-)

marco

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.