-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexternalvariables.yml
31 lines (28 loc) · 2.2 KB
/
externalvariables.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
# External Variable Required to build an instance of Jenkins via Vagrant. These are dummy values
# only and should NOT contain real secrets!
env: sandbox
Jhostname: jhostname
#Get Values from Azure Vault
github_apikey: "{{ lookup('azure_keyvault', 'secret_name=github-apikey vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
github_enterprise_apikey: "{{ lookup('azure_keyvault', 'secret_name=github-enterprise-apikey vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
pipelinemetrics_cosmosdb_key: "{{ lookup('azure_keyvault', 'secret_name=OWASPDb-Password vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
owaspdb_password: "{{ lookup('azure_keyvault', 'secret_name=pipelinemetrics-cosmosdb-key vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
sauce_password: "{{ lookup('azure_keyvault', 'secret_name=sauce-access-key vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
hmcts_github_apikey: "{{ lookup('azure_keyvault', 'secret_name=hmcts-github-apikey vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
slack_token: "{{ lookup('azure_keyvault', 'secret_name=slack-token vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
slack_credential_id: "{{ lookup('azure_keyvault', 'secret_name=github-apikey vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
sonar_api_key: "{{ lookup('azure_keyvault', 'secret_name=sonar-api-key vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
hashicorp_vault_token: "{{ lookup('azure_keyvault', 'secret_name=hashicorp-vault-token vault_uri=https://infra-vault-sandbox.vault.azure.net/') }}"
buildlog_sa_name: "blah"
buildlog_sa_key: "blah"
jenkins_agent_env: sandbox
jenkins_agent_location: UK South
jenkins_agent_image_uri: www.example.com
jenkins_agent_password: mypass123
jenkins_agent_virtual_net: vnet1
jenkins_agent_net_rg: vnet1-RG
jenkins_agent_subnet: subnet1
jenkins_agent_executors: 2
jenkins_agent_vm_creds: mycred
jvm_options: "-Xms1G -Xmx2G -XX:+UseG1GC -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -XX:+AlwaysPreTouch -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1"