From 70161b41216a68ba30ad05f86459698acbd94740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Mon, 10 Jun 2024 14:31:55 +0200 Subject: [PATCH] packaging: oci: provide INSTALL_DIR (#26489) --- .gitlab/packaging/oci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab/packaging/oci.yml b/.gitlab/packaging/oci.yml index 65db3c7cbc221..764c055a30556 100644 --- a/.gitlab/packaging/oci.yml +++ b/.gitlab/packaging/oci.yml @@ -63,6 +63,8 @@ packaging_oci: - $S3_CP_CMD merged.tar $S3_ARTIFACTS_URI/datadog-agent_7_oci.tar before_script: - source /root/.bashrc + - export PACKAGE_VERSION=$(inv agent.version --url-safe --major-version 7)-1 + - export INSTALL_DIR=/opt/datadog-packages/${OCI_PRODUCT}/${PACKAGE_VERSION} artifacts: paths: - ${OMNIBUS_PACKAGE_DIR}