You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Stéphane MERLE 583ce0ee19
feat(shared image gallery): add an arm64 gallery for ubuntu 20.04 (#319)
9 hours ago
.shared-tools@ca5c153508 feat: track ci.jenkins.io agent resources (#311) 3 days ago
updatecli chore(updatecli) fix deprecated syntax for 0.47.x line (#298) 2 weeks ago
.gitignore
.gitmodules
.terraform.lock.hcl [updatecli] Update the content of the Terraform lock file to upgrade terraform providers (#318) 10 hours ago
CODEOWNERS
Jenkinsfile_k8s
LICENSE
README.adoc
archives.tf
backend.tf
cert.ci.jenkins.io.tf feat: track ci.jenkins.io agent resources (#311) 3 days ago
ci.jenkins.io.tf more hotfixes on ci.j 3 days ago
custom-roles.tf more hotfixes on ci.j 3 days ago
dns.tf [updatecli] Update the content of the Terraform lock file to upgrade terraform providers (#299) 1 week ago
infra.ci.jenkins.io.tf feat: track ci.jenkins.io agent resources (#311) 3 days ago
keycloak.jenkins.io.tf
locals.tf feat(shared image gallery): add an arm64 gallery for ubuntu 20.04 (#319) 9 hours ago
main.tf fix(cert,packer) Fix the role assignement scopes to avoid re-creating on each apply (#297) 2 weeks ago
packer-resources.tf fix(cert,packer) Fix the role assignement scopes to avoid re-creating on each apply (#297) 2 weeks ago
pgsql.tf
plugin-health.jenkins.io.tf
privatek8s.tf feat(privatek8s): dedicated subnet for the release.ci node pools (#302) 1 week ago
providers.tf feat: track ci.jenkins.io agent resources (#311) 3 days ago
publick8s.tf
rating.jenkins.io.tf
reports.jenkins.io.tf
trusted.ci.jenkins.io.tf feat(trusted): restricting Service Principal scope to his resourceGroup (#317) 15 hours ago
variables.tf
versions.tf
vnets-nsg.tf
vnets.tf

README.adoc

<html lang="en"> <head> </head>

Jenkins infra on Azure

Table of Contents

This repository hosts the infrastructure-as-code definition for all the Azure hosted resources for the Jenkins Infrastructure Project.

See also https://github.com/jenkins-infra/azure-net for all global network related resources.

Requirements

In order to use this repository to provision the Jenkins infrastructure on azure, you need:

git submodule update --init --recursive

HowTo

Provision

Dont blindly execute the terraform code located in this repository on your own account as it may lead your account bill to significantly increase.

Once youve fulfilled the Requirements, you may execute any command from https://github.com/jenkins-infra/shared-tools/blob/main/terraform/README.adoc#available-commands by adding the correct flag --directory pointing to .shared-tools/terraform/:

make --directory=.shared-tools/terraform help
make --directory=.shared-tools/terraform lint
# ...

A usual change to this repository looks like the following:

  • Fork the repository and clone it locally

  • Follow the Requirements steps to obtain the shared tools

  • Start by running a full make --directory=.shared-tools/terraform validate command to ensure that you work on a sane base (should generate a report TXT file with no changes to be applied)

  • Edit the Terraform project files

  • Run the command make --directory=.shared-tools/terraform validate again to ensure that your changes are OK

  • Commit, push and open a pull request to let the Jenkins pipeline run the test + plan (as per https://github.com/jenkins-infra/shared-tools/blob/main/terraform/README.adoc#jenkins-pipeline)

</html>