From 50da005bab55cb1df88c278aa6ed8fd04ad3fc30 Mon Sep 17 00:00:00 2001 From: Ajinkya Udgirkar Date: Tue, 24 Sep 2024 19:02:38 +0530 Subject: [PATCH] Update schema for missing `tags` property to builder v3 `options` (#4346) --- src/ansiblelint/schemas/execution-environment.json | 7 +++++++ test/schemas/test/execution-environment-v3.yml | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/ansiblelint/schemas/execution-environment.json b/src/ansiblelint/schemas/execution-environment.json index 3ac1230176..b9933ff9ff 100644 --- a/src/ansiblelint/schemas/execution-environment.json +++ b/src/ansiblelint/schemas/execution-environment.json @@ -289,6 +289,13 @@ "workdir": { "description": "Default working directory, also often the homedir for ephemeral UIDs", "type": ["string", "null"] + }, + "tags": { + "description": "A list of names to assign to the resulting image if build process completes successfully", + "type": "array", + "items": { + "type": "string" + } } }, "type": "object" diff --git a/test/schemas/test/execution-environment-v3.yml b/test/schemas/test/execution-environment-v3.yml index edc4fe2fc0..4fee3a519d 100644 --- a/test/schemas/test/execution-environment-v3.yml +++ b/test/schemas/test/execution-environment-v3.yml @@ -17,3 +17,8 @@ additional_build_steps: append_base: - RUN echo This is a post-install command! - RUN ls -la /etc + +options: + package_manager_path: /usr/bin/dnf + tags: + - automation-hub.my.company.com/ee-supported-rhel9_foo:latest