Skip to content
A Concourse CI resource to mark a deploy in New Relic
Branch: master
Clone or download
Latest commit b2e4ea2 Dec 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Merge branch 'master' of https://github.com/crstamps2/newrelic-deploy… Dec 11, 2017
LICENSE
README.md
check change files from bash to sh Dec 8, 2017
in change files from bash to sh Dec 8, 2017
out

README.md

New Relic Deploy Resource

Marks a deployment in New Relic.

Resource Type Configuration

resource_types:
- name: newrelic-deploy-resource
  type: docker-image
  source:
    repository: crstamps2/newrelic-deploy-resource
    tag: latest

Source Configuration

  • api_key: Required. The API key provided by New Relic.
  • app_id: Required. The ID of your app provided by New Relic. This can be usually found in the URL of your app's main monitoring page.
- name: new-relic
  type: newrelic-deploy-resource
  source:
    api_key: "key"
    app_id: "id"

Behavior

out: Marks a deploy in New Relic.

Marks a deploy in New Relic, with the configured parameters.

Parameters

  • json_file: Required. A file with the following template:
{
  "revision":"v1.0", #required
  "changelog":"logs go here", #optional
  "description":"a short description" #optional
}
  • user: Optional. The user who is marking the deployment
---
jobs:
- name: Mark Deploy in New Relic
  max_in_flight: 1
  plan:
  - put: new-relic
    params:
      json_file: /tmp/build/put/path/to/file.json
      user: yoursTruly

*Please note that the path to your json file must be prepended with /tmp/build/put/

See the official documentation for a complete list of available metadata.

You can’t perform that action at this time.