Files
containers/.vib/supabase-realtime/vib-publish.json
Fran Mulero d2a71e8786 Set associated_bossd_release
Some CD pipelines are failing with error:
```
Task osspi-application with ID 98273e7f-c8c8-4388-b3f5-254049311c6c has failed. Error: Error executing action, program exited with exit code: 1, stderr: ERROR: Creating OSM product version '2.12.0-debian-11-container' for vmwaresaas.jfrog.io/content-platform-docker/containers/supabase-realtime:2.12.0-debian-11-r0-1680605833476: Last release of this product is marked as externally distributed and hasn't associated bossd release. Since it tries to clone your latest release, please, review its configuration or provide $.osm.associated_bossd_release
```

Signed-off-by: Fran Mulero <fmulero@vmware.com>
2023-04-04 13:47:30 +02:00

97 lines
2.3 KiB
JSON

{
"context": {
"resources": {
"url": "{VIB_ENV_CONTAINER_URL}",
"path": "{VIB_ENV_PATH}"
}
},
"phases": {
"package": {
"actions": [
{
"action_id": "container-image-package",
"params": {
"application": {
"details": {
"name": "{VIB_ENV_CONTAINER}",
"tag": "{VIB_ENV_TAG}"
}
},
"architectures": [
"linux/amd64"
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "trivy",
"params": {
"threshold": "CRITICAL",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
},
{
"action_id": "osspi-application",
"params": {
"additional_packages_file": "osspi-packages-amd64.json",
"scan_type": "BASE_OS",
"osm": {
"associated_bossd_release": "400400474",
"product_name": "main-catalog-{VIB_ENV_CONTAINER}",
"product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container"
},
"resources": {
"url": "{VIB_ENV_PACKAGES_JSON_URL}",
"path": "/{VIB_ENV_PATH}",
"authn": {
"header": "Authorization",
"token": "Bearer {VIB_ENV_GITHUB_TOKEN}"
}
}
}
}
]
},
"publish": {
"actions": [
{
"action_id": "container-image-publish",
"params": {
"metadata": {
"tags": {VIB_ENV_ROLLING_TAGS}
},
"repository": {
"kind": "OCI",
"url": "{VIB_ENV_REGISTRY_URL}",
"authn": {
"username": "{VIB_ENV_REGISTRY_USERNAME}",
"password": "{VIB_ENV_REGISTRY_PASSWORD}"
}
}
}
}
]
}
}
}