feat(reports.jenkins.io) Track the reports.jenkins.io bucket as per helpdesk 3087 (#205)

* chore(shared-tools) bump to latest version

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* docs(README) fix Asciidoctor titles

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* chore(updatecli) update manifest for 0.33.x

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* feat(reports.jenkins.io) track reports.jenkins.io bucket

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* Apply suggestions from code review

* Update reports.jenkins.io.tf

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Co-authored-by: Hervé Le Meur <91831478+lemeurherve@users.noreply.github.com>
pull/206/head
Damien Duportal 6 months ago committed by GitHub
parent b7fe7ac9e2
commit 1dc9b7bff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit 0c7b9909f841c41f3e02ef6360056c2933fdd47e
Subproject commit 47481201b97bc4d7115eaaa7b18fb97797e5fad9

@ -10,7 +10,7 @@ This repository is meant to hold documentation, tooling and other resources
related to the link:https://jenkins.io[Jenkins] project's migration to
link:https://azure.com[Azure].
= Requirements
== Requirements
In order to use this repository to provision the Jenkins infrastructure on azure, you need:
@ -18,9 +18,9 @@ In order to use this repository to provision the Jenkins infrastructure on azure
* `Docker` to run terraform defined in this repository
* `Make` which simplify the different steps
= HowTo
== HowTo
== Provision
=== Provision
IMPORTANT: Don't blindly execute the terraform code located in this repository on your own account as it may lead your account bill to significantly increase.
@ -33,7 +33,7 @@ Once you fulfill the requirements, you can use the code located here to provisio
. Run `make deploy`: to provision all resources on your account.
== Test
=== Test
In order to test any modification on this repository, you need to
@ -41,7 +41,7 @@ In order to test any modification on this repository, you need to
* You may also run make validate, if you have an azure account configured but keep in minds that it implies deploying at least an azure storage to store a remote terraform state
* Open a pull request on link:https://github.com/jenkins-infra/azure[jenkins-infra/azure], this will provision a temporary environment with your specific changes and then report provisionning logs on link:https://ci.jenkins.io/blue/organizations/jenkins/Infra%2Fazure/pr[ci.jenkins.io].
= Links
== Links
* link:https://github.com/jenkins-infra/jenkins-infra[Puppet repository]
* link:https://p.datadoghq.com/sb/0Igb9a-a5ff8c4199[Public Datadog Dashboard]

@ -0,0 +1,29 @@
## This file contains the resources associated to the buckets used to store private and public reports
resource "azurerm_resource_group" "prod_reports" {
name = "prod-reports"
location = var.location
tags = {
scope = "terraform-managed"
}
}
resource "azurerm_storage_account" "prodjenkinsreports" {
name = "prodjenkinsreports"
resource_group_name = azurerm_resource_group.prod_reports.name
location = azurerm_resource_group.prod_reports.location
account_tier = "Standard"
account_replication_type = "GRS"
account_kind = "Storage"
enable_https_traffic_only = true
min_tls_version = "TLS1_2"
custom_domain {
name = "reports.jenkins.io"
use_subdomain = false
}
tags = {
scope = "terraform-managed"
}
}

@ -1,4 +1,4 @@
title: "Bump Terraform plugins - not modules"
name: "Bump Terraform providers - not modules"
scms:
default:
@ -15,6 +15,7 @@ scms:
sources:
getLatestLockFileContent:
kind: shell
name: Generate an up-to-date terraform lock file
spec:
command: bash ./updatecli/scripts/terraform-get-upgraded-lockfile.sh ./
@ -31,8 +32,7 @@ pullrequests:
default:
kind: github
scmid: default
targets:
- upgradeActualLockFile
spec:
labels:
- dependencies
- terraform-providers

Loading…
Cancel
Save