From 3d83618cb8e4a652934682b66b88adef2fee1718 Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Thu, 23 Jan 2025 12:27:06 +0100 Subject: [PATCH] [bitnami/nats] Prepare VIB tests for new scratch image (#76501) --- .vib/nats/goss/goss.yaml | 15 --------------- .vib/nats/goss/nats.yaml | 22 ---------------------- .vib/nats/goss/vars.yaml | 18 ------------------ .vib/nats/vib-verify.json | 15 --------------- 4 files changed, 70 deletions(-) delete mode 100644 .vib/nats/goss/goss.yaml delete mode 100644 .vib/nats/goss/nats.yaml delete mode 100644 .vib/nats/goss/vars.yaml diff --git a/.vib/nats/goss/goss.yaml b/.vib/nats/goss/goss.yaml deleted file mode 100644 index 552369bc1728..000000000000 --- a/.vib/nats/goss/goss.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -gossfile: - # Goss tests exclusive to the current container - ../../nats/goss/nats.yaml: {} - # Load scripts from .vib/common/goss/templates - ../../common/goss/templates/check-app-version.yaml: {} - ../../common/goss/templates/check-binaries.yaml: {} - ../../common/goss/templates/check-broken-symlinks.yaml: {} - ../../common/goss/templates/check-ca-certs.yaml: {} - ../../common/goss/templates/check-directories.yaml: {} - ../../common/goss/templates/check-linked-libraries.yaml: {} - ../../common/goss/templates/check-sed-in-place.yaml: {} - ../../common/goss/templates/check-spdx.yaml: {} diff --git a/.vib/nats/goss/nats.yaml b/.vib/nats/goss/nats.yaml deleted file mode 100644 index bb2e9672ce3b..000000000000 --- a/.vib/nats/goss/nats.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -command: - check-nats-server: - exec: timeout --preserve-status 5 nats-server - timeout: 10000 - exit-status: 1 - stderr: - - "Listening for client connections" - - "Server is ready" -file: - /opt/bitnami/nats/conf/nats-server.conf: - exists: true - filetype: file - mode: "0664" - contents: - - /listen.*4222/ - /opt/bitnami/nats/logs/nats-server.log: - exists: true - filetype: symlink - linked-to: /dev/stdout diff --git a/.vib/nats/goss/vars.yaml b/.vib/nats/goss/vars.yaml deleted file mode 100644 index cbbda9abab8c..000000000000 --- a/.vib/nats/goss/vars.yaml +++ /dev/null @@ -1,18 +0,0 @@ -binaries: - - nats-server - - render-template -directories: - - mode: "0775" - paths: - - /bitnami/nats - - /bitnami/nats/data - - /bitnami/nats/conf - - /opt/bitnami/nats - - /opt/bitnami/nats/conf - - /opt/bitnami/nats/logs - - /opt/bitnami/nats/tmp - - /docker-entrypoint-initdb.d -root_dir: /opt/bitnami -version: - bin_name: nats-server - flag: --version diff --git a/.vib/nats/vib-verify.json b/.vib/nats/vib-verify.json index 68449e1c5e95..4234492f0be7 100644 --- a/.vib/nats/vib-verify.json +++ b/.vib/nats/vib-verify.json @@ -34,21 +34,6 @@ }, "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": {