cloudfoundry-community / slack-notification-resource

Concourse CI resource for sending notifications to Slack.
MIT License
75 stars 81 forks source link

Passing URI using vault gives "curl: (3) Illegal characters found in URL" #65

Closed sercanacar closed 3 years ago

sercanacar commented 5 years ago

Hi,

Using Concourse v5 with Vault 1.0.1

Passing URI like so:

resource_types:
- name: slack-notification
  type: docker-image
  source:
    repository: cfcommunity/slack-notification-resource
    tag: latest

resources:

  - name: slack-notify
    type: slack-notification
    source:
      url: ((slack_uri))

Build getting the following error in concourse


* Closing connection -1
curl: (3) Illegal characters found in URL
jhunt commented 5 years ago

This sounds like a Concourse issue; is Concourse properly hooked up to a config-server implementation, and is it properly resolving ((slack_uri)) to the value stored in Vault?