forked from infra/ansible
Rebase Badges on python 3.13 (from 3.10)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
331eae63d7
commit
26b81b373d
3 changed files with 17 additions and 12 deletions
|
|
@ -11,11 +11,11 @@ items:
|
|||
kind: ImageStream
|
||||
metadata:
|
||||
name: tahrir
|
||||
# The Python 3.10 builder image
|
||||
# The Python 3.13 builder image
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: python-310
|
||||
name: python-313
|
||||
spec:
|
||||
lookupPolicy:
|
||||
local: false
|
||||
|
|
@ -23,16 +23,16 @@ items:
|
|||
- name: latest
|
||||
from:
|
||||
kind: DockerImage
|
||||
name: quay.io/fedora/python-310:latest
|
||||
name: quay.io/fedora/python-313:latest
|
||||
importPolicy:
|
||||
scheduled: true
|
||||
referencePolicy:
|
||||
type: Source
|
||||
# The Python 3.10 builder image plus custom packages
|
||||
# The Python 3.13 builder image plus custom packages
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: python-310-custom-builder
|
||||
name: python-313-custom-builder
|
||||
# Redis (for caching)
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
apiVersion: build.openshift.io/v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
name: python-310-custom-builder
|
||||
name: python-313-custom-builder
|
||||
labels:
|
||||
app: badges
|
||||
build: python-310-custom-builder
|
||||
build: python-313-custom-builder
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
source:
|
||||
|
|
@ -18,11 +18,11 @@ spec:
|
|||
dockerStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310:latest
|
||||
name: python-313:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: python-310-custom-builder:latest
|
||||
name: python-313-custom-builder:latest
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
---
|
||||
|
|
@ -46,7 +46,7 @@ spec:
|
|||
sourceStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310-custom-builder:latest
|
||||
name: python-313-custom-builder:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
|
|
@ -81,7 +81,12 @@ spec:
|
|||
sourceStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310-custom-builder:latest
|
||||
name: python-313-custom-builder:latest
|
||||
env:
|
||||
# The .s2i/bin/assemble script uses this to build the frontend with the
|
||||
# correct API and Ipsilon addresses.
|
||||
- name: FEDORA_ENV
|
||||
value: "{{ env }}"
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Frontend component (Python/Pyramid served by gunicorn)
|
||||
# Frontend component (Python/Flask served by gunicorn)
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue