This file describe how to list your tool integration on the Keptn Integrations page.
If you have not done so already, Create an issue to track the development of this integration. This is also the place to look for integration requests raised by others. If you want to contribute to Keptn, this is a great place to start.
Please sign-off all commits (eg.
git commit -sm "commit message"
)
When your integration is ready and tested:
- Fork this repository
- Create a new branch on your fork
- Copy the
aws_lambda
folder to use as a template - Rename the
aws_lambda
folder to match your integration name (eg.myToolX
) - The
1.0.0
subfolder is used to version the artifact when it's a "full" Keptn service. In most cases, contributors will be leveraging the job-executor-service or the webhook service. In which case, this can be left as1.0.0
to denote that your integration is not versioned. - Modify the
artifacthub-pkg.yml
file with your details. - Modify the
README.md
file with your instructions. - If you have no screenshots, you can delete the
assets
folder. - Modify the
CODEOWNERS
file and add yourself as an owner. On a new line, add the following syntax:folderName/ + @YourGitHubUsername
eg.myToolX/ @me
- Create a PR back on the parent repo and someone will review.
For the integration to be displayed correctly, the artifacthub-pkg.yml
file needs to meet the syntax requirements described on the AH repository. The version
, name
, displayName
, createdAt
, and description
attributes are required by AH. In addition, authors are also recommended to add the digest
as described in more detail in the 'Update existing version of a service' section.
There are two Keptn specific annotations you must add to the artifacthub-pkg.yml
: keptn/kind
and keptn/version
. Both properties and accepted values are documented here.
For updates of an existing version to take effect on Artifacthub, the digest
parameter needs to be updated or added to the artifacthub-pkg.yml
file of that version. A change of the digest parameter signals the Artifacthub backend to reprocess that version. To ensure the new digest
value is unique, use the current date of the change with the same format as the createdAt
argument (RFC3339).
Screenshots should be saved into the assets
folder.
ArtifactHub cannot resolve relative paths so you must specify the "real path" the image will have after the PR is merged.
The path takes the form https://github.com/keptn-contrib/artifacthub/{your-service-folder-name}/{version-subfolder}/assets/{image name}
. For example:
https://github.com/keptn-contrib/artifacthub/aws_lambda/1.0.0/assets/image.jpg
Join us on the #help-integrations
channel on Keptn Slack and the Keptn community will help out.