openshift: drop a bunch of old playbooks for apps we no longer run
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
8d3c180496
commit
e57319a8c9
8 changed files with 0 additions and 461 deletions
|
@ -1,55 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters_stg[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: accountsystem
|
|
||||||
description: CAIAPI and Noggin
|
|
||||||
appowners:
|
|
||||||
- puiterwijk
|
|
||||||
- role: openshift/imagestream
|
|
||||||
app: accountsystem
|
|
||||||
imagename: caiapi
|
|
||||||
- role: openshift/imagestream
|
|
||||||
app: accountsystem
|
|
||||||
imagename: noggin
|
|
||||||
- role: openshift/object
|
|
||||||
app: accountsystem
|
|
||||||
objectname: buildconfig_caiapi.yml
|
|
||||||
template: buildconfig_caiapi.yml
|
|
||||||
- role: openshift/start-build
|
|
||||||
app: accountsystem
|
|
||||||
buildname: caiapi-build
|
|
||||||
- role: openshift/object
|
|
||||||
app: accountsystem
|
|
||||||
template: configmap_caiapi.yml
|
|
||||||
objectname: configmap_caiapi.yml
|
|
||||||
- role: openshift/secret-file
|
|
||||||
app: accountsystem
|
|
||||||
key: oidc
|
|
||||||
secret_name: oidc
|
|
||||||
privatefile: "caiapi/{{env}}/oidc.json"
|
|
||||||
- role: openshift/object
|
|
||||||
app: accountsystem
|
|
||||||
file: service_caiapi.yml
|
|
||||||
objectname: service_caiapi.yml
|
|
||||||
- role: openshift/route
|
|
||||||
app: accountsystem
|
|
||||||
routename: caiapi
|
|
||||||
host: "caiapi{{ env_suffix }}.fedoraproject.org"
|
|
||||||
servicename: caiapi
|
|
||||||
serviceport: 8080
|
|
||||||
- role: openshift/object
|
|
||||||
app: accountsystem
|
|
||||||
file: deploymentconfig_caiapi.yml
|
|
||||||
objectname: deploymentconfig_caiapi.yml
|
|
||||||
- role: openshift/rollout
|
|
||||||
app: accountsystem
|
|
||||||
dcname: caiapi
|
|
|
@ -1,44 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters_stg[0]:os_masters[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
description: Cron job syncing to bugzilla the default assignee and CC list set in dist-git
|
|
||||||
appowners:
|
|
||||||
- cverna
|
|
||||||
- pingou
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
template: imagestream.yml
|
|
||||||
objectname: imagestream.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
template: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
template: configmap.yml
|
|
||||||
objectname: configmap.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
template: cron.yml
|
|
||||||
objectname: cron.yml
|
|
||||||
tags:
|
|
||||||
- cron-job
|
|
||||||
|
|
||||||
- role: openshift/start-build
|
|
||||||
app: distgit-bugzilla-sync
|
|
||||||
buildname: distgit-bugzilla-sync-build
|
|
||||||
objectname: distgit-bugzilla-sync-build
|
|
|
@ -1,53 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
vars:
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: fas-changes
|
|
||||||
description: "Get last changed users in FAS"
|
|
||||||
appowners:
|
|
||||||
- abompard
|
|
||||||
tags:
|
|
||||||
- apply-appowners
|
|
||||||
|
|
||||||
- role: openshift/imagestream
|
|
||||||
app: fas-changes
|
|
||||||
imagename: fas-changes
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: fas-changes
|
|
||||||
template: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: fas-changes
|
|
||||||
template: configmap.yml
|
|
||||||
objectname: configmap.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: fas-changes
|
|
||||||
file: service.yml
|
|
||||||
objectname: service.yml
|
|
||||||
|
|
||||||
- role: openshift/route
|
|
||||||
app: fas-changes
|
|
||||||
routename: fas-changes
|
|
||||||
host: "fas-changes.app.os{{ env_suffix }}.fedoraproject.org"
|
|
||||||
serviceport: web
|
|
||||||
servicename: fas-changes
|
|
||||||
annotations:
|
|
||||||
haproxy.router.openshift.io/timeout: 5m
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: fas-changes
|
|
||||||
template: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
|
@ -1,80 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters[0]:os_masters_stg[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
- /srv/web/infra/ansible/roles/openshift-apps/ipsilon/vars/build.yml
|
|
||||||
|
|
||||||
vars:
|
|
||||||
ipsilon_db_host: "db-fas01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
|
|
||||||
|
|
||||||
pre_tasks:
|
|
||||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: ipsilon
|
|
||||||
description: ipsilon
|
|
||||||
appowners:
|
|
||||||
- puiterwijk
|
|
||||||
- pingou
|
|
||||||
allow_fas_db: true
|
|
||||||
tags:
|
|
||||||
- apply-appowners
|
|
||||||
|
|
||||||
- role: openshift/keytab
|
|
||||||
app: ipsilon
|
|
||||||
key: service.keytab
|
|
||||||
secret_name: ipsilon-keytab
|
|
||||||
service: HTTP
|
|
||||||
host: "id{{ env_suffix }}.fedoraproject.org"
|
|
||||||
|
|
||||||
- role: openshift/ipa-client
|
|
||||||
app: ipsilon
|
|
||||||
|
|
||||||
- role: openshift/imagestream
|
|
||||||
app: ipsilon
|
|
||||||
imagename: ipsilon
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: ipsilon
|
|
||||||
template: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: ipsilon
|
|
||||||
template_fullpath: "{{roles_path}}/ipsilon/templates/configmap.yml"
|
|
||||||
objectname: configmap.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: ipsilon
|
|
||||||
file: service.yml
|
|
||||||
objectname: service.yml
|
|
||||||
|
|
||||||
- role: openshift/route
|
|
||||||
app: ipsilon
|
|
||||||
routename: ipsilon
|
|
||||||
host: "id{{ env_suffix }}.fedoraproject.org"
|
|
||||||
serviceport: web
|
|
||||||
servicename: ipsilon
|
|
||||||
|
|
||||||
- role: openshift/route
|
|
||||||
app: ipsilon
|
|
||||||
routename: ipsilon-userid
|
|
||||||
host: "username.id{{ env_suffix }}.fedoraproject.org"
|
|
||||||
wildcardpolicy: Subdomain
|
|
||||||
serviceport: web
|
|
||||||
servicename: ipsilon
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: ipsilon
|
|
||||||
template: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/rollout
|
|
||||||
app: ipsilon
|
|
||||||
dcname: ipsilon
|
|
|
@ -1,75 +0,0 @@
|
||||||
- name: setup the database
|
|
||||||
hosts: db01.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org
|
|
||||||
gather_facts: no
|
|
||||||
become: yes
|
|
||||||
become_user: postgres
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- /srv/private/ansible/vars.yml
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
- name: kerneltest DB user
|
|
||||||
postgresql_user:
|
|
||||||
name: "{{ (env == 'production')|ternary(kerneltest_db_user,kerneltest_stg_db_user) }}"
|
|
||||||
password: "{{ (env == 'production')|ternary(kerneltest_db_pass,kerneltest_stg_db_pass) }}"
|
|
||||||
- name: kerneltest database creation
|
|
||||||
postgresql_db:
|
|
||||||
name: "{{ kerneltest_db_name }}"
|
|
||||||
owner: "{{ (env == 'production')|ternary(kerneltest_db_user,kerneltest_stg_db_user) }}"
|
|
||||||
encoding: UTF-8
|
|
||||||
|
|
||||||
|
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters_stg[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
pre_tasks:
|
|
||||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: kerneltest
|
|
||||||
description: kerneltest
|
|
||||||
appowners:
|
|
||||||
- pingou
|
|
||||||
tags:
|
|
||||||
- apply-appowners
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: kerneltest
|
|
||||||
file: imagestream.yml
|
|
||||||
objectname: imagestream.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: kerneltest
|
|
||||||
template: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: kerneltest
|
|
||||||
file: service.yml
|
|
||||||
objectname: service.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: kerneltest
|
|
||||||
template: configmap.yml
|
|
||||||
objectname: configmap.yml
|
|
||||||
|
|
||||||
- role: openshift/route
|
|
||||||
app: kerneltest
|
|
||||||
routename: kerneltest
|
|
||||||
host: "kerneltest{{ env_suffix }}.fedoraproject.org"
|
|
||||||
serviceport: web
|
|
||||||
servicename: kerneltest-web
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: kerneltest
|
|
||||||
file: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
|
@ -1,59 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
#hosts: os_masters[0]:os_masters_stg[0]
|
|
||||||
hosts: os_masters_stg[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: sanitarium
|
|
||||||
description: sanitarium
|
|
||||||
appowners:
|
|
||||||
- codeblock
|
|
||||||
- puiterwijk
|
|
||||||
- role: openshift/secret-file
|
|
||||||
app: sanitarium
|
|
||||||
key: intermediate
|
|
||||||
secret_name: intermediate
|
|
||||||
privatefile: "sanitarium/intermediate.{{env_short}}.key"
|
|
||||||
- role: openshift/secret-file
|
|
||||||
app: sanitarium
|
|
||||||
key: signer
|
|
||||||
secret_name: signer
|
|
||||||
privatefile: "sanitarium/signer.{{env_short}}"
|
|
||||||
- role: openshift/object
|
|
||||||
app: sanitarium
|
|
||||||
objectname: secret.yml
|
|
||||||
template: secret.yml
|
|
||||||
- role: openshift/imagestream
|
|
||||||
app: sanitarium
|
|
||||||
imagename: sanitarium
|
|
||||||
- role: openshift/object
|
|
||||||
app: sanitarium
|
|
||||||
file: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
- role: openshift/start-build
|
|
||||||
app: sanitarium
|
|
||||||
buildname: sanitarium
|
|
||||||
- role: openshift/object
|
|
||||||
app: sanitarium
|
|
||||||
file: service.yml
|
|
||||||
objectname: service.yml
|
|
||||||
- role: openshift/route
|
|
||||||
app: sanitarium
|
|
||||||
routename: sanitarium
|
|
||||||
host: sanitarium-sanitarium.app.os{{env_suffix}}.fedoraproject.org
|
|
||||||
serviceport: web
|
|
||||||
servicename: sanitarium
|
|
||||||
- role: openshift/object
|
|
||||||
app: sanitarium
|
|
||||||
template: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
||||||
- role: openshift/rollout
|
|
||||||
app: sanitarium
|
|
||||||
dcname: sanitarium
|
|
|
@ -1,50 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters_stg[0]:os_masters
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: simple-koji-ci
|
|
||||||
description: Do a scratch build on PRs opened on dist-git
|
|
||||||
appowners:
|
|
||||||
- cverna
|
|
||||||
- pingou
|
|
||||||
|
|
||||||
- role: openshift/keytab
|
|
||||||
app: simple-koji-ci
|
|
||||||
key: simple-koji-ci-keytab
|
|
||||||
secret_name: simple-koji-ci-keytab
|
|
||||||
service: simple-koji-ci
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: simple-koji-ci
|
|
||||||
template: imagestream.yml
|
|
||||||
objectname: imagestream.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: simple-koji-ci
|
|
||||||
template: buildconfig.yml
|
|
||||||
objectname: buildconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: simple-koji-ci
|
|
||||||
template: configmap.yml
|
|
||||||
objectname: configmap.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: simple-koji-ci
|
|
||||||
template: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/start-build
|
|
||||||
app: simple-koji-ci
|
|
||||||
buildname: simple-koji-ci-build
|
|
||||||
objectname: simple-koji-ci-build
|
|
||||||
tags:
|
|
||||||
- build
|
|
|
@ -1,45 +0,0 @@
|
||||||
- name: make the app be real
|
|
||||||
hosts: os_masters_stg[0]
|
|
||||||
user: root
|
|
||||||
gather_facts: False
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
vars:
|
|
||||||
sso_db_host: "db-fas01{{ env_suffix }}.phx2.fedoraproject.org"
|
|
||||||
sso_db_user: "sso"
|
|
||||||
sso_db_name: "sso"
|
|
||||||
|
|
||||||
pre_tasks:
|
|
||||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: openshift/project
|
|
||||||
app: sso
|
|
||||||
description: sso
|
|
||||||
appowners:
|
|
||||||
- puiterwijk
|
|
||||||
allow_fas_db: true
|
|
||||||
- role: openshift/keytab
|
|
||||||
app: sso
|
|
||||||
key: sso-keytab
|
|
||||||
secret_name: sso-keytab
|
|
||||||
service: HTTP
|
|
||||||
host: "sso{{ env_suffix }}.fedoraproject.org"
|
|
||||||
- role: openshift/route
|
|
||||||
app: sso
|
|
||||||
routename: sso
|
|
||||||
host: "sso{{ env_suffix }}.fedoraproject.org"
|
|
||||||
serviceport: web
|
|
||||||
servicename: sso
|
|
||||||
termination_reencrypt: true
|
|
||||||
- role: openshift/object
|
|
||||||
app: sso
|
|
||||||
template: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
||||||
- role: openshift/rollout
|
|
||||||
app: sso
|
|
||||||
dcname: sso
|
|
Loading…
Add table
Add a link
Reference in a new issue