Coder Social home page Coder Social logo

flowdock-notification-resource's People

Contributors

alpha-er avatar lockan avatar rafikn avatar

Watchers

 avatar  avatar

Forkers

lockan

flowdock-notification-resource's Issues

Pipelines stalls if flowdock-notification-resource is used as an input

If this resource is used as an input in a 'get' step in a pipeline, the pipeline will halt. I haven't had time to investigate why this is, but I suspect the in script isn't set up correctly. (Or maybe isn't even implemented?)

Logging an issue as a reminder to revisit this as time allows.

Concourse returns "file not found" when trying to use container to run shell commands

Use case:
For StuffNz: invoke Rex (hubot) via a curl command to the flowdock private message api.

Problem:
When using the image in a concourse task definition, concourse returns "File not found" when trying to invoke any shell command ("echo", "ls", etc.). A bare-bones hello-world task configuration does the same.
Using the base images instead of this resource (golang:alpine or alpine:edge) will work as expected (for "ls" or "echo", but not "curl" since that's not installed on those images).

Sample pipeline for testing:

resources:
- name: flowdock-notification
  type: docker-image
  source:
     repository: ((flowdock-notification-url))
    tag: latest
- name: golang-alpine
  type: docker-image
  source:
    repository: golang
    tag: alpine
- name: flowdock
  type: flowdock-notification
  source:
    author: ((arbitrary-author-name))
    avatar: ((some-image-url))
    flow_api: https://api.flowdock.com/messages
    flow_token: ((some-valid-flow-token)
    thread_id: ((some-arbitrary-thread-id))
jobs:
- name: test-curl-rex
  public: true
  serial: true
  plan:
  - aggregate:
    - get: golang-alpine
    - get: flowdock
  - task: this-will-succeed
    image: golang-alpine
    config:
      platform: linux
      run:
        path: /bin/sh
        args:
          - -exc
          - |
          - echo "Hello world"
  - task: this-will-fail
    image: flowdock
    config:
      platform: linux
      run:
        path: /bin/sh
        args:
          - -exc
          - |
          - echo "Goodbye world"

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.