Skip to content

Commit

Permalink
chore(updates.jenkins.io): add a dedicated File Share for httpd servi…
Browse files Browse the repository at this point in the history
…ce (#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
jenkins-infra/update-center2#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:
-
jenkins-infra/helpdesk#2649 (comment)
  • Loading branch information
lemeurherve authored Apr 25, 2024
1 parent 5b0924e commit ed94020
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions updates.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ed94020

Please sign in to comment.