Move Noggin to OCP4 on staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
80b61920c2
commit
5cbf46d3b4
4 changed files with 16 additions and 4 deletions
|
@ -192,6 +192,18 @@
|
||||||
targettype: openshift
|
targettype: openshift
|
||||||
keephost: true
|
keephost: true
|
||||||
tags: noggin
|
tags: noggin
|
||||||
|
when: env != "staging"
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: "accounts{{ env_suffix }}.fedoraproject.org"
|
||||||
|
destname: noggin
|
||||||
|
balancer_name: apps-ocp
|
||||||
|
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
|
||||||
|
targettype: openshift
|
||||||
|
keephost: true
|
||||||
|
ocp4: true
|
||||||
|
tags: noggin
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
- role: httpd/reverseproxy
|
||||||
website: "fasjson{{ env_suffix }}.fedoraproject.org"
|
website: "fasjson{{ env_suffix }}.fedoraproject.org"
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
- ocp4: true
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: openshift/project
|
- role: openshift/project
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- name: make the app be real
|
- name: make the app be real
|
||||||
hosts: os_masters[0]:os_masters_stg[0]
|
hosts: os_masters[0]:os_control_stg[0]
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,9 @@ spec:
|
||||||
sourceStrategy:
|
sourceStrategy:
|
||||||
from:
|
from:
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
kind: DockerImage
|
kind: ImageStreamTag
|
||||||
name: registry.access.redhat.com/ubi8/python-39
|
name: python:3.9-ubi8
|
||||||
|
namespace: openshift
|
||||||
{% else %}
|
{% else %}
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: python:3.6
|
name: python:3.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue