From ee45fc9bb7645d4c40e51c4fceda7ff9960090e4 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Thu, 24 Nov 2022 15:09:16 -0600
Subject: [PATCH] fix: provide S3/AWS endpoint and access secrets to pipeline

---
 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 226172f86..987550fbe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,12 @@ variables:
   ## Ref: https://github.com/eic/eic-spack/commit/[hash]
   ## [hash]: [description]
 
+  ## S3 buildcache access
+  S3_ENDPOINT_URL: "https://dtn01.sdcc.bnl.gov:9000"
+  ## S3 credentials (through CI/CD variables)
+  AWS_ACCESS_KEY_ID: "${S3_ACCESS_KEY}"
+  AWS_SECRET_ACCESS_KEY: "${S3_SECRET_KEY}"
+
   ## We need to enable Docker Buildkit to use cache mounts and better
   ## build performance overall
   DOCKER_BUILDKIT: 1
-- 
GitLab