From 8dcbfaf497a437b51ccd27809e60eff34823807a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Raddaoui=20Mar=C3=ADn?= Date: Thu, 5 Sep 2024 01:33:14 +0200 Subject: [PATCH 1/2] Update upload configuration --- templates/enduro.toml.j2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/enduro.toml.j2 b/templates/enduro.toml.j2 index 8bd0fad..fc86d29 100644 --- a/templates/enduro.toml.j2 +++ b/templates/enduro.toml.j2 @@ -161,12 +161,15 @@ region = "{{ pipeline.watched_region }}" bucket = "failed-sips" [upload] +maxSize = 102400000 + +[upload.bucket] endpoint = "{{ pipeline.watched_endpoint }}" -pathStyle = true -key = "{{ pipeline.watched_key }}" -secret = "{{ pipeline.watched_secret }}" +pathStyle = "{{ pipeline.watched_pathStyle }}" +accessKey = "{{ pipeline.watched_key }}" +secretKey = "{{ pipeline.watched_secret }}" region = "{{ pipeline.watched_region }}" -bucket = "sips" +bucket = "{{ pipeline.watched_bucket }}" [watcher.embedded] name = "{{ pipeline.watched_name }}" From e10147c2557f0e404ac97871652bb6bc5122ec48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Raddaoui=20Mar=C3=ADn?= Date: Fri, 6 Sep 2024 07:54:42 +0200 Subject: [PATCH 2/2] Use accessKey and secretKey in failed buckets --- templates/enduro.toml.j2 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/enduro.toml.j2 b/templates/enduro.toml.j2 index fc86d29..8f7d8b1 100644 --- a/templates/enduro.toml.j2 +++ b/templates/enduro.toml.j2 @@ -147,16 +147,16 @@ bucket = "aips" [failedPips] endpoint = "{{ pipeline.watched_endpoint }}" pathStyle = true -key = "{{ pipeline.watched_key }}" -secret = "{{ pipeline.watched_secret }}" +accessKey = "{{ pipeline.watched_key }}" +secretKey = "{{ pipeline.watched_secret }}" region = "{{ pipeline.watched_region }}" bucket = "failed-pips" [failedSips] endpoint = "{{ pipeline.watched_endpoint }}" pathStyle = true -key = "{{ pipeline.watched_key }}" -secret = "{{ pipeline.watched_secret }}" +accessKey = "{{ pipeline.watched_key }}" +secretKey = "{{ pipeline.watched_secret }}" region = "{{ pipeline.watched_region }}" bucket = "failed-sips" @@ -234,4 +234,3 @@ disabled = true [validation] checksumsCheckEnabled = false {% endif %} -