From 8ad19b7ebaff227af0e49fc71f552a2028edfdf8 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Mon, 12 Aug 2024 21:39:21 +0200
Subject: [PATCH] Hardcoded key

---
 .gitlab-ci.yml          | 2 +-
 ci/install_compilers.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 009ab76..d90c8ea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -202,7 +202,7 @@ spack:install:
           -e ${environment}
           buildcache create
           --update-index
-          --key EDC904DCE3D2E84E
+          --key ${GPG_KEY_ID}
           ${MOUNT_POINT}/buildcache
 
     - ${STACK_LOCATION}/spack/bin/spack
diff --git a/ci/install_compilers.sh b/ci/install_compilers.sh
index a986383..3edbae2 100755
--- a/ci/install_compilers.sh
+++ b/ci/install_compilers.sh
@@ -60,7 +60,7 @@ for c in  "core_compilers" "compilers"; do
             --color always \
             buildcache create \
             --update-index \
-            --key EDC904DCE3D2E84E \
+            --key ${GPG_KEY_ID} \
             ${MOUNT_POINT}/buildcache ${hashes}
 
         for compiler_hash in $(echo ${hashes}); do
-- 
GitLab