[gnome-build-meta/abderrahim/bst2: 21/21] .gitlab-ci: use new cache server




commit abee162dd0c32fbe2be86da47b6a30ecc8cabef2
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Aug 8 21:55:12 2022 +0100

    .gitlab-ci: use new cache server

 .gitlab-ci.yml              | 4 ----
 .gitlab-ci/buildstream.conf | 6 +++---
 .gitlab-ci/flat-manager.yml | 4 ----
 3 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5086068fb..b1520042e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,10 +29,6 @@ default:
   # Ensure the log directory exists
   - mkdir -p logs
 
-  # Setup certificate for pushing to the cache
-  - echo "$GITLAB_CAS_PUSH_CERT" > client.crt
-  - echo "$GITLAB_CAS_PUSH_KEY" > client.key
-
 #
 # Templates shared by multiple jobs
 #
diff --git a/.gitlab-ci/buildstream.conf b/.gitlab-ci/buildstream.conf
index 77ae02f21..a5ab12762 100644
--- a/.gitlab-ci/buildstream.conf
+++ b/.gitlab-ci/buildstream.conf
@@ -21,11 +21,11 @@ logging:
 # configuration for pushing, client key and cert will be written by CI
 artifacts:
   servers:
-  - url: https://m1-xlarge-x86.gnome.org:11002
+  - url: https://m1-xlarge-x86.gnome.org:11003
     push: true
     auth:
-      client-key: client.key
-      client-cert: client.crt
+      client-key: ${CASD_CLIENT_KEY}
+      client-cert: ${CASD_CLIENT_CERT}
 
 # Use the gnome mirror by default
 projects:
diff --git a/.gitlab-ci/flat-manager.yml b/.gitlab-ci/flat-manager.yml
index dffec8558..593ff32f1 100644
--- a/.gitlab-ci/flat-manager.yml
+++ b/.gitlab-ci/flat-manager.yml
@@ -12,10 +12,6 @@ default:
   # Ensure the log directory exists
   - mkdir -p logs
 
-  # Setup certificate for pushing to the cache
-  - echo "$GITLAB_CAS_PUSH_CERT" > client.crt
-  - echo "$GITLAB_CAS_PUSH_KEY" > client.key
-
 .flatmgr-template:
   stage: deploy
   dependencies: [flatmgr-prepare]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]