qa-landing: Move the project under the blockerbugs app
This commit is contained in:
parent
24fdee43d5
commit
272f488d23
10 changed files with 113 additions and 114 deletions
|
@ -93,6 +93,15 @@
|
||||||
serviceport: 8080-tcp
|
serviceport: 8080-tcp
|
||||||
servicename: blockerbugs
|
servicename: blockerbugs
|
||||||
|
|
||||||
|
- role: openshift/route
|
||||||
|
app: blockerbugs
|
||||||
|
routename: qa-landing
|
||||||
|
host: "qa{{ env_suffix }}.fedoraproject.org"
|
||||||
|
serviceport: 8080-tcp
|
||||||
|
servicename: qa-landing
|
||||||
|
annotations:
|
||||||
|
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||||
|
|
||||||
- role: openshift/start-build
|
- role: openshift/start-build
|
||||||
app: blockerbugs
|
app: blockerbugs
|
||||||
buildname: blockerbugs-build
|
buildname: blockerbugs-build
|
||||||
|
|
|
@ -120,15 +120,6 @@
|
||||||
annotations:
|
annotations:
|
||||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||||
|
|
||||||
- role: openshift/route
|
|
||||||
app: oraculum
|
|
||||||
routename: qa-landing
|
|
||||||
host: "qa{{ env_suffix }}.fedoraproject.org"
|
|
||||||
serviceport: 8080-tcp
|
|
||||||
servicename: qa-landing
|
|
||||||
annotations:
|
|
||||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
|
||||||
|
|
||||||
- role: openshift/start-build
|
- role: openshift/start-build
|
||||||
app: oraculum
|
app: oraculum
|
||||||
buildname: packager-dashboard-build
|
buildname: packager-dashboard-build
|
||||||
|
|
|
@ -13,4 +13,20 @@ spec:
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
selector:
|
selector:
|
||||||
app: blockerbugs
|
app: blockerbugs
|
||||||
deploymentconfig: blockerbugs
|
deploymentconfig: blockerbugs
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: blockerbugs
|
||||||
|
name: qa-landing
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: 8080-tcp
|
||||||
|
port: 8080
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8080
|
||||||
|
selector:
|
||||||
|
app: blockerbugs
|
||||||
|
deploymentconfig: qa-landing
|
||||||
|
|
|
@ -27,4 +27,37 @@ spec:
|
||||||
name: registry.access.redhat.com/ubi8/python-39
|
name: registry.access.redhat.com/ubi8/python-39
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
|
- type: ImageChange
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: BuildConfig
|
||||||
|
metadata:
|
||||||
|
name: qa-landing-page-build
|
||||||
|
labels:
|
||||||
|
environment: "blockerbugs"
|
||||||
|
spec:
|
||||||
|
output:
|
||||||
|
to:
|
||||||
|
kind: ImageStreamTag
|
||||||
|
name: qa-landing:latest
|
||||||
|
source:
|
||||||
|
type: Git
|
||||||
|
git:
|
||||||
|
uri: 'https://pagure.io/fedora-qa/landingpage.git'
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
ref: 'master'
|
||||||
|
{% else %}
|
||||||
|
ref: 'master'
|
||||||
|
{% endif %}
|
||||||
|
strategy:
|
||||||
|
type: Docker
|
||||||
|
dockerStrategy:
|
||||||
|
dockerfilePath: Dockerfile
|
||||||
|
env:
|
||||||
|
- name: "SUBDIR"
|
||||||
|
value: "/"
|
||||||
|
- name: "API"
|
||||||
|
value: "https://packager-dashboard{{ env_suffix }}.fedoraproject.org/api/v1/"
|
||||||
|
triggers:
|
||||||
|
- type: ConfigChange
|
||||||
- type: ImageChange
|
- type: ImageChange
|
|
@ -112,4 +112,42 @@ spec:
|
||||||
- blockerbugs
|
- blockerbugs
|
||||||
from:
|
from:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: blockerbugs:latest
|
name: blockerbugs:latest
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: DeploymentConfig
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: blockerbugs
|
||||||
|
service: qa-landing
|
||||||
|
name: qa-landing
|
||||||
|
spec:
|
||||||
|
replicas: 1 # Never change this to more or less than ONE!
|
||||||
|
selector:
|
||||||
|
app: blockerbugs
|
||||||
|
deploymentconfig: blockerbugs
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: blockerbugs
|
||||||
|
deploymentconfig: blockerbugs
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: qa-landing
|
||||||
|
image: qa-landing:latest
|
||||||
|
resources: {}
|
||||||
|
env:
|
||||||
|
- name: SUBDIR
|
||||||
|
value: "/"
|
||||||
|
- name: API
|
||||||
|
value: "https://packager-dashboard{{ env_suffix }}.fedoraproject.org/api/v1/"
|
||||||
|
triggers:
|
||||||
|
- type: ConfigChange
|
||||||
|
- type: ImageChange
|
||||||
|
imageChangeParams:
|
||||||
|
automatic: true
|
||||||
|
containerNames:
|
||||||
|
- qa-landing
|
||||||
|
from:
|
||||||
|
kind: ImageStreamTag
|
||||||
|
name: qa-landing:latest
|
|
@ -6,5 +6,20 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
lookupPolicy:
|
lookupPolicy:
|
||||||
local: false
|
local: false
|
||||||
|
status:
|
||||||
|
dockerImageRepository: ""
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ImageStream
|
||||||
|
metadata:
|
||||||
|
name: qa-landing
|
||||||
|
spec:
|
||||||
|
lookupPolicy:
|
||||||
|
local: false
|
||||||
|
tags:
|
||||||
|
- name: latest
|
||||||
|
from:
|
||||||
|
kind: ImageStreamTag
|
||||||
|
name: qa-landing
|
||||||
status:
|
status:
|
||||||
dockerImageRepository: ""
|
dockerImageRepository: ""
|
|
@ -62,19 +62,3 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: oraculum
|
app: oraculum
|
||||||
deploymentconfig: oraculum-frontend
|
deploymentconfig: oraculum-frontend
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: oraculum
|
|
||||||
name: qa-landing
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: 8080-tcp
|
|
||||||
port: 8080
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 8080
|
|
||||||
selector:
|
|
||||||
app: oraculum
|
|
||||||
deploymentconfig: qa-landing
|
|
||||||
|
|
|
@ -59,36 +59,3 @@ spec:
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: BuildConfig
|
|
||||||
metadata:
|
|
||||||
name: qa-landing-page-build
|
|
||||||
labels:
|
|
||||||
environment: "packager-dashboard"
|
|
||||||
spec:
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: ImageStreamTag
|
|
||||||
name: qa-landing:latest
|
|
||||||
source:
|
|
||||||
type: Git
|
|
||||||
git:
|
|
||||||
uri: 'https://pagure.io/fedora-qa/landingpage.git'
|
|
||||||
{% if env == 'staging' %}
|
|
||||||
ref: 'master'
|
|
||||||
{% else %}
|
|
||||||
ref: 'master'
|
|
||||||
{% endif %}
|
|
||||||
strategy:
|
|
||||||
type: Docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: Dockerfile
|
|
||||||
env:
|
|
||||||
- name: "SUBDIR"
|
|
||||||
value: "/"
|
|
||||||
- name: "API"
|
|
||||||
value: "https://packager-dashboard{{ env_suffix }}.fedoraproject.org/api/v1/"
|
|
||||||
triggers:
|
|
||||||
- type: ConfigChange
|
|
||||||
- type: ImageChange
|
|
||||||
|
|
|
@ -430,41 +430,3 @@ spec:
|
||||||
from:
|
from:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: oraculum-frontend:latest
|
name: oraculum-frontend:latest
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: DeploymentConfig
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: oraculum
|
|
||||||
service: qa-landing
|
|
||||||
name: qa-landing
|
|
||||||
spec:
|
|
||||||
replicas: 1 # Never change this to more or less than ONE!
|
|
||||||
selector:
|
|
||||||
app: oraculum
|
|
||||||
deploymentconfig: qa-landing
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: oraculum
|
|
||||||
deploymentconfig: qa-landing
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: qa-landing
|
|
||||||
image: qa-landing:latest
|
|
||||||
resources: {}
|
|
||||||
env:
|
|
||||||
- name: SUBDIR
|
|
||||||
value: "/"
|
|
||||||
- name: API
|
|
||||||
value: "https://packager-dashboard{{ env_suffix }}.fedoraproject.org/api/v1/"
|
|
||||||
triggers:
|
|
||||||
- type: ConfigChange
|
|
||||||
- type: ImageChange
|
|
||||||
imageChangeParams:
|
|
||||||
automatic: true
|
|
||||||
containerNames:
|
|
||||||
- qa-landing
|
|
||||||
from:
|
|
||||||
kind: ImageStreamTag
|
|
||||||
name: qa-landing:latest
|
|
||||||
|
|
|
@ -45,19 +45,3 @@ spec:
|
||||||
from:
|
from:
|
||||||
kind: DockerImage
|
kind: DockerImage
|
||||||
name: quay.io/fzatlouk/packager-dashboard:latest
|
name: quay.io/fzatlouk/packager-dashboard:latest
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: qa-landing
|
|
||||||
spec:
|
|
||||||
lookupPolicy:
|
|
||||||
local: false
|
|
||||||
tags:
|
|
||||||
- name: latest
|
|
||||||
from:
|
|
||||||
kind: ImageStreamTag
|
|
||||||
name: qa-landing
|
|
||||||
status:
|
|
||||||
dockerImageRepository: ""
|
|
||||||
---
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue