From 71f195de1500187bfb32c00d0e61daab8aa6f665 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont@gmail.com>
Date: Thu, 14 Nov 2019 11:41:20 +0100
Subject: [PATCH] staging: Deploy new archive loader on staging nodes

Related to T2023
---
 data/defaults.yaml                           | 1 +
 data/location/sesi_rocquencourt_staging.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/data/defaults.yaml b/data/defaults.yaml
index 5e139d693..3be1df6d9 100644
--- a/data/defaults.yaml
+++ b/data/defaults.yaml
@@ -1891,6 +1891,7 @@ swh::deploy::worker::loader_debian::config:
       - swh.loader.package.tasks.LoadDebian
 
 swh::deploy::worker::loader_archive::config_file: "%{hiera('swh::conf_directory')}/loader_archive.yml"
+swh::deploy::worker::loader_archive::private_tmp: true
 swh::deploy::worker::loader_archive::concurrency: 1
 swh::deploy::worker::loader_archive::loglevel: info
 swh::deploy::worker::loader_archive::config:
diff --git a/data/location/sesi_rocquencourt_staging.yaml b/data/location/sesi_rocquencourt_staging.yaml
index 1c2747c67..2cacd3dc1 100644
--- a/data/location/sesi_rocquencourt_staging.yaml
+++ b/data/location/sesi_rocquencourt_staging.yaml
@@ -57,6 +57,7 @@ swh::deploy::worker::lister::db::user: swh-lister
 swh::deploy::worker::lister::db::name: swh-lister
 
 swh::deploy::worker::instances:
+  - loader_archive
   - checker_deposit
   - loader_debian
   - loader_deposit
-- 
GitLab