From 2901776cc0b2697d6b2866ac4cbc0dbfc1d7069d Mon Sep 17 00:00:00 2001 From: Nicolas Richart <nicolas.richart@epfl.ch> Date: Thu, 27 Jun 2024 13:23:42 +0200 Subject: [PATCH] Splitting in subdirectories in preparation of deployement --- ci/stack_env.sh | 3 ++- stacks/pinot-noir/config.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/stack_env.sh b/ci/stack_env.sh index 3335720..d992e13 100644 --- a/ci/stack_env.sh +++ b/ci/stack_env.sh @@ -5,7 +5,8 @@ export STACK_CONFIG=${STACK_CONFIG_PATH}/config.json export SPACK_VERSION=$(jq -r .spack.version ${STACK_CONFIG}) export MOUNT_POINT=$(jq -r .stack.mount_point ${STACK_CONFIG}) -export STACK_LOCATION=${MOUNT_POINT}/${stack} +export STACK_VERSION=$(jq -r .stack.version ${STACK_CONFIG}) +export STACK_LOCATION=${MOUNT_POINT}/${stack}/${environment}/${STACK_VERSION} export SPACK_SYSTEM_CONFIG_PATH=${STACK_LOCATION}/spack/var/spack/environments/${environment} diff --git a/stacks/pinot-noir/config.json b/stacks/pinot-noir/config.json index 1e12024..545a5c2 100644 --- a/stacks/pinot-noir/config.json +++ b/stacks/pinot-noir/config.json @@ -23,6 +23,7 @@ } }, "stack": { + "version": "v1", "mount_point": "/stack", "system_arch": "target=x86_64_v3", "system_compiler": { -- GitLab