From ed9402064ed1c7d15d92a7b8b0f652453aacc04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:39:32 +0200 Subject: [PATCH] chore(updates.jenkins.io): add a dedicated File Share for httpd service (#676) This PR adds a dedicated File Share for httpd. This will allow us to mount the .htaccess file generated by https://github.com/jenkins-infra/update-center2/blob/master/site/generate-htaccess.sh and completed with https://github.com/jenkins-infra/update-center2/pull/776 only as volume for the `httpd` updates.jenkins.io service, and every other files except .htaccess as volume for the `mirrorbits` updates.jenkins.io service. Ref: - https://github.com/jenkins-infra/helpdesk/issues/2649#issuecomment-2075477428 --- updates.jenkins.io.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/updates.jenkins.io.tf b/updates.jenkins.io.tf index 1f551a55..0aa348e7 100644 --- a/updates.jenkins.io.tf +++ b/updates.jenkins.io.tf @@ -41,6 +41,12 @@ resource "azurerm_storage_share" "updates_jenkins_io" { quota = 2 # updates.jenkins.io total size in /www/updates.jenkins.io: 400Mo (Mid 2023) } +resource "azurerm_storage_share" "updates_jenkins_io_httpd" { + name = "updates-jenkins-io-httpd" + storage_account_name = azurerm_storage_account.updates_jenkins_io.name + quota = 1 +} + # Redis database resource "azurerm_redis_cache" "updates_jenkins_io" { name = "updates-jenkins-io"