Merge ~cjwatson/launchpad-mojo-specs:git-dogfood into launchpad-mojo-specs:master

Proposed by Colin Watson
Status: Merged
Merged at revision: 3fb4af3951aa5a2f08ded3ecfe62c653bc75d6f2
Proposed branch: ~cjwatson/launchpad-mojo-specs:git-dogfood
Merge into: launchpad-mojo-specs:master
Diff against target: 49 lines (+27/-0)
2 files modified
lp-git/bundle.yaml (+24/-0)
lp-git/predeploy (+3/-0)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+422973@code.launchpad.net

Commit message

git: Add a dogfood stage

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

Self-approving, as this is basically just a fairly obvious collection of settings and I'll sort out anything that goes wrong while deploying it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lp-git/bundle.yaml b/lp-git/bundle.yaml
2index 5d4ddea..434f7be 100644
3--- a/lp-git/bundle.yaml
4+++ b/lp-git/bundle.yaml
5@@ -81,6 +81,30 @@
6 {%- set turnip_celery_num_units = 2 %}
7 {%- set turnip_pack_num_units = 2 %}
8 {%- set virtinfo_endpoint = "http://xmlrpc.qastaging.lp.internal:9097/git" %}
9+{%- elif stage_name == "dogfood" %}
10+{%- set authentication_endpoint = "http://xmlrpc.dogfood.lp.internal:9097/authserver" %}
11+{%- set devel = False %}
12+{%- set git_constraints = "cores=2 mem=8192M root-disk=50G root-disk-source=volume" %}
13+{%- set haproxy_constraints = "cores=2 mem=2048M root-disk-source=volume" %}
14+{%- set log_hosts_allow = "carob.canonical.com" %}
15+{%- set main_site_root = "https://dogfood.paddev.net/" %}
16+{%- set monitoring_allowed_cidr = "127.0.0.1/32 10.172.0.0/16" %}
17+{%- set nagios_context = "lp-stagingstack-git-dogfood" %}
18+{%- set nagios_e2e_urls_git = "git://git.dogfood.paddev.net/launchpad" %}
19+{%- set nagios_e2e_urls_http = "https://git.dogfood.paddev.net/launchpad" %}
20+{%- set nagios_hostgroups = "stagingstack-lp" %}
21+{%- set nagios_master = "devops-nagios.ps5.internal" %}
22+{%- set nfs_constraints = "cores=2 mem=8192M root-disk-source=volume" %}
23+{%- set openid_provider_root = "https://login.launchpad.net/" %}
24+{%- set rabbitmq_constraints = "cores=2 mem=2048M root-disk-source=volume" %}
25+{%- set site_name = "git.dogfood.paddev.net" %}
26+{%- set stage_type = "dogfood" %}
27+{%- set statsd_environment = "dogfood" %}
28+{%- set turku_api_url = "https://turku.ps5.canonical.com/v1" %}
29+{%- set turku_environment_name = "stagingstack-lp-git-dogfood" %}
30+{%- set turnip_celery_num_units = 2 %}
31+{%- set turnip_pack_num_units = 2 %}
32+{%- set virtinfo_endpoint = "http://xmlrpc.dogfood.lp.internal:9097/git" %}
33 {%- else %}
34 {%- set authentication_endpoint = "http://xmlrpc-private.launchpad.test:8087/authserver" %}
35 {%- set devel = True %}
36diff --git a/lp-git/predeploy b/lp-git/predeploy
37index f098a42..04162d9 100755
38--- a/lp-git/predeploy
39+++ b/lp-git/predeploy
40@@ -91,6 +91,9 @@ case "${MOJO_STAGE##*/}" in
41 qastaging|qastaging-ps5)
42 AUTOCERT_HOSTNAME=git.qastaging.paddev.net
43 ;;
44+ dogfood)
45+ AUTOCERT_HOSTNAME=git.dogfood.paddev.net
46+ ;;
47 production|production-ps5)
48 AUTOCERT_HOSTNAME=git.launchpad.net
49 ;;

Subscribers

People subscribed via source and target branches