mote_v2: deploy to prod

This commit is contained in:
Francois Andrieu 2022-06-26 18:02:33 +02:00 committed by kevin
parent d4a57b0404
commit 3749d306a2
3 changed files with 12 additions and 16 deletions

View file

@ -100,10 +100,12 @@
- role: httpd/reverseproxy - role: httpd/reverseproxy
website: meetbot.fedoraproject.org website: meetbot.fedoraproject.org
destname: mote destname: mote
#remotepath: /mote/ balancer_name: app-os
# Talk directly to the app server, not haproxy balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
proxyurl: http://value01 targettype: openshift
when: env != "staging" ocp4: true
keephost: true
tags: mote
# The place for the raw originals # The place for the raw originals
- role: httpd/reverseproxy - role: httpd/reverseproxy
@ -114,15 +116,6 @@
proxyurl: http://value02 proxyurl: http://value02
when: env == "staging" when: env == "staging"
# The place for the fancy mote view
- role: httpd/reverseproxy
website: meetbot.fedoraproject.org
destname: mote
#remotepath: /mote/
# Talk directly to the app server, not haproxy
proxyurl: http://value02
when: env == "staging"
- role: httpd/reverseproxy - role: httpd/reverseproxy
website: apps.fedoraproject.org website: apps.fedoraproject.org
destname: nuancier destname: nuancier

View file

@ -1,5 +1,5 @@
- name: make the app be real - name: make the app be real
hosts: os_control_stg[0] hosts: os_control[0]:os_control_stg[0]
user: root user: root
gather_facts: False gather_facts: False
vars: vars:
@ -68,6 +68,9 @@
routename: mote routename: mote
serviceport: mote-tcp serviceport: mote-tcp
servicename: mote servicename: mote
host: "meetbot{{ env_suffix }}.fedoraproject.org"
annotations:
haproxy.router.openshift.io/set-forwarded-headers: append
- role: openshift/start-build - role: openshift/start-build
buildname: mote buildname: mote

View file

@ -13,8 +13,8 @@ spec:
runPolicy: Serial runPolicy: Serial
source: source:
git: git:
ref: cal_theme ref: main
uri: https://github.com/darknao/mote.git uri: https://github.com/fedora-infra/mote.git
type: Git type: Git
strategy: strategy:
type: Docker type: Docker