Conveniently call Dorametrix to create a deployment event.
Looking for a demo? In that case you might be interested in the Dorametrix Pipe demo.
Add the following snippet to the script section of your bitbucket-pipelines.yml
file:
- pipe: docker://mikaelvesavuori/dorametrix-pipe:1.0.0
variables:
ENDPOINT: "$ENDPOINT"
API_KEY: "$API_KEY"
PRODUCT: "$BITBUCKET_REPO_SLUG"
Ideally set these as repository variables ("secrets").
Environment variable name: ENDPOINT
.
Dorametrix API endpoint, in the format https://mydomain.com/stagename
.
Environment variable name: API_KEY
.
Dorametrix API token.
Environment variable name: PRODUCT
.
The product name can be optionally set. If not, it will default to the repository name.
This Action uses two secrets: ENDPOINT
and API_KEY
, as described above.
- Set the required environment variables,
ENDPOINT
andAPI_KEY
. - Always ensure you have secure settings regarding what actions you allow.
- Note that Dorametrix will not work without access to the Git history (i.e.
with.fetch-depth: 0
).
image:
name: atlassian/default-image:3
pipelines:
default:
- step:
name: Dorametrix
script:
- pipe: docker://mikaelvesavuori/dorametrix-pipe:1.0.0
variables:
ENDPOINT: "$ENDPOINT"
API_KEY: "$API_KEY"
PRODUCT: "$BITBUCKET_REPO_SLUG"
Please create an issue on GitHub.
If you're reporting an issue, please include:
- The version of the pipe
- Relevant logs and error messages
- Steps to reproduce the issue