Skip to content

Commit

Permalink
feat(contributors.jenkins.io): add File Share (#524)
Browse files Browse the repository at this point in the history
This PR adds the File Share that will be used by the nginx-website
release on publick8s cluster to serve on contributors.origin.jenkins.io
the content generated in
https://github.com/jenkins-infra/contributor-spotlight/.

It also rename the storage account resource to be uniform.

Follow-up of #523 

Ref:
-
jenkins-infra/helpdesk#3809 (comment)
  • Loading branch information
lemeurherve authored Nov 23, 2023
1 parent a3a5459 commit 2671f89
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion contributors.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ resource "azurerm_resource_group" "contributors_jenkins_io" {
tags = local.default_tags
}

resource "azurerm_storage_account" "contributorsjenkinsio" {
moved {
from = azurerm_storage_account.contributorsjenkinsio
to = azurerm_storage_account.contributors_jenkins_io
}
resource "azurerm_storage_account" "contributors_jenkins_io" {
name = "contributorsjenkinsio"
resource_group_name = azurerm_resource_group.contributors_jenkins_io.name
location = azurerm_resource_group.contributors_jenkins_io.location
Expand All @@ -26,3 +30,8 @@ resource "azurerm_storage_account" "contributorsjenkinsio" {
tags = local.default_tags
}

resource "azurerm_storage_share" "contributors_jenkins_io" {
name = "contributors-jenkins-io"
storage_account_name = azurerm_storage_account.contributors_jenkins_io.name
quota = 5
}

0 comments on commit 2671f89

Please sign in to comment.