Migrate FASJSON to OCP4 in prod

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-05-16 13:22:27 +02:00
parent 6c6792a231
commit b57ec0f90a
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
4 changed files with 10 additions and 14 deletions

View file

@ -193,16 +193,8 @@
targettype: openshift
keephost: true
ocp4: true
tags: noggin
- role: httpd/reverseproxy
website: "fasjson{{ env_suffix }}.fedoraproject.org"
destname: fasjson
balancer_name: app-os
targettype: openshift
keephost: true
tags: fasjson
when: env != "staging"
tags:
- noggin
- role: httpd/reverseproxy
website: "fasjson{{ env_suffix }}.fedoraproject.org"
@ -212,8 +204,8 @@
targettype: openshift
keephost: true
ocp4: true
tags: fasjson
when: env == "staging"
tags:
- fasjson
- role: httpd/reverseproxy
website: "id{{ env_suffix }}.fedoraproject.org"

View file

@ -292,6 +292,8 @@
site_name: "accounts{{ env_suffix }}.fedoraproject.org"
sslonly: true
cert_name: "{{wildcard_cert_name}}"
tags:
- noggin
- role: httpd/website
site_name: "fasjson{{ env_suffix }}.fedoraproject.org"

View file

@ -1,5 +1,5 @@
- name: make the app be real
hosts: os_masters[0]:os_control_stg[0]
hosts: os_control[0]:os_control_stg[0]
user: root
gather_facts: False

View file

@ -1,4 +1,5 @@
FROM fedora:34
# Switch to F36 when this PR is shipped: https://github.com/python-ldap/python-ldap/pull/458
FROM fedora:35
LABEL \
name="fasjson" \
vendor="Fedora Infrastructure" \
@ -10,6 +11,7 @@ RUN dnf install -y \
git \
ipa-client \
gcc \
redhat-rpm-config \
python-devel \
krb5-devel \
openldap-devel \