forked from infra/ansible
Move mirrormanager to the Python 3.14 image
The Python 3.11 image is no longer updated on quay.io Fixes: infra/tickets#13300
This commit is contained in:
parent
451ce29956
commit
18dc8053f7
3 changed files with 15 additions and 14 deletions
|
|
@ -7,11 +7,11 @@ items:
|
|||
kind: ImageStream
|
||||
metadata:
|
||||
name: mirrormanager2
|
||||
# The Python 3.11 builder image
|
||||
# The Python 3.14 builder image
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: python-311
|
||||
name: python-314
|
||||
spec:
|
||||
lookupPolicy:
|
||||
local: false
|
||||
|
|
@ -19,13 +19,13 @@ items:
|
|||
- name: latest
|
||||
from:
|
||||
kind: DockerImage
|
||||
name: quay.io/fedora/python-311:latest
|
||||
name: quay.io/fedora/python-314:latest
|
||||
importPolicy:
|
||||
scheduled: true
|
||||
referencePolicy:
|
||||
type: Source
|
||||
# The Python 3.11 builder image plus rust
|
||||
# The Python 3.14 builder image plus rust
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: python-311-with-rust
|
||||
name: python-314-with-rust
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
||||
---
|
||||
# Build a derivative of the python-311 builder image with Rust added to it
|
||||
# Build a derivative of the python-314 builder image with Rust added to it
|
||||
apiVersion: build.openshift.io/v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
name: python-311-with-rust
|
||||
name: python-314-with-rust
|
||||
labels:
|
||||
app: mirrormanager
|
||||
build: python-311-with-rust
|
||||
build: python-314-with-rust
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
source:
|
||||
|
|
@ -19,14 +19,15 @@ spec:
|
|||
dockerStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
# name: python:3.11
|
||||
# name: python:3.14
|
||||
# namespace: openshift
|
||||
# OpenShift does not have Python 3.11 (yet), use our own ImageStream
|
||||
name: python-311:latest
|
||||
# OpenShift does not have Python 3.14 (yet), use our own ImageStream
|
||||
# (use `oc -n openshift describe is/python` to ckeck)
|
||||
name: python-314:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: python-311-with-rust:latest
|
||||
name: python-314-with-rust:latest
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
|
||||
|
|
@ -53,7 +54,7 @@ spec:
|
|||
from:
|
||||
kind: ImageStreamTag
|
||||
# Our own ImageStream with rust added to it
|
||||
name: python-311-with-rust:latest
|
||||
name: python-314-with-rust:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: mirrormanager
|
||||
image: mirrormanager2:latest
|
||||
image: image-registry.openshift-image-registry.svc:5000/mirrormanager2:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue