diff --git a/.vib/acmesolver/vib-publish.json b/.vib/acmesolver/vib-publish.json deleted file mode 100644 index a2fd33fbd349f..0000000000000 --- a/.vib/acmesolver/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "acmesolver/goss/goss.yaml", - "vars_file": "acmesolver/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-acmesolver" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/airflow-exporter/vib-publish.json b/.vib/airflow-exporter/vib-publish.json deleted file mode 100644 index a42ae0e1ad91f..0000000000000 --- a/.vib/airflow-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "airflow-exporter/goss/goss.yaml", - "vars_file": "airflow-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-airflow-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/airflow-scheduler/vib-publish.json b/.vib/airflow-scheduler/vib-publish.json deleted file mode 100644 index 5aeeb817f072c..0000000000000 --- a/.vib/airflow-scheduler/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "airflow-scheduler/goss/goss.yaml", - "vars_file": "airflow-scheduler/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-airflow-scheduler" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/airflow-worker/vib-publish.json b/.vib/airflow-worker/vib-publish.json deleted file mode 100644 index 69102de2c3c75..0000000000000 --- a/.vib/airflow-worker/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "airflow-worker/goss/goss.yaml", - "vars_file": "airflow-worker/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-airflow-worker" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/airflow/vib-publish.json b/.vib/airflow/vib-publish.json deleted file mode 100644 index 5b1bd882e86bc..0000000000000 --- a/.vib/airflow/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "airflow/goss/goss.yaml", - "vars_file": "airflow/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-airflow" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/alertmanager/vib-publish.json b/.vib/alertmanager/vib-publish.json deleted file mode 100644 index 9d876f0026685..0000000000000 --- a/.vib/alertmanager/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "alertmanager/goss/goss.yaml", - "vars_file": "alertmanager/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-alertmanager" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/apache-exporter/vib-publish.json b/.vib/apache-exporter/vib-publish.json deleted file mode 100644 index 3f6949ae97e0d..0000000000000 --- a/.vib/apache-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "apache-exporter/goss/goss.yaml", - "vars_file": "apache-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-apache-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/apache/vib-publish.json b/.vib/apache/vib-publish.json deleted file mode 100644 index ec9a3dff0db29..0000000000000 --- a/.vib/apache/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "apache/goss/goss.yaml", - "vars_file": "apache/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-apache" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/apisix-dashboard/vib-publish.json b/.vib/apisix-dashboard/vib-publish.json deleted file mode 100644 index e141b2f789229..0000000000000 --- a/.vib/apisix-dashboard/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "apisix-dashboard/goss/goss.yaml", - "vars_file": "apisix-dashboard/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-apisix-dashboard" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/apisix-ingress-controller/vib-publish.json b/.vib/apisix-ingress-controller/vib-publish.json deleted file mode 100644 index fb3f141e30a30..0000000000000 --- a/.vib/apisix-ingress-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "apisix-ingress-controller/goss/goss.yaml", - "vars_file": "apisix-ingress-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-apisix-ingress-controller" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/apisix/vib-publish.json b/.vib/apisix/vib-publish.json deleted file mode 100644 index 3ef96cf6bb585..0000000000000 --- a/.vib/apisix/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "apisix/goss/goss.yaml", - "vars_file": "apisix/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-apisix" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/appsmith/vib-publish.json b/.vib/appsmith/vib-publish.json deleted file mode 100644 index fdf73014d7fea..0000000000000 --- a/.vib/appsmith/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "appsmith/goss/goss.yaml", - "vars_file": "appsmith/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-appsmith" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/argo-cd/vib-publish.json b/.vib/argo-cd/vib-publish.json deleted file mode 100644 index e2cdb5933d97e..0000000000000 --- a/.vib/argo-cd/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "argo-cd/goss/goss.yaml", - "vars_file": "argo-cd/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-argo-cd" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/argo-workflow-cli/vib-publish.json b/.vib/argo-workflow-cli/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/argo-workflow-cli/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/argo-workflow-controller/vib-publish.json b/.vib/argo-workflow-controller/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/argo-workflow-controller/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/argo-workflow-exec/vib-publish.json b/.vib/argo-workflow-exec/vib-publish.json deleted file mode 100644 index fb56abf696259..0000000000000 --- a/.vib/argo-workflow-exec/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "argo-workflow-exec/goss/goss.yaml", - "vars_file": "argo-workflow-exec/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-argo-workflow-exec" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/aspnet-core/vib-publish.json b/.vib/aspnet-core/vib-publish.json deleted file mode 100644 index ae5e053dff72a..0000000000000 --- a/.vib/aspnet-core/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "aspnet-core/goss/goss.yaml", - "vars_file": "aspnet-core/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-aspnet-core" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/attu/vib-publish.json b/.vib/attu/vib-publish.json deleted file mode 100644 index 844c2f31ce2b5..0000000000000 --- a/.vib/attu/vib-publish.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "attu/goss/goss.yaml", - "vars_file": "attu/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-attu" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}", - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - ] - } - } -} diff --git a/.vib/aws-cli/vib-publish.json b/.vib/aws-cli/vib-publish.json deleted file mode 100644 index 5131889e3be17..0000000000000 --- a/.vib/aws-cli/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "aws-cli/goss/goss.yaml", - "vars_file": "aws-cli/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-aws-cli" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/azure-cli/vib-publish.json b/.vib/azure-cli/vib-publish.json deleted file mode 100644 index 8069d8cbf070e..0000000000000 --- a/.vib/azure-cli/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "azure-cli/goss/goss.yaml", - "vars_file": "azure-cli/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-azure-cli" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/blackbox-exporter/vib-publish.json b/.vib/blackbox-exporter/vib-publish.json deleted file mode 100644 index cd45a2cf4cd5d..0000000000000 --- a/.vib/blackbox-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "blackbox-exporter/goss/goss.yaml", - "vars_file": "blackbox-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-blackbox-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cainjector/vib-publish.json b/.vib/cainjector/vib-publish.json deleted file mode 100644 index 65b3e000371da..0000000000000 --- a/.vib/cainjector/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cainjector/goss/goss.yaml", - "vars_file": "cainjector/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cainjector" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cassandra-exporter/vib-publish.json b/.vib/cassandra-exporter/vib-publish.json deleted file mode 100644 index 19b93306c6e64..0000000000000 --- a/.vib/cassandra-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cassandra-exporter/goss/goss.yaml", - "vars_file": "cassandra-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cassandra-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cassandra/vib-publish.json b/.vib/cassandra/vib-publish.json deleted file mode 100644 index 7655cf54ab554..0000000000000 --- a/.vib/cassandra/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cassandra/goss/goss.yaml", - "vars_file": "cassandra/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cassandra" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cert-manager-webhook/vib-publish.json b/.vib/cert-manager-webhook/vib-publish.json deleted file mode 100644 index c1fe1e93a7dc8..0000000000000 --- a/.vib/cert-manager-webhook/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cert-manager-webhook/goss/goss.yaml", - "vars_file": "cert-manager-webhook/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cert-manager-webhook" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cert-manager/vib-publish.json b/.vib/cert-manager/vib-publish.json deleted file mode 100644 index 1b5a90070714a..0000000000000 --- a/.vib/cert-manager/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cert-manager/goss/goss.yaml", - "vars_file": "cert-manager/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cert-manager" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/clickhouse/vib-publish.json b/.vib/clickhouse/vib-publish.json deleted file mode 100644 index 25fc0b4e0c7b5..0000000000000 --- a/.vib/clickhouse/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "clickhouse/goss/goss.yaml", - "vars_file": "clickhouse/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-clickhouse" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cluster-autoscaler/vib-publish.json b/.vib/cluster-autoscaler/vib-publish.json deleted file mode 100644 index 9a96b0b52d7f0..0000000000000 --- a/.vib/cluster-autoscaler/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cluster-autoscaler/goss/goss.yaml", - "vars_file": "cluster-autoscaler/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cluster-autoscaler" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/codeigniter/vib-publish.json b/.vib/codeigniter/vib-publish.json deleted file mode 100644 index 21b158ec7a353..0000000000000 --- a/.vib/codeigniter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "codeigniter/goss/goss.yaml", - "vars_file": "codeigniter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-codeigniter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/concourse/vib-publish.json b/.vib/concourse/vib-publish.json deleted file mode 100644 index 6fd74c60a05a9..0000000000000 --- a/.vib/concourse/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "concourse/goss/goss.yaml", - "vars_file": "concourse/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-concourse" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/configmap-reload/vib-publish.json b/.vib/configmap-reload/vib-publish.json deleted file mode 100644 index 4f631b8439689..0000000000000 --- a/.vib/configmap-reload/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "configmap-reload/goss/goss.yaml", - "vars_file": "configmap-reload/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-configmap-reload" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/configurable-http-proxy/vib-publish.json b/.vib/configurable-http-proxy/vib-publish.json deleted file mode 100644 index c1420b3b9988c..0000000000000 --- a/.vib/configurable-http-proxy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "configurable-http-proxy/goss/goss.yaml", - "vars_file": "configurable-http-proxy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-configurable-http-proxy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/consul-exporter/vib-publish.json b/.vib/consul-exporter/vib-publish.json deleted file mode 100644 index b45f4e46ed866..0000000000000 --- a/.vib/consul-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "consul-exporter/goss/goss.yaml", - "vars_file": "consul-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-consul-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/consul/vib-publish.json b/.vib/consul/vib-publish.json deleted file mode 100644 index f12f300445618..0000000000000 --- a/.vib/consul/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "consul/goss/goss.yaml", - "vars_file": "consul/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-consul" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/contour/vib-publish.json b/.vib/contour/vib-publish.json deleted file mode 100644 index 2afed0413790c..0000000000000 --- a/.vib/contour/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "contour/goss/goss.yaml", - "vars_file": "contour/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-contour" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/cosign/vib-publish.json b/.vib/cosign/vib-publish.json deleted file mode 100644 index 40743bb143f97..0000000000000 --- a/.vib/cosign/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "cosign/goss/goss.yaml", - "vars_file": "cosign/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-cosign" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/couchdb/vib-publish.json b/.vib/couchdb/vib-publish.json deleted file mode 100644 index 1fd9d828c7937..0000000000000 --- a/.vib/couchdb/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "couchdb/goss/goss.yaml", - "vars_file": "couchdb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-couchdb" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/deepspeed/vib-publish.json b/.vib/deepspeed/vib-publish.json deleted file mode 100644 index 17af354953035..0000000000000 --- a/.vib/deepspeed/vib-publish.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "deepspeed/goss/goss.yaml", - "vars_file": "deepspeed/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-deepspeed" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}", - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - ] - } - } -} diff --git a/.vib/dex/vib-publish.json b/.vib/dex/vib-publish.json deleted file mode 100644 index f64220f93c296..0000000000000 --- a/.vib/dex/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "dex/goss/goss.yaml", - "vars_file": "dex/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-dex" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/discourse/vib-publish.json b/.vib/discourse/vib-publish.json deleted file mode 100644 index b0a30a08cfbb0..0000000000000 --- a/.vib/discourse/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "discourse/goss/goss.yaml", - "vars_file": "discourse/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-discourse" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/dokuwiki/vib-publish.json b/.vib/dokuwiki/vib-publish.json deleted file mode 100644 index 5ed723e3452a4..0000000000000 --- a/.vib/dokuwiki/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "dokuwiki/goss/goss.yaml", - "vars_file": "dokuwiki/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-dokuwiki" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/dotnet-sdk/vib-publish.json b/.vib/dotnet-sdk/vib-publish.json deleted file mode 100644 index 56c3bb8697c8d..0000000000000 --- a/.vib/dotnet-sdk/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "dotnet-sdk/goss/goss.yaml", - "vars_file": "dotnet-sdk/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-dotnet-sdk" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/dotnet/vib-publish.json b/.vib/dotnet/vib-publish.json deleted file mode 100644 index ab73cf8982f22..0000000000000 --- a/.vib/dotnet/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "dotnet/goss/goss.yaml", - "vars_file": "dotnet/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-dotnet" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/drupal-nginx/vib-publish.json b/.vib/drupal-nginx/vib-publish.json deleted file mode 100644 index 0b5f55f1e3b94..0000000000000 --- a/.vib/drupal-nginx/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "drupal-nginx/goss/goss.yaml", - "vars_file": "drupal-nginx/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-drupal-nginx" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/drupal/vib-publish.json b/.vib/drupal/vib-publish.json deleted file mode 100644 index 7c0f2c87b92d3..0000000000000 --- a/.vib/drupal/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "drupal/goss/goss.yaml", - "vars_file": "drupal/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-drupal" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/ejbca/vib-publish.json b/.vib/ejbca/vib-publish.json deleted file mode 100644 index 2b0420f1d3ef4..0000000000000 --- a/.vib/ejbca/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "ejbca/goss/goss.yaml", - "vars_file": "ejbca/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-ejbca" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/elasticsearch-exporter/vib-publish.json b/.vib/elasticsearch-exporter/vib-publish.json deleted file mode 100644 index a3c8c26b8fbd0..0000000000000 --- a/.vib/elasticsearch-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "elasticsearch-exporter/goss/goss.yaml", - "vars_file": "elasticsearch-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-elasticsearch-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/elasticsearch/vib-publish.json b/.vib/elasticsearch/vib-publish.json deleted file mode 100644 index 8b49ab87d3727..0000000000000 --- a/.vib/elasticsearch/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "elasticsearch/goss/goss.yaml", - "vars_file": "elasticsearch/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-elasticsearch" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/envoy/vib-publish.json b/.vib/envoy/vib-publish.json deleted file mode 100644 index 5b851360e073d..0000000000000 --- a/.vib/envoy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "envoy/goss/goss.yaml", - "vars_file": "envoy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-envoy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/etcd/3.4/vib-publish.json b/.vib/etcd/3.4/vib-publish.json deleted file mode 100644 index 32645174bdbc4..0000000000000 --- a/.vib/etcd/3.4/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "etcd/goss/goss.yaml", - "vars_file": "etcd/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-etcd" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/etcd/vib-publish.json b/.vib/etcd/vib-publish.json deleted file mode 100644 index bdfea2227047e..0000000000000 --- a/.vib/etcd/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "etcd/goss/goss.yaml", - "vars_file": "etcd/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-etcd" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/express/vib-publish.json b/.vib/express/vib-publish.json deleted file mode 100644 index cd1bfc4900c0f..0000000000000 --- a/.vib/express/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "express/goss/goss.yaml", - "vars_file": "express/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-express" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/external-dns/vib-publish.json b/.vib/external-dns/vib-publish.json deleted file mode 100644 index 34e214f991fd9..0000000000000 --- a/.vib/external-dns/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "external-dns/goss/goss.yaml", - "vars_file": "external-dns/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-external-dns" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/flink/vib-publish.json b/.vib/flink/vib-publish.json deleted file mode 100644 index ec600720cfac1..0000000000000 --- a/.vib/flink/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "flink/goss/goss.yaml", - "vars_file": "flink/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-flink" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluent-bit/vib-publish.json b/.vib/fluent-bit/vib-publish.json deleted file mode 100644 index 08be2e2cc09fe..0000000000000 --- a/.vib/fluent-bit/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluent-bit/goss/goss.yaml", - "vars_file": "fluent-bit/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluent-bit" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluentd/vib-publish.json b/.vib/fluentd/vib-publish.json deleted file mode 100644 index c145d6548e53c..0000000000000 --- a/.vib/fluentd/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluentd/goss/goss.yaml", - "vars_file": "fluentd/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluentd" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-helm-controller/vib-publish.json b/.vib/fluxcd-helm-controller/vib-publish.json deleted file mode 100644 index 67e7a55aaa5c7..0000000000000 --- a/.vib/fluxcd-helm-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-helm-controller/goss/goss.yaml", - "vars_file": "fluxcd-helm-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-helm-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-image-automation-controller/vib-publish.json b/.vib/fluxcd-image-automation-controller/vib-publish.json deleted file mode 100644 index 001875b317f3e..0000000000000 --- a/.vib/fluxcd-image-automation-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-image-automation-controller/goss/goss.yaml", - "vars_file": "fluxcd-image-automation-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-image-automation-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-image-reflector-controller/vib-publish.json b/.vib/fluxcd-image-reflector-controller/vib-publish.json deleted file mode 100644 index 904a5a6a804de..0000000000000 --- a/.vib/fluxcd-image-reflector-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-image-reflector-controller/goss/goss.yaml", - "vars_file": "fluxcd-image-reflector-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-image-reflector-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-kustomize-controller/vib-publish.json b/.vib/fluxcd-kustomize-controller/vib-publish.json deleted file mode 100644 index d93a06393e7bf..0000000000000 --- a/.vib/fluxcd-kustomize-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-kustomize-controller/goss/goss.yaml", - "vars_file": "fluxcd-kustomize-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-kustomize-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-notification-controller/vib-publish.json b/.vib/fluxcd-notification-controller/vib-publish.json deleted file mode 100644 index 84f7ebcd96a71..0000000000000 --- a/.vib/fluxcd-notification-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-notification-controller/goss/goss.yaml", - "vars_file": "fluxcd-notification-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-notification-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/fluxcd-source-controller/vib-publish.json b/.vib/fluxcd-source-controller/vib-publish.json deleted file mode 100644 index 83e4d51305b57..0000000000000 --- a/.vib/fluxcd-source-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "fluxcd-source-controller/goss/goss.yaml", - "vars_file": "fluxcd-source-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-fluxcd-source-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/ghost/vib-publish.json b/.vib/ghost/vib-publish.json deleted file mode 100644 index 3108c308e6272..0000000000000 --- a/.vib/ghost/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "ghost/goss/goss.yaml", - "vars_file": "ghost/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-ghost" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/git/vib-publish.json b/.vib/git/vib-publish.json deleted file mode 100644 index b4633a9109d2f..0000000000000 --- a/.vib/git/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "git/goss/goss.yaml", - "vars_file": "git/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-git" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/gitea/vib-publish.json b/.vib/gitea/vib-publish.json deleted file mode 100644 index 0221fe5621381..0000000000000 --- a/.vib/gitea/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "gitea/goss/goss.yaml", - "vars_file": "gitea/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-gitea" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/gitlab-runner-helper/vib-publish.json b/.vib/gitlab-runner-helper/vib-publish.json deleted file mode 100644 index 9aec8441f1a7c..0000000000000 --- a/.vib/gitlab-runner-helper/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "gitlab-runner-helper/goss/goss.yaml", - "vars_file": "gitlab-runner-helper/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-gitlab-runner-helper" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/gitlab-runner/vib-publish.json b/.vib/gitlab-runner/vib-publish.json deleted file mode 100644 index 3cf525eabc011..0000000000000 --- a/.vib/gitlab-runner/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "gitlab-runner/goss/goss.yaml", - "vars_file": "gitlab-runner/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-gitlab-runner" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/golang/vib-publish.json b/.vib/golang/vib-publish.json deleted file mode 100644 index c7898d9ee46a4..0000000000000 --- a/.vib/golang/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "golang/goss/goss.yaml", - "vars_file": "golang/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-golang" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/google-cloud-sdk/vib-publish.json b/.vib/google-cloud-sdk/vib-publish.json deleted file mode 100644 index 73431c749c3e6..0000000000000 --- a/.vib/google-cloud-sdk/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "google-cloud-sdk/goss/goss.yaml", - "vars_file": "google-cloud-sdk/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-google-cloud-sdk" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/gotrue/vib-publish.json b/.vib/gotrue/vib-publish.json deleted file mode 100644 index b3cf6a864f479..0000000000000 --- a/.vib/gotrue/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "gotrue/goss/goss.yaml", - "vars_file": "gotrue/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-gotrue" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/gradle/vib-publish.json b/.vib/gradle/vib-publish.json deleted file mode 100644 index 493f3adc0e933..0000000000000 --- a/.vib/gradle/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "gradle/goss/goss.yaml", - "vars_file": "gradle/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-gradle" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-image-renderer/vib-publish.json b/.vib/grafana-image-renderer/vib-publish.json deleted file mode 100644 index f5a6e8e023653..0000000000000 --- a/.vib/grafana-image-renderer/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-image-renderer/goss/goss.yaml", - "vars_file": "grafana-image-renderer/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-image-renderer" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-loki/vib-publish.json b/.vib/grafana-loki/vib-publish.json deleted file mode 100644 index 58a68d134dc69..0000000000000 --- a/.vib/grafana-loki/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-loki/goss/goss.yaml", - "vars_file": "grafana-loki/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-loki" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-mimir/vib-publish.json b/.vib/grafana-mimir/vib-publish.json deleted file mode 100644 index 041f9cf8046cb..0000000000000 --- a/.vib/grafana-mimir/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-mimir/goss/goss.yaml", - "vars_file": "grafana-mimir/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-mimir" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-operator/vib-publish.json b/.vib/grafana-operator/vib-publish.json deleted file mode 100644 index bc26cfa950913..0000000000000 --- a/.vib/grafana-operator/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-operator/goss/goss.yaml", - "vars_file": "grafana-operator/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-operator" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-tempo-query/vib-publish.json b/.vib/grafana-tempo-query/vib-publish.json deleted file mode 100644 index 2c31d5c92104d..0000000000000 --- a/.vib/grafana-tempo-query/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-tempo-query/goss/goss.yaml", - "vars_file": "grafana-tempo-query/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-tempo-query" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-tempo-vulture/vib-publish.json b/.vib/grafana-tempo-vulture/vib-publish.json deleted file mode 100644 index 8592ed144c5aa..0000000000000 --- a/.vib/grafana-tempo-vulture/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-tempo-vulture/goss/goss.yaml", - "vars_file": "grafana-tempo-vulture/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-tempo-vulture" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana-tempo/vib-publish.json b/.vib/grafana-tempo/vib-publish.json deleted file mode 100644 index d1f8dd5b3fa80..0000000000000 --- a/.vib/grafana-tempo/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana-tempo/goss/goss.yaml", - "vars_file": "grafana-tempo/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana-tempo" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/grafana/vib-publish.json b/.vib/grafana/vib-publish.json deleted file mode 100644 index aa3ad6786f42a..0000000000000 --- a/.vib/grafana/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "grafana/goss/goss.yaml", - "vars_file": "grafana/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-grafana" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/haproxy/vib-publish.json b/.vib/haproxy/vib-publish.json deleted file mode 100644 index ac60c6048d371..0000000000000 --- a/.vib/haproxy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "haproxy/goss/goss.yaml", - "vars_file": "haproxy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-haproxy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-adapter-trivy/vib-publish.json b/.vib/harbor-adapter-trivy/vib-publish.json deleted file mode 100644 index 297e3105a22fc..0000000000000 --- a/.vib/harbor-adapter-trivy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-adapter-trivy/goss/goss.yaml", - "vars_file": "harbor-adapter-trivy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-adapter-trivy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-core/vib-publish.json b/.vib/harbor-core/vib-publish.json deleted file mode 100644 index 7893d47eb34c7..0000000000000 --- a/.vib/harbor-core/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-core/goss/goss.yaml", - "vars_file": "harbor-core/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-core" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-exporter/vib-publish.json b/.vib/harbor-exporter/vib-publish.json deleted file mode 100644 index e224b4b2ea0b9..0000000000000 --- a/.vib/harbor-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-exporter/goss/goss.yaml", - "vars_file": "harbor-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-jobservice/vib-publish.json b/.vib/harbor-jobservice/vib-publish.json deleted file mode 100644 index 1493cce57787a..0000000000000 --- a/.vib/harbor-jobservice/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-jobservice/goss/goss.yaml", - "vars_file": "harbor-jobservice/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-jobservice" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-notary-server/vib-publish.json b/.vib/harbor-notary-server/vib-publish.json deleted file mode 100644 index 546b629138caf..0000000000000 --- a/.vib/harbor-notary-server/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-notary-server/goss/goss.yaml", - "vars_file": "harbor-notary-server/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-notary-server" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-notary-signer/vib-publish.json b/.vib/harbor-notary-signer/vib-publish.json deleted file mode 100644 index cb564ae5f8b7f..0000000000000 --- a/.vib/harbor-notary-signer/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-notary-signer/goss/goss.yaml", - "vars_file": "harbor-notary-signer/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-notary-signer" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-portal/vib-publish.json b/.vib/harbor-portal/vib-publish.json deleted file mode 100644 index 6bdd3e2935fb9..0000000000000 --- a/.vib/harbor-portal/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-portal/goss/goss.yaml", - "vars_file": "harbor-portal/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-portal" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-registry/vib-publish.json b/.vib/harbor-registry/vib-publish.json deleted file mode 100644 index 363cbb3c212a3..0000000000000 --- a/.vib/harbor-registry/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-registry/goss/goss.yaml", - "vars_file": "harbor-registry/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-registry" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/harbor-registryctl/vib-publish.json b/.vib/harbor-registryctl/vib-publish.json deleted file mode 100644 index 1ccdeb9a8a24f..0000000000000 --- a/.vib/harbor-registryctl/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "harbor-registryctl/goss/goss.yaml", - "vars_file": "harbor-registryctl/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-harbor-registryctl" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/influxdb/vib-publish.json b/.vib/influxdb/vib-publish.json deleted file mode 100644 index 76a9f9dd988aa..0000000000000 --- a/.vib/influxdb/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "influxdb/goss/goss.yaml", - "vars_file": "influxdb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-influxdb" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jaeger/vib-publish.json b/.vib/jaeger/vib-publish.json deleted file mode 100644 index 29dc9e3bf81a5..0000000000000 --- a/.vib/jaeger/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jaeger/goss/goss.yaml", - "vars_file": "jaeger/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jaeger" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jasperreports/vib-publish.json b/.vib/jasperreports/vib-publish.json deleted file mode 100644 index 4431613c85879..0000000000000 --- a/.vib/jasperreports/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jasperreports/goss/goss.yaml", - "vars_file": "jasperreports/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jasperreports" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/java/vib-publish.json b/.vib/java/vib-publish.json deleted file mode 100644 index 07a489d669ae2..0000000000000 --- a/.vib/java/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "java/goss/goss.yaml", - "vars_file": "java/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-java" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jax/vib-publish.json b/.vib/jax/vib-publish.json deleted file mode 100644 index d65504925038a..0000000000000 --- a/.vib/jax/vib-publish.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jax/goss/goss.yaml", - "vars_file": "jax/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jax" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}", - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - ] - } - } -} diff --git a/.vib/jenkins-agent/vib-publish.json b/.vib/jenkins-agent/vib-publish.json deleted file mode 100644 index 655f5dcf1cc42..0000000000000 --- a/.vib/jenkins-agent/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jenkins-agent/goss/goss.yaml", - "vars_file": "jenkins-agent/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jenkins-agent" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jenkins/vib-publish.json b/.vib/jenkins/vib-publish.json deleted file mode 100644 index 077cff552ad38..0000000000000 --- a/.vib/jenkins/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jenkins/goss/goss.yaml", - "vars_file": "jenkins/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jenkins" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jmx-exporter/vib-publish.json b/.vib/jmx-exporter/vib-publish.json deleted file mode 100644 index 5816842582b1c..0000000000000 --- a/.vib/jmx-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jmx-exporter/goss/goss.yaml", - "vars_file": "jmx-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jmx-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/joomla/vib-publish.json b/.vib/joomla/vib-publish.json deleted file mode 100644 index 93160145f3017..0000000000000 --- a/.vib/joomla/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "joomla/goss/goss.yaml", - "vars_file": "joomla/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-joomla" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jruby/vib-publish.json b/.vib/jruby/vib-publish.json deleted file mode 100644 index f90738c7f12fd..0000000000000 --- a/.vib/jruby/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jruby/goss/goss.yaml", - "vars_file": "jruby/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jruby" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jsonnet/vib-publish.json b/.vib/jsonnet/vib-publish.json deleted file mode 100644 index a5fc97894ce13..0000000000000 --- a/.vib/jsonnet/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jsonnet/goss/goss.yaml", - "vars_file": "jsonnet/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jsonnet" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jupyter-base-notebook/vib-publish.json b/.vib/jupyter-base-notebook/vib-publish.json deleted file mode 100644 index 101cfdd61382f..0000000000000 --- a/.vib/jupyter-base-notebook/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jupyter-base-notebook/goss/goss.yaml", - "vars_file": "jupyter-base-notebook/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jupyter-base-notebook" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jupyterhub/vib-publish.json b/.vib/jupyterhub/vib-publish.json deleted file mode 100644 index e6f7500b6f444..0000000000000 --- a/.vib/jupyterhub/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jupyterhub/goss/goss.yaml", - "vars_file": "jupyterhub/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jupyterhub" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/jwt-cli/vib-publish.json b/.vib/jwt-cli/vib-publish.json deleted file mode 100644 index b17618dc567a8..0000000000000 --- a/.vib/jwt-cli/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "jwt-cli/goss/goss.yaml", - "vars_file": "jwt-cli/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-jwt-cli" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kafka-exporter/vib-publish.json b/.vib/kafka-exporter/vib-publish.json deleted file mode 100644 index 5839fb67d13f9..0000000000000 --- a/.vib/kafka-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kafka-exporter/goss/goss.yaml", - "vars_file": "kafka-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kafka-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kafka/vib-publish.json b/.vib/kafka/vib-publish.json deleted file mode 100644 index 00d993d6f881e..0000000000000 --- a/.vib/kafka/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kafka/goss/goss.yaml", - "vars_file": "kafka/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kafka" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kaniko/vib-publish.json b/.vib/kaniko/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/kaniko/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kapacitor/vib-publish.json b/.vib/kapacitor/vib-publish.json deleted file mode 100644 index e11d09dbb1771..0000000000000 --- a/.vib/kapacitor/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kapacitor/goss/goss.yaml", - "vars_file": "kapacitor/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kapacitor" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/keycloak-config-cli/vib-publish.json b/.vib/keycloak-config-cli/vib-publish.json deleted file mode 100644 index 2472a1fc5fd11..0000000000000 --- a/.vib/keycloak-config-cli/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "keycloak-config-cli/goss/goss.yaml", - "vars_file": "keycloak-config-cli/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-keycloak-config-cli" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/keycloak/vib-publish.json b/.vib/keycloak/vib-publish.json deleted file mode 100644 index 471d8742e3109..0000000000000 --- a/.vib/keycloak/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "keycloak/goss/goss.yaml", - "vars_file": "keycloak/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-keycloak" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kiam/vib-publish.json b/.vib/kiam/vib-publish.json deleted file mode 100644 index 68ac2c6c12c8e..0000000000000 --- a/.vib/kiam/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kiam/goss/goss.yaml", - "vars_file": "kiam/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kiam" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kibana/vib-publish.json b/.vib/kibana/vib-publish.json deleted file mode 100644 index ef93ba7f73f1e..0000000000000 --- a/.vib/kibana/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kibana/goss/goss.yaml", - "vars_file": "kibana/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kibana" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kong-ingress-controller/vib-publish.json b/.vib/kong-ingress-controller/vib-publish.json deleted file mode 100644 index 1b7c4a2328438..0000000000000 --- a/.vib/kong-ingress-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kong-ingress-controller/goss/goss.yaml", - "vars_file": "kong-ingress-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kong-ingress-controller" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kong/vib-publish.json b/.vib/kong/vib-publish.json deleted file mode 100644 index fccf915099ac8..0000000000000 --- a/.vib/kong/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kong/goss/goss.yaml", - "vars_file": "kong/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kong" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/ksql/vib-publish.json b/.vib/ksql/vib-publish.json deleted file mode 100644 index 9d06470233755..0000000000000 --- a/.vib/ksql/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "ksql/goss/goss.yaml", - "vars_file": "ksql/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-ksql" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kube-rbac-proxy/vib-publish.json b/.vib/kube-rbac-proxy/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/kube-rbac-proxy/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kube-state-metrics/vib-publish.json b/.vib/kube-state-metrics/vib-publish.json deleted file mode 100644 index e320968e9c483..0000000000000 --- a/.vib/kube-state-metrics/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kube-state-metrics/goss/goss.yaml", - "vars_file": "kube-state-metrics/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kube-state-metrics" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-apis/vib-publish.json b/.vib/kubeapps-apis/vib-publish.json deleted file mode 100644 index ecd413654e770..0000000000000 --- a/.vib/kubeapps-apis/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubeapps-apis/goss/goss.yaml", - "vars_file": "kubeapps-apis/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubeapps-apis" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-apprepository-controller/vib-publish.json b/.vib/kubeapps-apprepository-controller/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/kubeapps-apprepository-controller/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-asset-syncer/vib-publish.json b/.vib/kubeapps-asset-syncer/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/kubeapps-asset-syncer/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-dashboard/vib-publish.json b/.vib/kubeapps-dashboard/vib-publish.json deleted file mode 100644 index c37c81bb58d47..0000000000000 --- a/.vib/kubeapps-dashboard/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubeapps-dashboard/goss/goss.yaml", - "vars_file": "kubeapps-dashboard/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubeapps-dashboard" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-oci-catalog/vib-publish.json b/.vib/kubeapps-oci-catalog/vib-publish.json deleted file mode 100644 index e3d7f55480cde..0000000000000 --- a/.vib/kubeapps-oci-catalog/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubeapps-oci-catalog/goss/goss.yaml", - "vars_file": "kubeapps-oci-catalog/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubeapps-oci-catalog" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubeapps-pinniped-proxy/vib-publish.json b/.vib/kubeapps-pinniped-proxy/vib-publish.json deleted file mode 100644 index 00485ec3b1cf5..0000000000000 --- a/.vib/kubeapps-pinniped-proxy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubeapps-pinniped-proxy/goss/goss.yaml", - "vars_file": "kubeapps-pinniped-proxy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubeapps-pinniped-proxy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubectl/vib-publish.json b/.vib/kubectl/vib-publish.json deleted file mode 100644 index e5cc3a2f04fed..0000000000000 --- a/.vib/kubectl/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubectl/goss/goss.yaml", - "vars_file": "kubectl/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubectl" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/kubernetes-event-exporter/vib-publish.json b/.vib/kubernetes-event-exporter/vib-publish.json deleted file mode 100644 index cb6932e8eca95..0000000000000 --- a/.vib/kubernetes-event-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kubernetes-event-exporter/goss/goss.yaml", - "vars_file": "kubernetes-event-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kubernetes-event-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/laravel/vib-publish.json b/.vib/laravel/vib-publish.json deleted file mode 100644 index 81cd2d6754923..0000000000000 --- a/.vib/laravel/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "laravel/goss/goss.yaml", - "vars_file": "laravel/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-laravel" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/logstash/vib-publish.json b/.vib/logstash/vib-publish.json deleted file mode 100644 index 53ef65ba60e55..0000000000000 --- a/.vib/logstash/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "logstash/goss/goss.yaml", - "vars_file": "logstash/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-logstash" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/magento/vib-publish.json b/.vib/magento/vib-publish.json deleted file mode 100644 index 93112533edb18..0000000000000 --- a/.vib/magento/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "magento/goss/goss.yaml", - "vars_file": "magento/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-magento" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mariadb-galera/10.4/vib-publish.json b/.vib/mariadb-galera/10.4/vib-publish.json deleted file mode 100644 index 42b9a74f0d3be..0000000000000 --- a/.vib/mariadb-galera/10.4/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mariadb-galera/goss/goss.yaml", - "vars_file": "mariadb-galera/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mariadb-galera" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mariadb-galera/vib-publish.json b/.vib/mariadb-galera/vib-publish.json deleted file mode 100644 index eee514e6142de..0000000000000 --- a/.vib/mariadb-galera/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mariadb-galera/goss/goss.yaml", - "vars_file": "mariadb-galera/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mariadb-galera" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mariadb/10.4/vib-publish.json b/.vib/mariadb/10.4/vib-publish.json deleted file mode 100644 index b830dcf4b171d..0000000000000 --- a/.vib/mariadb/10.4/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mariadb/goss/goss.yaml", - "vars_file": "mariadb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mariadb" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mariadb/vib-publish.json b/.vib/mariadb/vib-publish.json deleted file mode 100644 index c1beb4a02cec1..0000000000000 --- a/.vib/mariadb/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mariadb/goss/goss.yaml", - "vars_file": "mariadb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mariadb" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mastodon/vib-publish.json b/.vib/mastodon/vib-publish.json deleted file mode 100644 index 54d5f1e63b380..0000000000000 --- a/.vib/mastodon/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - } - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mastodon/goss/goss.yaml", - "vars_file": "mastodon/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mastodon" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/matomo/vib-publish.json b/.vib/matomo/vib-publish.json deleted file mode 100644 index c47878828c976..0000000000000 --- a/.vib/matomo/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "matomo/goss/goss.yaml", - "vars_file": "matomo/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-matomo" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mediawiki/vib-publish.json b/.vib/mediawiki/vib-publish.json deleted file mode 100644 index 323e2b7efde4c..0000000000000 --- a/.vib/mediawiki/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mediawiki/goss/goss.yaml", - "vars_file": "mediawiki/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mediawiki" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/memcached-exporter/vib-publish.json b/.vib/memcached-exporter/vib-publish.json deleted file mode 100644 index e5b2f74444365..0000000000000 --- a/.vib/memcached-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "memcached-exporter/goss/goss.yaml", - "vars_file": "memcached-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-memcached-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/memcached/vib-publish.json b/.vib/memcached/vib-publish.json deleted file mode 100644 index f7291c0c33763..0000000000000 --- a/.vib/memcached/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "memcached/goss/goss.yaml", - "vars_file": "memcached/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-memcached" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/metallb-controller/vib-publish.json b/.vib/metallb-controller/vib-publish.json deleted file mode 100644 index 6e383e4edad3a..0000000000000 --- a/.vib/metallb-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "metallb-controller/goss/goss.yaml", - "vars_file": "metallb-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-metallb-controller" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/metallb-speaker/vib-publish.json b/.vib/metallb-speaker/vib-publish.json deleted file mode 100644 index ef2459093c995..0000000000000 --- a/.vib/metallb-speaker/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "metallb-speaker/goss/goss.yaml", - "vars_file": "metallb-speaker/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-metallb-speaker" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/metrics-server/vib-publish.json b/.vib/metrics-server/vib-publish.json deleted file mode 100644 index ff4c18a74818b..0000000000000 --- a/.vib/metrics-server/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "metrics-server/goss/goss.yaml", - "vars_file": "metrics-server/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-metrics-server" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/milvus/vib-publish.json b/.vib/milvus/vib-publish.json deleted file mode 100644 index 8189fcef027c9..0000000000000 --- a/.vib/milvus/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - } - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "milvus/goss/goss.yaml", - "vars_file": "milvus/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-milvus" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/minio-client/vib-publish.json b/.vib/minio-client/vib-publish.json deleted file mode 100644 index 0beac83b930bf..0000000000000 --- a/.vib/minio-client/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "minio-client/goss/goss.yaml", - "vars_file": "minio-client/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-minio-client" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/minio/vib-publish.json b/.vib/minio/vib-publish.json deleted file mode 100644 index 1055d0d91f2f2..0000000000000 --- a/.vib/minio/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "minio/goss/goss.yaml", - "vars_file": "minio/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-minio" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mongodb-exporter/vib-publish.json b/.vib/mongodb-exporter/vib-publish.json deleted file mode 100644 index 8ccaa13be1a5e..0000000000000 --- a/.vib/mongodb-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mongodb-exporter/goss/goss.yaml", - "vars_file": "mongodb-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mongodb-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mongodb-sharded/vib-publish.json b/.vib/mongodb-sharded/vib-publish.json deleted file mode 100644 index 4e93fa3b987b6..0000000000000 --- a/.vib/mongodb-sharded/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mongodb-sharded/goss/goss.yaml", - "vars_file": "mongodb-sharded/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mongodb-sharded" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mongodb/vib-publish.json b/.vib/mongodb/vib-publish.json deleted file mode 100644 index 96cc85cd481b1..0000000000000 --- a/.vib/mongodb/vib-publish.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mongodb/goss/goss.yaml", - "vars_file": "mongodb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mongodb" - } - } - } - }, - - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/moodle/vib-publish.json b/.vib/moodle/vib-publish.json deleted file mode 100644 index 58705ae733777..0000000000000 --- a/.vib/moodle/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "moodle/goss/goss.yaml", - "vars_file": "moodle/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-moodle" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/multus-cni/vib-publish.json b/.vib/multus-cni/vib-publish.json deleted file mode 100644 index 0296a5432e717..0000000000000 --- a/.vib/multus-cni/vib-publish.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "multus-cni/goss/goss.yaml", - "vars_file": "multus-cni/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-multus-cni" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}", - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - ] - } - } -} diff --git a/.vib/mxnet/vib-publish.json b/.vib/mxnet/vib-publish.json deleted file mode 100644 index 254c163653a28..0000000000000 --- a/.vib/mxnet/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mxnet/goss/goss.yaml", - "vars_file": "mxnet/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mxnet" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mysql/vib-publish.json b/.vib/mysql/vib-publish.json deleted file mode 100644 index 4bfde33afc026..0000000000000 --- a/.vib/mysql/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mysql/goss/goss.yaml", - "vars_file": "mysql/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mysql" - } - } - } - }, - { - "action_id": "osspi-application", - "params": { - "additional_packages_file": "osspi-packages-amd64.json", - "scan_type": "BASE_OS", - "osm": { - "associated_bossd_release": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/mysqld-exporter/vib-publish.json b/.vib/mysqld-exporter/vib-publish.json deleted file mode 100644 index a28b009e6d732..0000000000000 --- a/.vib/mysqld-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "mysqld-exporter/goss/goss.yaml", - "vars_file": "mysqld-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-mysqld-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/nats-exporter/vib-publish.json b/.vib/nats-exporter/vib-publish.json deleted file mode 100644 index 469d52f8aa959..0000000000000 --- a/.vib/nats-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "nats-exporter/goss/goss.yaml", - "vars_file": "nats-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-nats-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/nats/vib-publish.json b/.vib/nats/vib-publish.json deleted file mode 100644 index b76fd9f51b713..0000000000000 --- a/.vib/nats/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "nats/goss/goss.yaml", - "vars_file": "nats/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-nats" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/neo4j/vib-publish.json b/.vib/neo4j/vib-publish.json deleted file mode 100644 index a58fa61124ee4..0000000000000 --- a/.vib/neo4j/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "neo4j/goss/goss.yaml", - "vars_file": "neo4j/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-neo4j" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/nginx-exporter/vib-publish.json b/.vib/nginx-exporter/vib-publish.json deleted file mode 100644 index e9d80738e0082..0000000000000 --- a/.vib/nginx-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "nginx-exporter/goss/goss.yaml", - "vars_file": "nginx-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-nginx-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/nginx-ingress-controller/vib-publish.json b/.vib/nginx-ingress-controller/vib-publish.json deleted file mode 100644 index 0da907dc8cdb2..0000000000000 --- a/.vib/nginx-ingress-controller/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "nginx-ingress-controller/goss/goss.yaml", - "vars_file": "nginx-ingress-controller/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-nginx-ingress-controller" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/nginx/vib-publish.json b/.vib/nginx/vib-publish.json deleted file mode 100644 index 53b3ff81fa3c7..0000000000000 --- a/.vib/nginx/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "nginx/goss/goss.yaml", - "vars_file": "nginx/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-nginx" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/node-exporter/vib-publish.json b/.vib/node-exporter/vib-publish.json deleted file mode 100644 index fcfe68cc7d8f8..0000000000000 --- a/.vib/node-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "node-exporter/goss/goss.yaml", - "vars_file": "node-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-node-exporter" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/node/vib-publish.json b/.vib/node/vib-publish.json deleted file mode 100644 index 804a3fc6d905b..0000000000000 --- a/.vib/node/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "node/goss/goss.yaml", - "vars_file": "node/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-node" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/oauth2-proxy/vib-publish.json b/.vib/oauth2-proxy/vib-publish.json deleted file mode 100644 index c0ee6f8101c10..0000000000000 --- a/.vib/oauth2-proxy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "oauth2-proxy/goss/goss.yaml", - "vars_file": "oauth2-proxy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-oauth2-proxy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/odoo/14/vib-publish.json b/.vib/odoo/14/vib-publish.json deleted file mode 100644 index 8e414e9069bb7..0000000000000 --- a/.vib/odoo/14/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "odoo/goss/goss.yaml", - "vars_file": "odoo/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-odoo" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/odoo/vib-publish.json b/.vib/odoo/vib-publish.json deleted file mode 100644 index 472aaa9a438cd..0000000000000 --- a/.vib/odoo/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "odoo/goss/goss.yaml", - "vars_file": "odoo/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-odoo" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/opencart/vib-publish.json b/.vib/opencart/vib-publish.json deleted file mode 100644 index 67855b922370d..0000000000000 --- a/.vib/opencart/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "opencart/goss/goss.yaml", - "vars_file": "opencart/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-opencart" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/openldap/vib-publish.json b/.vib/openldap/vib-publish.json deleted file mode 100644 index 13dda978c6c7d..0000000000000 --- a/.vib/openldap/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "openldap/goss/goss.yaml", - "vars_file": "openldap/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-openldap" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/openresty/vib-publish.json b/.vib/openresty/vib-publish.json deleted file mode 100644 index a2a1eee63ce30..0000000000000 --- a/.vib/openresty/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "openresty/goss/goss.yaml", - "vars_file": "openresty/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-openresty" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/opensearch-dashboards/vib-publish.json b/.vib/opensearch-dashboards/vib-publish.json deleted file mode 100644 index fd2179cef5f9d..0000000000000 --- a/.vib/opensearch-dashboards/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "opensearch-dashboards/goss/goss.yaml", - "vars_file": "opensearch-dashboards/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-opensearch-dashboards" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/opensearch/vib-publish.json b/.vib/opensearch/vib-publish.json deleted file mode 100644 index 30b196b2cfc1c..0000000000000 --- a/.vib/opensearch/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "opensearch/goss/goss.yaml", - "vars_file": "opensearch/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-opensearch" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/oras/vib-publish.json b/.vib/oras/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/oras/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/os-shell/vib-publish.json b/.vib/os-shell/vib-publish.json deleted file mode 100644 index 51fe108dafd70..0000000000000 --- a/.vib/os-shell/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "os-shell/goss/goss.yaml", - "vars_file": "os-shell/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-os-shell" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/osclass/vib-publish.json b/.vib/osclass/vib-publish.json deleted file mode 100644 index 7c74600f1e2b7..0000000000000 --- a/.vib/osclass/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "osclass/goss/goss.yaml", - "vars_file": "osclass/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-osclass" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/parse-dashboard/vib-publish.json b/.vib/parse-dashboard/vib-publish.json deleted file mode 100644 index 478698ad31249..0000000000000 --- a/.vib/parse-dashboard/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "parse-dashboard/goss/goss.yaml", - "vars_file": "parse-dashboard/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-parse-dashboard" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/parse/vib-publish.json b/.vib/parse/vib-publish.json deleted file mode 100644 index 4f744ee1930de..0000000000000 --- a/.vib/parse/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "parse/goss/goss.yaml", - "vars_file": "parse/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-parse" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/percona-mysql/vib-publish.json b/.vib/percona-mysql/vib-publish.json deleted file mode 100644 index fa67a7ca84ad0..0000000000000 --- a/.vib/percona-mysql/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "percona-mysql/goss/goss.yaml", - "vars_file": "percona-mysql/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-percona-mysql" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/percona-xtrabackup/vib-publish.json b/.vib/percona-xtrabackup/vib-publish.json deleted file mode 100644 index 1b25372ed955e..0000000000000 --- a/.vib/percona-xtrabackup/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "percona-xtrabackup/goss/goss.yaml", - "vars_file": "percona-xtrabackup/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-percona-xtrabackup" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pgbouncer/vib-publish.json b/.vib/pgbouncer/vib-publish.json deleted file mode 100644 index 83f9f28b5d277..0000000000000 --- a/.vib/pgbouncer/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "pgbouncer/goss/goss.yaml", - "vars_file": "pgbouncer/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-pgbouncer" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pgpool/vib-publish.json b/.vib/pgpool/vib-publish.json deleted file mode 100644 index ab76e2fb3c039..0000000000000 --- a/.vib/pgpool/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "pgpool/goss/goss.yaml", - "vars_file": "pgpool/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-pgpool" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/php-fpm/vib-publish.json b/.vib/php-fpm/vib-publish.json deleted file mode 100644 index b25c230a47384..0000000000000 --- a/.vib/php-fpm/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "php-fpm/goss/goss.yaml", - "vars_file": "php-fpm/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-php-fpm" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/phpbb/vib-publish.json b/.vib/phpbb/vib-publish.json deleted file mode 100644 index cfe4db6b2503f..0000000000000 --- a/.vib/phpbb/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "phpbb/goss/goss.yaml", - "vars_file": "phpbb/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-phpbb" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/phpmyadmin/vib-publish.json b/.vib/phpmyadmin/vib-publish.json deleted file mode 100644 index 224263a448cc0..0000000000000 --- a/.vib/phpmyadmin/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "phpmyadmin/goss/goss.yaml", - "vars_file": "phpmyadmin/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-phpmyadmin" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pinniped/vib-publish.json b/.vib/pinniped/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/pinniped/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/postgres-exporter/vib-publish.json b/.vib/postgres-exporter/vib-publish.json deleted file mode 100644 index 06aa8ce824088..0000000000000 --- a/.vib/postgres-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "postgres-exporter/goss/goss.yaml", - "vars_file": "postgres-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-postgres-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/postgresql-repmgr/vib-publish.json b/.vib/postgresql-repmgr/vib-publish.json deleted file mode 100644 index 5bb943bcb7598..0000000000000 --- a/.vib/postgresql-repmgr/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "postgresql-repmgr/goss/goss.yaml", - "vars_file": "postgresql-repmgr/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-postgresql-repmgr" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/postgresql/vib-publish.json b/.vib/postgresql/vib-publish.json deleted file mode 100644 index e1f108c4a894a..0000000000000 --- a/.vib/postgresql/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "postgresql/goss/goss.yaml", - "vars_file": "postgresql/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-postgresql" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/postgrest/vib-publish.json b/.vib/postgrest/vib-publish.json deleted file mode 100644 index c17af70e61bf6..0000000000000 --- a/.vib/postgrest/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "postgrest/goss/goss.yaml", - "vars_file": "postgrest/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-postgrest" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/prestashop/vib-publish.json b/.vib/prestashop/vib-publish.json deleted file mode 100644 index 3dd90ad0434d0..0000000000000 --- a/.vib/prestashop/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "prestashop/goss/goss.yaml", - "vars_file": "prestashop/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-prestashop" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/prometheus-operator/vib-publish.json b/.vib/prometheus-operator/vib-publish.json deleted file mode 100644 index 3e2f8311fcc18..0000000000000 --- a/.vib/prometheus-operator/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "prometheus-operator/goss/goss.yaml", - "vars_file": "prometheus-operator/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-prometheus-operator" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/prometheus-rsocket-proxy/vib-publish.json b/.vib/prometheus-rsocket-proxy/vib-publish.json deleted file mode 100644 index 0320f236de714..0000000000000 --- a/.vib/prometheus-rsocket-proxy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "prometheus-rsocket-proxy/goss/goss.yaml", - "vars_file": "prometheus-rsocket-proxy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-prometheus-rsocket-proxy" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/prometheus/vib-publish.json b/.vib/prometheus/vib-publish.json deleted file mode 100644 index de3be8fe4fe5f..0000000000000 --- a/.vib/prometheus/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "prometheus/goss/goss.yaml", - "vars_file": "prometheus/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-prometheus" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/promtail/vib-publish.json b/.vib/promtail/vib-publish.json deleted file mode 100644 index c9737cea1e89e..0000000000000 --- a/.vib/promtail/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "promtail/goss/goss.yaml", - "vars_file": "promtail/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-promtail" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pushgateway/vib-publish.json b/.vib/pushgateway/vib-publish.json deleted file mode 100644 index 6169442ab3058..0000000000000 --- a/.vib/pushgateway/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "pushgateway/goss/goss.yaml", - "vars_file": "pushgateway/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-pushgateway" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pymilvus/vib-publish.json b/.vib/pymilvus/vib-publish.json deleted file mode 100644 index d9547c675b502..0000000000000 --- a/.vib/pymilvus/vib-publish.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "pymilvus/goss/goss.yaml", - "vars_file": "pymilvus/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-pymilvus" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}", - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - ] - } - } -} diff --git a/.vib/python/vib-publish.json b/.vib/python/vib-publish.json deleted file mode 100644 index 2f0f88455e8b6..0000000000000 --- a/.vib/python/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "python/goss/goss.yaml", - "vars_file": "python/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-python" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/pytorch/vib-publish.json b/.vib/pytorch/vib-publish.json deleted file mode 100644 index 0ffdebac0adb7..0000000000000 --- a/.vib/pytorch/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "pytorch/goss/goss.yaml", - "vars_file": "pytorch/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-pytorch" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rabbitmq-cluster-operator/vib-publish.json b/.vib/rabbitmq-cluster-operator/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/rabbitmq-cluster-operator/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rabbitmq/vib-publish.json b/.vib/rabbitmq/vib-publish.json deleted file mode 100644 index c0556efd51628..0000000000000 --- a/.vib/rabbitmq/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "rabbitmq/goss/goss.yaml", - "vars_file": "rabbitmq/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-rabbitmq" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rails/vib-publish.json b/.vib/rails/vib-publish.json deleted file mode 100644 index d0544df02eee7..0000000000000 --- a/.vib/rails/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "rails/goss/goss.yaml", - "vars_file": "rails/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-rails" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rclone/vib-publish.json b/.vib/rclone/vib-publish.json deleted file mode 100644 index 8d5dd2d7cdb01..0000000000000 --- a/.vib/rclone/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "rclone/goss/goss.yaml", - "vars_file": "rclone/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-rclone" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/redis-cluster/vib-publish.json b/.vib/redis-cluster/vib-publish.json deleted file mode 100644 index 80f6d62ae0928..0000000000000 --- a/.vib/redis-cluster/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "redis-cluster/goss/goss.yaml", - "vars_file": "redis-cluster/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-redis-cluster" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/redis-exporter/vib-publish.json b/.vib/redis-exporter/vib-publish.json deleted file mode 100644 index b4304883aee98..0000000000000 --- a/.vib/redis-exporter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "redis-exporter/goss/goss.yaml", - "vars_file": "redis-exporter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-redis-exporter" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/redis-sentinel/vib-publish.json b/.vib/redis-sentinel/vib-publish.json deleted file mode 100644 index f64d1488034d3..0000000000000 --- a/.vib/redis-sentinel/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "redis-sentinel/goss/goss.yaml", - "vars_file": "redis-sentinel/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-redis-sentinel" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/redis/vib-publish.json b/.vib/redis/vib-publish.json deleted file mode 100644 index 6676e67616bdc..0000000000000 --- a/.vib/redis/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "redis/goss/goss.yaml", - "vars_file": "redis/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-redis" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/redmine/vib-publish.json b/.vib/redmine/vib-publish.json deleted file mode 100644 index 6aeb13d5f4705..0000000000000 --- a/.vib/redmine/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "redmine/goss/goss.yaml", - "vars_file": "redmine/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-redmine" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/reportserver/vib-publish.json b/.vib/reportserver/vib-publish.json deleted file mode 100644 index 12e34b97ef6ed..0000000000000 --- a/.vib/reportserver/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "reportserver/goss/goss.yaml", - "vars_file": "reportserver/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-reportserver" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rmq-default-credential-updater/vib-publish.json b/.vib/rmq-default-credential-updater/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/rmq-default-credential-updater/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/rmq-messaging-topology-operator/vib-publish.json b/.vib/rmq-messaging-topology-operator/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/rmq-messaging-topology-operator/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/ruby/vib-publish.json b/.vib/ruby/vib-publish.json deleted file mode 100644 index ddd9d5c9849b3..0000000000000 --- a/.vib/ruby/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "ruby/goss/goss.yaml", - "vars_file": "ruby/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-ruby" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/schema-registry/vib-publish.json b/.vib/schema-registry/vib-publish.json deleted file mode 100644 index ca78242418274..0000000000000 --- a/.vib/schema-registry/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "schema-registry/goss/goss.yaml", - "vars_file": "schema-registry/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-schema-registry" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/sealed-secrets/vib-publish.json b/.vib/sealed-secrets/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/sealed-secrets/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/solr/vib-publish.json b/.vib/solr/vib-publish.json deleted file mode 100644 index ed3d5ba8632f6..0000000000000 --- a/.vib/solr/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "solr/goss/goss.yaml", - "vars_file": "solr/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-solr" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/sonarqube/vib-publish.json b/.vib/sonarqube/vib-publish.json deleted file mode 100644 index c4d2993ce7db5..0000000000000 --- a/.vib/sonarqube/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "sonarqube/goss/goss.yaml", - "vars_file": "sonarqube/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-sonarqube" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spark/vib-publish.json b/.vib/spark/vib-publish.json deleted file mode 100644 index 6663d2c6ec5d1..0000000000000 --- a/.vib/spark/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spark/goss/goss.yaml", - "vars_file": "spark/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spark" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spring-cloud-dataflow-composed-task-runner/vib-publish.json b/.vib/spring-cloud-dataflow-composed-task-runner/vib-publish.json deleted file mode 100644 index 967aee63f6b10..0000000000000 --- a/.vib/spring-cloud-dataflow-composed-task-runner/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spring-cloud-dataflow-composed-task-runner/goss/goss.yaml", - "vars_file": "spring-cloud-dataflow-composed-task-runner/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spring-cloud-dataflow-composed-task-runner" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spring-cloud-dataflow-shell/vib-publish.json b/.vib/spring-cloud-dataflow-shell/vib-publish.json deleted file mode 100644 index f9fe06fd60d50..0000000000000 --- a/.vib/spring-cloud-dataflow-shell/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spring-cloud-dataflow-shell/goss/goss.yaml", - "vars_file": "spring-cloud-dataflow-shell/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spring-cloud-dataflow-shell" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spring-cloud-dataflow/vib-publish.json b/.vib/spring-cloud-dataflow/vib-publish.json deleted file mode 100644 index 7f09693b7ad7a..0000000000000 --- a/.vib/spring-cloud-dataflow/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spring-cloud-dataflow/goss/goss.yaml", - "vars_file": "spring-cloud-dataflow/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spring-cloud-dataflow" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spring-cloud-skipper-shell/vib-publish.json b/.vib/spring-cloud-skipper-shell/vib-publish.json deleted file mode 100644 index b01799f1e3f08..0000000000000 --- a/.vib/spring-cloud-skipper-shell/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spring-cloud-skipper-shell/goss/goss.yaml", - "vars_file": "spring-cloud-skipper-shell/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spring-cloud-skipper-shell" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/spring-cloud-skipper/vib-publish.json b/.vib/spring-cloud-skipper/vib-publish.json deleted file mode 100644 index fbf262bb7f864..0000000000000 --- a/.vib/spring-cloud-skipper/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "spring-cloud-skipper/goss/goss.yaml", - "vars_file": "spring-cloud-skipper/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-spring-cloud-skipper" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/suitecrm/vib-publish.json b/.vib/suitecrm/vib-publish.json deleted file mode 100644 index cf606b73316ec..0000000000000 --- a/.vib/suitecrm/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "suitecrm/goss/goss.yaml", - "vars_file": "suitecrm/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-suitecrm" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/supabase-postgres-meta/vib-publish.json b/.vib/supabase-postgres-meta/vib-publish.json deleted file mode 100644 index a1822b5dfc10d..0000000000000 --- a/.vib/supabase-postgres-meta/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "supabase-postgres-meta/goss/goss.yaml", - "vars_file": "supabase-postgres-meta/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-supabase-postgres-meta" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/supabase-postgres/vib-publish.json b/.vib/supabase-postgres/vib-publish.json deleted file mode 100644 index f30a9128fc38b..0000000000000 --- a/.vib/supabase-postgres/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "supabase-postgres/goss/goss.yaml", - "vars_file": "supabase-postgres/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-supabase-postgres" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/supabase-realtime/vib-publish.json b/.vib/supabase-realtime/vib-publish.json deleted file mode 100644 index eaaf3c51db15f..0000000000000 --- a/.vib/supabase-realtime/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "supabase-realtime/goss/goss.yaml", - "vars_file": "supabase-realtime/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-supabase-realtime" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/supabase-storage/vib-publish.json b/.vib/supabase-storage/vib-publish.json deleted file mode 100644 index cb4ad6e4d084e..0000000000000 --- a/.vib/supabase-storage/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "supabase-storage/goss/goss.yaml", - "vars_file": "supabase-storage/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-supabase-storage" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/supabase-studio/vib-publish.json b/.vib/supabase-studio/vib-publish.json deleted file mode 100644 index d49edefe2dc64..0000000000000 --- a/.vib/supabase-studio/vib-publish.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "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}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "supabase-studio/goss/goss.yaml", - "vars_file": "supabase-studio/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-supabase-studio" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/symfony/vib-publish.json b/.vib/symfony/vib-publish.json deleted file mode 100644 index 22a14cc2e76d2..0000000000000 --- a/.vib/symfony/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "symfony/goss/goss.yaml", - "vars_file": "symfony/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-symfony" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/telegraf/vib-publish.json b/.vib/telegraf/vib-publish.json deleted file mode 100644 index ef2abdba8af13..0000000000000 --- a/.vib/telegraf/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "telegraf/goss/goss.yaml", - "vars_file": "telegraf/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-telegraf" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/tensorflow-resnet/vib-publish.json b/.vib/tensorflow-resnet/vib-publish.json deleted file mode 100644 index 6826b4d0d130f..0000000000000 --- a/.vib/tensorflow-resnet/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "tensorflow-resnet/goss/goss.yaml", - "vars_file": "tensorflow-resnet/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-tensorflow-resnet" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/tensorflow-serving/vib-publish.json b/.vib/tensorflow-serving/vib-publish.json deleted file mode 100644 index aae46cc40de11..0000000000000 --- a/.vib/tensorflow-serving/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "tensorflow-serving/goss/goss.yaml", - "vars_file": "tensorflow-serving/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-tensorflow-serving" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/thanos/vib-publish.json b/.vib/thanos/vib-publish.json deleted file mode 100644 index 8b6fe8eab4e65..0000000000000 --- a/.vib/thanos/vib-publish.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "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", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/tomcat/vib-publish.json b/.vib/tomcat/vib-publish.json deleted file mode 100644 index e7f8ab151d8d9..0000000000000 --- a/.vib/tomcat/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "tomcat/goss/goss.yaml", - "vars_file": "tomcat/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-tomcat" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/trivy/vib-publish.json b/.vib/trivy/vib-publish.json deleted file mode 100644 index 9d5c6ebd1e159..0000000000000 --- a/.vib/trivy/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "trivy/goss/goss.yaml", - "vars_file": "trivy/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-trivy" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/vault-csi-provider/vib-publish.json b/.vib/vault-csi-provider/vib-publish.json deleted file mode 100644 index 4bcd4c5f6c9a9..0000000000000 --- a/.vib/vault-csi-provider/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "vault-csi-provider/goss/goss.yaml", - "vars_file": "vault-csi-provider/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-vault-csi-provider" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/vault-k8s/vib-publish.json b/.vib/vault-k8s/vib-publish.json deleted file mode 100644 index 16c67d2de1e98..0000000000000 --- a/.vib/vault-k8s/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "vault-k8s/goss/goss.yaml", - "vars_file": "vault-k8s/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-vault-k8s" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/vault/vib-publish.json b/.vib/vault/vib-publish.json deleted file mode 100644 index 5bf653e35721a..0000000000000 --- a/.vib/vault/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "vault/goss/goss.yaml", - "vars_file": "vault/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-vault" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} \ No newline at end of file diff --git a/.vib/whereabouts/vib-publish.json b/.vib/whereabouts/vib-publish.json deleted file mode 100644 index 8ac7d12628a83..0000000000000 --- a/.vib/whereabouts/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "whereabouts/goss/goss.yaml", - "vars_file": "whereabouts/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-whereabouts" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/wildfly/vib-publish.json b/.vib/wildfly/vib-publish.json deleted file mode 100644 index 0fa9edd0c98ed..0000000000000 --- a/.vib/wildfly/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "wildfly/goss/goss.yaml", - "vars_file": "wildfly/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-wildfly" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/wordpress-nginx/vib-publish.json b/.vib/wordpress-nginx/vib-publish.json deleted file mode 100644 index 028cd29737455..0000000000000 --- a/.vib/wordpress-nginx/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "wordpress-nginx/goss/goss.yaml", - "vars_file": "wordpress-nginx/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-wordpress-nginx" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/wordpress/vib-publish.json b/.vib/wordpress/vib-publish.json deleted file mode 100644 index 8694d4a1c16d3..0000000000000 --- a/.vib/wordpress/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "wordpress/goss/goss.yaml", - "vars_file": "wordpress/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-wordpress" - } - } - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/.vib/zookeeper/vib-publish.json b/.vib/zookeeper/vib-publish.json deleted file mode 100644 index e4e42bf67c0d9..0000000000000 --- a/.vib/zookeeper/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "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": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "zookeeper/goss/goss.yaml", - "vars_file": "zookeeper/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-zookeeper" - } - } - } - } - ] - }, - "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}" - } - } - } - } - ] - } - } -} diff --git a/TESTING.md b/TESTING.md index 3c2b12d825525..939539535a953 100644 --- a/TESTING.md +++ b/TESTING.md @@ -1,18 +1,12 @@ # Testing information -At Bitnami, we are committed to ensuring the quality of the apps we deliver, and as such, tests play a fundamental role in the `bitnami/containers` repository. Bear in mind that every contribution to our containers is ultimately published to our container registries, where it is made available for the rest of the community to benefit from. Before this happens, different checks are required to succeed. More precisely, tests are run when: - -1. A new contribution (regardless of its author) is made through a GitHub Pull Request. -2. Accepted changes are merged to the `main` branch, before their release. - -This strategy ensures that a set of changes must have succeeded twice before a new version is sent out to the public. +At Bitnami, we are committed to ensuring the quality of the apps we deliver, and as such, tests play a fundamental role in the `bitnami/containers` repository. Bear in mind that every contribution to our containers is ultimately published to our container registries, where it is made available for the rest of the community to benefit from. Before this happens, different checks are required to succeed. More precisely, tests are run when a new contribution (regardless of its author) is made through a GitHub Pull Request. In this section, we will discuss: * [Where to find the tests](#where-to-find-the-tests) * [VMware Image Builder (VIB)](#vmware-image-builder-vib) -* [VIB pipeline files](#vib-pipeline-files) - * [vib-verify.json vs vib-publish.json](#vib-verifyjson-vs-vib-publishjson) +* [VIB pipeline definition file](#vib-pipeline-definition-file) * [Testing strategy](#testing-strategy) * [Defining the scope](#defining-the-scope) * [Runtime parameters](#runtime-parameters) @@ -26,15 +20,15 @@ In this section, we will discuss: ## Where to find the tests -All the apps have an associated folder inside [/.vib](https://github.com/bitnami/containers/tree/main/.vib) with their custom tests implementation (the `goss` subfolder) and files containing their test plans (`vib-verify.json` and `vib-publish.json`). +All the apps have an associated folder inside [/.vib](https://github.com/bitnami/containers/tree/main/.vib) with their custom tests implementation (the `goss` subfolder) and the file containing their test plan (`vib-verify.json`). ## VMware Image Builder (VIB) The service that powers the verification of the thousands of monthly tests performed in the repository is VMware Image Builder. [VMware Image Builder](https://tanzu.vmware.com/content/blog/how-bitnami-uses-vmware-image-builder-to-deploy-apps) (VIB) is a platform-agnostic, API-first modular service that allows large enterprises and independent software vendors to automate the packaging, **verification**, and publishing processes of software artifacts on any platform and cloud. -## VIB pipeline files +## VIB pipeline definition file -The CI/CD pipelines in the repository are configured to trigger VIB when an app needs to be verified. But as every application is different, VIB needs to be supplied with a definition of the set of actions and configurations that precisely describe the verification process to perform in each case. This is the role of the aforementioned `vib-verify.json` and `vib-publish.json` files, which every app defines and can be found alongside its tests inside the `/.vib` folder. +The CI pipeline in this repository will be used to verify the changes proposed in a PR and triggered by any new commits once said PR is ready to be verified. But as every application is different, VIB needs to be supplied with a definition of the set of actions and configurations that precisely describe the verification process to perform in each case. This is the role of the aforementioned `vib-verify.json` file, which every app defines and can be found alongside its tests inside the `/.vib` folder. Keeping it simple, the `vib-verify.json` file defines what VIB should do. Let's take a look at an example and try to understand it! @@ -91,16 +85,7 @@ This guide will focus on the `verify` phase section, of which there are some thi * A container's testing phase will usually include a single `goss` testing action, followed by additional security-related actions. -### vib-verify.json vs vib-publish.json - -Going back to what we explained in the introduction, two different events will trigger the tests' execution. The following two files are associated with those events respectively: - -* The `vib-verify.json` pipeline definition file will be used to verify the changes proposed in a PR. -* The `vib-publish.json` file will instead define the pipeline launched when the proposed changes are merged to `main`. - -Both files define what VIB should do when they are triggered and thus tweaking them allows to define different action policies depending on the event that was fired. Nevertheless, it was decided that the verification process should be identical in both cases. Therefore, the `verify` section in `vib-verify.json` and `vib-verify.json` files must coincide. - -> NOTE: Some containers with per-branch ARM support use separate `vib-publish.json` pipelines for the said branches. Remember to replicate any other changes on those pipelines. +> NOTE: Some containers with per-branch ARM support use separate per-branch `vib-verify.json` pipelines. Remember to replicate changes performed on the main pipeline definition file to those pipelines. ## Testing strategy @@ -146,7 +131,7 @@ For your test code PR to be accepted the following criteria must be fulfilled: [GOSS](https://github.com/aelsabbahy/goss/blob/master/docs/manual.md) is the framework used to implement integration tests and the only testing tool presently used in our VIB pipelines. It is the reference tool to use when tests require interaction with a specific pod, with its tests being executed from within the pod. -For VIB to execute GOSS tests, the following block of code needs to be defined in the corresponding [VIB pipeline files](#vib-pipeline-files) (`/.vib/app/vib-{verify,publish}.json`). +For VIB to execute GOSS tests, the following block of code needs to be defined in the corresponding [VIB pipeline definition file](#vib-pipeline-definition-file) (`/.vib/app/vib-verify.json`). > Values denoted withing dollar signs (`$$VALUE$$`) should be treated as placeholders