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
Hervé Le Meur e77971b791
chore: CIDR format for allowed admin IPs (#265)
5 days ago
.shared-tools@5e7af9ca6e Cleanup: migrate privatek8s subnet to jenkins-infra/azure-net (#251) 1 month ago
updatecli feat(reports.jenkins.io) Track the reports.jenkins.io bucket as per helpdesk 3087 (#205) 4 months ago
.gitignore fix(pgsql-subnet) add explicit definition for the automatic action 9 months ago
.gitmodules breaking: re-boostrap the repository on a clean state with the 2022 terraform tooling 11 months ago
.terraform.lock.hcl [updatecli] Update the content of the Terraform lock file to upgrade terraform providers (#259) 6 days ago
CODEOWNERS chore: add "terraform" and "kubernetes" teams to CODEOWNERS 11 months ago
Jenkinsfile_k8s Revert "chore: temporary disable the terraform part" (#217) 2 months ago
LICENSE Initial commit 7 years ago
README.adoc chore: add reference to jenkins-infra/azure-net in the README (#230) 2 months ago
archives.tf chore: temporary ignore postgresql resources (#260) 6 days ago
backend.tf breaking: re-boostrap the repository on a clean state with the 2022 terraform tooling 11 months ago
dns.tf feat: add privatek8s cluster (#214) 2 months ago
keycloak.jenkins.io.tf chore: temporary ignore postgresql resources (#260) 6 days ago
locals.tf cleanup: remove `temp-privatek8s` remaining references (#262) 6 days ago
packer-resources.tf Fix/add tag on gallery imgs (#195) 8 months ago
pgsql.tf fix(public-pgsql) ensure that network links are created BEFORE dealing with pgsql resources and providers (#185) 10 months ago
plugin-health.jenkins.io.tf chore: temporary ignore postgresql resources (#260) 6 days ago
privatek8s.tf chore: CIDR format for allowed admin IPs (#265) 5 days ago
providers.tf chore: temporary ignore postgresql resources (#260) 6 days ago
rating.jenkins.io.tf chore: temporary ignore postgresql resources (#260) 6 days ago
reports.jenkins.io.tf feat(reports.jenkins.io) Track the reports.jenkins.io bucket as per helpdesk 3087 (#205) 4 months ago
variables.tf cleanup: hardcode kubernetes version (#264) 6 days ago
versions.tf feat(privatek8s): add `managed-csi-premium-retain` storage class (#223) 2 months ago
vnets-nsg.tf feat(public-pgsql) add a postgresql flexible server instance for the public applications (#178) 10 months ago
vnets.tf cleanup: remove `temp-privatek8s` remaining references (#262) 6 days ago

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>