Skip to content

Commit

Permalink
Merge pull request #83 from sclorg/update_is_httpd_mariadb_mysql
Browse files Browse the repository at this point in the history
Update imagestreams for HTTPD, MariaDB, and MySQL
  • Loading branch information
phracek authored Aug 1, 2024
2 parents 2804e9a + 63b84de commit 6a7bd4d
Show file tree
Hide file tree
Showing 17 changed files with 169 additions and 27 deletions.
4 changes: 2 additions & 2 deletions charts/centos/httpd-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: |-
annotations:
charts.openshift.io/name: CentOS Apache HTTP Server imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.1
appVersion: 0.0.2
kubeVersion: '>=1.20.0'
name: httpd-imagestreams
tags: builder,httpd
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.1
version: 0.0.2
25 changes: 22 additions & 3 deletions charts/centos/httpd-imagestreams/src/templates/imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,41 @@ spec:
referencePolicy:
type: Local
name: 2.4-ubi8
- annotations:
description: >-
Build and serve static content via Apache HTTP Server (httpd) 2.4 on
CentOS 8. For more information about using this builder image,
including OpenShift considerations, see
https://github.com/sclorg/httpd-container/blob/master/2.4/README.md.
iconClass: icon-apache
openshift.io/display-name: Apache HTTP Server 2.4 (CentOS Stream 8)
openshift.io/provider-display-name: Red Hat, Inc.
sampleRepo: https://github.com/sclorg/httpd-ex.git
supports: httpd
tags: builder,httpd,hidden
version: "2.4"
from:
kind: DockerImage
name: quay.io/sclorg/httpd-24-c8s:latest
referencePolicy:
type: Local
name: 2.4-el8
- annotations:
description: >-
Build and serve static content via Apache HTTP Server (httpd) 2.4 on
CentOS 8. For more information about using this builder image,
including OpenShift considerations, see
https://github.com/sclorg/httpd-container/blob/master/2.4/README.md.
iconClass: icon-apache
openshift.io/display-name: Apache HTTP Server 2.4 (CentOS 8)
openshift.io/display-name: Apache HTTP Server 2.4 (CentOS Stream 9)
openshift.io/provider-display-name: Red Hat, Inc.
sampleRepo: https://github.com/sclorg/httpd-ex.git
supports: httpd
tags: builder,httpd,hidden
version: "2.4"
from:
kind: DockerImage
name: docker.io/centos/httpd-24-centos8:latest
name: quay.io/sclorg/httpd-24-c9s:latest
referencePolicy:
type: Local
name: 2.4-el8
name: 2.4-el9
4 changes: 2 additions & 2 deletions charts/centos/mariadb-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: |-
annotations:
charts.openshift.io/name: CentOS MariaDB database service imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.1
appVersion: 0.0.2
kubeVersion: '>=1.20.0'
name: mariadb-imagestreams
tags: database,mariadb
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.1
version: 0.0.2
70 changes: 67 additions & 3 deletions charts/centos/mariadb-imagestreams/src/templates/imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,83 @@ metadata:
openshift.io/display-name: MariaDB
spec:
tags:
- name: 10.11-el9
annotations:
openshift.io/display-name: MariaDB 10.11 (CentOS Stream 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MariaDB 10.11 database on CentOS Stream 9. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.11/README.md.
iconClass: icon-mariadb
tags: database,mariadb
version: "10.11"
from:
kind: DockerImage
name: quay.io/sclorg/mariadb-1011-c9s:latest
referencePolicy:
type: Local
- name: 10.11-el8
annotations:
openshift.io/display-name: MariaDB 10.11 (CentOS Stream 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MariaDB 10.11 database on CentOS Stream 8. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.11/README.md.
iconClass: icon-mariadb
tags: database,mariadb
version: "10.11"
from:
kind: DockerImage
name: quay.io/sclorg/mariadb-1011-c8s:latest
referencePolicy:
type: Local
- name: 10.5-el9
annotations:
openshift.io/display-name: MariaDB 10.5 (CentOS Stream 9)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MariaDB 10.5 database on CentOS Stream 9. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.5/README.md.
iconClass: icon-mariadb
tags: database,mariadb
version: "10.5"
from:
kind: DockerImage
name: quay.io/sclorg/mariadb-105-c9s:latest
referencePolicy:
type: Local
- name: 10.5-el8
annotations:
openshift.io/display-name: MariaDB 10.5 (CentOS Stream 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MariaDB 10.5 database on CentOS Stream 8. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.5/README.md.
iconClass: icon-mariadb
tags: database,mariadb
version: "10.5"
from:
kind: DockerImage
name: quay.io/sclorg/mariadb-105-c8s:latest
referencePolicy:
type: Local
- name: 10.3-el8
annotations:
openshift.io/display-name: MariaDB 10.3 (CentOS 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MariaDB 10.3 database on CentOS 8. For more information about
using this database image, including OpenShift considerations, see
Provides a MariaDB 10.3 database on CentOS 8. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.3/README.md.
iconClass: icon-mariadb
tags: database,mariadb
version: "10.3"
from:
kind: DockerImage
name: docker.io/centos/mariadb-103-centos8:latest
name: quay.io/sclorg/mariadb-103-c8s:latest
referencePolicy:
type: Local
4 changes: 2 additions & 2 deletions charts/centos/mysql-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: |-
annotations:
charts.openshift.io/name: CentOS MySQL database service imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.1
appVersion: 0.0.2
kubeVersion: '>=1.20.0'
name: mysql-imagestreams
tags: database,mysql
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.1
version: 0.0.2
12 changes: 6 additions & 6 deletions charts/centos/mysql-imagestreams/src/templates/imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ spec:
openshift.io/display-name: MySQL (Latest)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MySQL database on CentOS. For more information about using
this database image, including OpenShift considerations, see
Provides a MySQL database on CentOS. For more information about using
this database image, including OpenShift considerations, see
https://github.com/sclorg/mysql-container/blob/master/README.md.
WARNING: By selecting this tag, your application will automatically update to use the latest version of MySQL available on OpenShift, including major version updates.
Expand All @@ -25,17 +25,17 @@ spec:
type: Local
- name: 8.0-el8
annotations:
openshift.io/display-name: MySQL 8.0 (CentOS 8)
openshift.io/display-name: MySQL 8.0 (CentOS Stream 8)
openshift.io/provider-display-name: Red Hat, Inc.
description: >-
Provides a MySQL 8.0 database on CentOS 8. For more information about
using this database image, including OpenShift considerations, see
Provides a MySQL 8.0 database on CentOS Stream 8. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mysql-container/blob/master/README.md.
iconClass: icon-mysql-database
tags: mysql
version: "8.0"
from:
kind: DockerImage
name: docker.io/centos/mysql-80-centos8:latest
name: quay.io/sclorg/mysql-80-c8s:latest
referencePolicy:
type: Local
4 changes: 2 additions & 2 deletions charts/redhat/httpd-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: |-
annotations:
charts.openshift.io/name: Red Hat Apache HTTP Server imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.2
appVersion: 0.0.3
kubeVersion: '>=1.20.0'
name: httpd-imagestreams
tags: builder,httpd
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.2
version: 0.0.3
19 changes: 19 additions & 0 deletions charts/redhat/httpd-imagestreams/src/templates/imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,22 @@ spec:
referencePolicy:
type: Local
name: 2.4-el8
- annotations:
description: >-
Build and serve static content via Apache HTTP Server (httpd) 2.4 on
RHEL 8. For more information about using this builder image, including
OpenShift considerations, see
https://github.com/sclorg/httpd-container/blob/master/2.4/README.md.
iconClass: icon-apache
openshift.io/display-name: Apache HTTP Server 2.4 (RHEL 9)
openshift.io/provider-display-name: 'Red Hat, Inc.'
sampleRepo: 'https://github.com/sclorg/httpd-ex.git'
supports: httpd
tags: 'builder,httpd,hidden'
version: '2.4'
from:
kind: DockerImage
name: registry.redhat.io/rhel9/httpd-24
referencePolicy:
type: Local
name: 2.4-el9
4 changes: 2 additions & 2 deletions charts/redhat/mariadb-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: |-
annotations:
charts.openshift.io/name: Red Hat MariaDB database service imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.2
appVersion: 0.0.3
kubeVersion: '>=1.20.0'
name: mariadb-imagestreams
tags: database,mariadb
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.2
version: 0.0.3
32 changes: 32 additions & 0 deletions charts/redhat/mariadb-imagestreams/src/templates/imagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,35 @@ spec:
name: 'registry.redhat.io/rhel9/mariadb-105:latest'
referencePolicy:
type: Local
- name: 10.11-el8
annotations:
openshift.io/display-name: MariaDB 10.11 (RHEL 8)
openshift.io/provider-display-name: 'Red Hat, Inc.'
description: >-
Provides a MariaDB 10.5 database on RHEL 8. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.11/README.md.
iconClass: icon-mariadb
tags: 'database,mariadb'
version: '10.11'
from:
kind: DockerImage
name: 'registry.redhat.io/rhel8/mariadb-1011:latest'
referencePolicy:
type: Local
- name: 10.11-el9
annotations:
openshift.io/display-name: MariaDB 10.11 (RHEL 9)
openshift.io/provider-display-name: 'Red Hat, Inc.'
description: >-
Provides a MariaDB 10.11 database on RHEL 9. For more information about
using this database image, including OpenShift considerations, see
https://github.com/sclorg/mariadb-container/tree/master/10.11/README.md.
iconClass: icon-mariadb
tags: 'database,mariadb'
version: '10.11'
from:
kind: DockerImage
name: 'registry.redhat.io/rhel9/mariadb-1011:latest'
referencePolicy:
type: Local
4 changes: 2 additions & 2 deletions charts/redhat/mysql-imagestreams/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: |-
annotations:
charts.openshift.io/name: Red Hat MySQL database service imagestreams (experimental)
apiVersion: v2
appVersion: 0.0.2
appVersion: 0.0.3
kubeVersion: '>=1.20.0'
name: mysql-imagestreams
tags: database,mysql
sources:
- https://github.com/sclorg/helm-charts
version: 0.0.2
version: 0.0.3
Binary file added httpd-imagestreams-0.0.3.tgz
Binary file not shown.
Binary file added mariadb-imagestreams-0.0.3.tgz
Binary file not shown.
Binary file added mysql-imagestreams-0.0.3.tgz
Binary file not shown.
4 changes: 3 additions & 1 deletion tests/test_httpd_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def teardown_method(self):
("2.4-ubi9", "registry.redhat.io/ubi9/httpd-24:latest"),
("2.4-ubi8", "registry.redhat.io/ubi8/httpd-24:latest"),
("2.4-el8", "registry.redhat.io/rhel8/httpd-24"),
("2.4-el9", "registry.redhat.io/rhel9/httpd-24"),
],
)
def test_package_imagestream(self, version, registry):
Expand All @@ -47,7 +48,8 @@ def teardown_method(self):
[
("2.4-ubi9", "registry.access.redhat.com/ubi9/httpd-24:latest"),
("2.4-ubi8", "registry.access.redhat.com/ubi8/httpd-24:latest"),
("2.4-el8", "docker.io/centos/httpd-24-centos8:latest"),
("2.4-el8", "quay.io/sclorg/httpd-24-c8s:latest"),
("2.4-el9", "quay.io/sclorg/httpd-24-c9s:latest"),
]
)
def test_package_imagestream(self, version, registry):
Expand Down
8 changes: 7 additions & 1 deletion tests/test_mariadb_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def teardown_method(self):
@pytest.mark.parametrize(
"version,registry",
[
("10.11-el9", "registry.redhat.io/rhel9/mariadb-1011:latest"),
("10.11-el8", "registry.redhat.io/rhel8/mariadb-1011:latest"),
("10.5-el9", "registry.redhat.io/rhel9/mariadb-105:latest"),
("10.3-el8", "registry.redhat.io/rhel8/mariadb-103:latest"),
("10.5-el8", "registry.redhat.io/rhel8/mariadb-105:latest"),
Expand All @@ -45,7 +47,11 @@ def teardown_method(self):
@pytest.mark.parametrize(
"version,registry",
[
("10.3-el8", "docker.io/centos/mariadb-103-centos8:latest"),
("10.3-el8", "quay.io/sclorg/mariadb-103-c8s:latest"),
("10.5-el8", "quay.io/sclorg/mariadb-105-c8s:latest"),
("10.5-el9", "quay.io/sclorg/mariadb-105-c9s:latest"),
("10.11-el8", "quay.io/sclorg/mariadb-1011-c8s:latest"),
("10.11-el9", "quay.io/sclorg/mariadb-1011-c9s:latest"),
],
)
def test_package_imagestream(self, version, registry):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mysql_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def teardown_method(self):
@pytest.mark.parametrize(
"version,registry",
[
("8.0-el8", "docker.io/centos/mysql-80-centos8:latest"),
("8.0-el8", "quay.io/sclorg/mysql-80-c8s:latest"),
],
)
def test_package_imagestream(self, version, registry):
Expand Down

0 comments on commit 6a7bd4d

Please sign in to comment.