Concourse Resource for Sentry releases
Manage releases in Sentry, can be used to upload sourcemaps.
Add the resource type to your pipeline:
resource_types: - name: sentry-releases type: docker-image source: repository: rubenv/concourse-sentry-releases-resource
host: Optional. URL to the Sentry server, uses
token: Required. API token.
organization: Required. Organization name.
project: Required. Project name.
check: Check for new releases
Checks for new releases.
in: Fetch release.
Fetches a release.
out: Create release.
Creates a new release, optionally uploads files (e.g. source files and source maps).
version_from: Required. File from which the version ID should be read.
files: Optional. Folder containing files to upload.
url_prefix: Optional. URL prefix to apply, defaults to
Define the resource:
resources: - name: myproject-releases type: sentry-releases source: token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX organization: myorg project: myproject
Add to job:
jobs: # ... plan: - put: myproject-releases params: version_from: build-output/release-id files: build-output/js/ url_prefix: ~/js/