Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Adnan Hajdarević
    @adnanh
    @/all I have launched a SaaS version of webhook, if you'd like to check out the BETA, let me know. Find out more at www.hookdoo.com
    Saloni Garg
    @saloni-garg
    Hello people. I am a sophomore girl. Can u help me with a node.js webhook please?
    Saloni Garg
    @saloni-garg
    Anyone plz...help me understand how do I start building one. I have prior knowledge of JavaScript
    Sabarish
    @_sabarish__twitter
    Hi
    if I wanted to pass the parameters to a command, for example, "--debug true" how can I do? Right now the parameters are passed to the command as json/dictionary? how can I make it to the form the command takes without a wrapper script?
    ScrumpyJack
    @ScrumpyJack
    o/
    Adnan Hajdarević
    @adnanh
    \o
    ScrumpyJack
    @ScrumpyJack
    @adnanh interesting concept (hookboo). What's the uptake?
    Also, I see focus on build triggers, but how about other uses? You could easily imagine hookdoo as a gateway between web hooks and other services.
    For example, monitoring provider A doesn't support alerting integration with, say Discord, but does provide a webhook alert. Enter hookboo gateway
    ScrumpyJack
    @ScrumpyJack
    IOT device B doesn't provided event notifications to, say twilio , but does provide and webhook notice scheme. Enter hookboo gateway
    MarcyMarcy
    @ironsalsa
    @adnanh Just popping in to let you know your Webhook tool is fantastic, and really speeds up exposing API endpoints for operational folks like me.
    Adnan Hajdarević
    @adnanh
    @ironsalsa glad you like it :)
    ScrumpyJack
    @ScrumpyJack
    How is hookboo coming on?
    ehab aboudaya
    @ehab2012
    hello all, how to pass remoteAddr to pass-arguments-to-command ? my go skills are 0 and i started to add another hook sourceRemoteAddr but didn't finish. Would appreciate if someone already implemented this if not present. Thanks
    ScrumpyJack
    @ScrumpyJack
    @adnanh how are you getting on with https://hookdoo.com/ does it work yet?
    ZhangWei1208
    @ZhangWei1208
    Hello
    ScrumpyJack
    @ScrumpyJack
    hello
    Tunjidir
    @Tunjidir
    Hi guys please i am trying to setup a webhook for my bitbucket repository, basically a push/merge to the develop branch should trigger a command, somehow the hooks.json file i defined keeps telling me the hook rules were not satisfied.
    here is an example of my hooks.json
    [
        {
          "id": "updatehook",
          "execute-command": "/path-to-shell-script/update.sh",
          "command-working-directory": "/path-to-where-shell-script-should-be-executed/folder",
          "pass-arguments-to-command":
        [
          {
            "source": "payload",
            "name": "head_commit.id"
          },
          {
            "source": "payload",
            "name": "myname"
          },
          {
            "source": "payload",
            "name": "my email"
          }
        ],
          "trigger-rule":
          {
            "match":
            {
              "type": "ip-whitelist",
              "ip-range": "104.192.143.0/24"
            }
          }
        }
      ]
    Tunjidir
    @Tunjidir
    Please any help that can be rendered would be welcome, Thanks
    @adnanh
    @adnanh
    Tunjidir
    @Tunjidir
    @adnanh please help me out
    Tunjidir
    @Tunjidir
    an update to this. i am running webhook inside a docker container, whenever the hook is triggered, i always get an error. "could not locate command working directory."
    ScrumpyJack
    @ScrumpyJack
    @Tunjidir docker might be the issue here, as cgroups restricts access to mounts etc. do you have the possibility to run the go binary on your host?
    Tunjidir
    @Tunjidir
    yeah. there are so many complexities involved when trying the tool out with docker.
    @ScrumpyJack i got it to run on docker though, after battling with it half of my day yesterday.
    but yeah, it works when you run the native binary on your host.
    Tarun
    @tarun-teja
    Hi All, I am trying to use adnanh as webhook between github and jenkins and was wondering if we can trigger goland scripts instead of bash scripts via adnanh webhook?
    Mattias Fjellvang
    @simplenotezy
    Hi here, how can I pass arguments to the command being run?
    Normally the command I write is "sh deploy.sh production"
    but it doesn't work if I append "production" to the command.
    it will say: deploy.sh production: no such file or directory
    babykart
    @babykart
    hi, is it possible to set a static argument to "pass-arguments-to-command": something like
    "pass-arguments-to-command":
    [
    {
    "type": "value",
    "value": "player"
    }
    I'm trying this syntax without success .....
    babykart
    @babykart
    I tried:
    "pass-arguments-to-command":
    [
    {
    "source": "value",
    "value": "player"
    }
    but same problem : couldn't retrieve argument for {Source:value Name: EnvName: Base64Decode:false}
    Adnan Hajdarević
    @adnanh
    Yep, try "source": "string"
    babykart
    @babykart
    @adnanh thx ... just to be sure :
    {
    "source": "string",
    "string": "player"
    }
    babykart
    @babykart
    I tried : no error to extract the data but the argument is empty on command line ....
    Adnan Hajdarević
    @adnanh
    no no
    { "source": "string", "name": "player" }
    babykart
    @babykart
    @adnanh thx for RTFM ... and sorry for the noise ....
    hehe :D
    np
    babykart
    @babykart
    it works perfectly .... one more thx for this project .... :)
    Adnan Hajdarević
    @adnanh
    glad to hear that :)