Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 0 additions & 77 deletions .github/workflows/container-pytests.yml

This file was deleted.

78 changes: 10 additions & 68 deletions .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,14 @@ on:
- created
jobs:
distgen-check:
name: "Check distgen generated files"
runs-on: ubuntu-latest
if: |
github.event.issue.pull_request
&& (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
steps:
- name: Checkout repo
uses: actions/checkout@v5
with:
ref: "refs/pull/${{ github.event.issue.number }}/head"
submodules: true

- name: Check distgen generated files
id: check
shell: bash
run: |
sha=$(git rev-parse HEAD)
sudo apt update && sudo apt -y install python3-pip
pip3 install pyyaml distgen Jinja2
result="success"
./common/tests/check_distgen_generated_files.sh || result="failure"
echo "result=$result" >> "$GITHUB_OUTPUT"
echo "sha=$sha" >> "$GITHUB_OUTPUT"

- name: Set final commit status
uses: myrotvorets/[email protected]
with:
status: ${{ steps.check.outputs.result }}
context: "Distgen check"
sha: ${{ steps.check.outputs.sha }}

- name: Exit on ERR
shell: bash
run: |
_result=${{ steps.check.outputs.result }}
if [ "$_result" == failure ]; then
echo "Distgen-generated files are not regenerated properly."
echo "Please regenerate them with:"
echo "'make clean-versions'"
echo "'make generate-all'"
exit 1
fi

uses: "sclorg/ci-actions/.github/workflows/distgen-check.yml@main"
check-readme:
uses: "sclorg/ci-actions/.github/workflows/check-readme.yml@main"
container-tests:
needs: distgen-check
name: "Container tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
runs-on: ubuntu-latest
concurrency:
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
version: [ "3.9", "3.9-minimal", "3.11", "3.11-minimal", "3.12", "3.12-minimal", "3.13", "3.13-minimal" ]
os_test: [ "fedora", "rhel8", "rhel9", "rhel10", "c9s", "c10s" ]
test_case: [ "container" ]
if: |
github.event.issue.pull_request
&& (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
steps:
- uses: sclorg/tfaga-wrapper@main
with:
os_test: ${{ matrix.os_test }}
version: ${{ matrix.version }}
test_case: ${{ matrix.test_case }}
public_api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
private_api_key: ${{ secrets.TF_INTERNAL_API_KEY }}
needs: check-readme
uses: "sclorg/ci-actions/.github/workflows/container-tests.yml@main"
with:
enabled-tests: '["container","container-pytest","openshift-4","openshift-pytest"]'
versions: '[ "3.9", "3.9-minimal", "3.11", "3.11-minimal", "3.12", "3.12-minimal", "3.13", "3.13-minimal" ]'
openshift-versions: '[ "3.8", "3.9", "3.11", "3.12", "3.12-minimal" ]'
secrets: inherit
56 changes: 0 additions & 56 deletions .github/workflows/openshift-pytest.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/openshift-tests.yml

This file was deleted.

57 changes: 18 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@ Python container images
=======================
[![Build and push container images to Quay.io registry](https://github.com/sclorg/s2i-python-container/actions/workflows/build-and-push.yml/badge.svg)](https://github.com/sclorg/s2i-python-container/actions/workflows/build-and-push.yml)

Images available on Quay are:
* RHEL 8 [python-39-minimal-el8](https://quay.io/repository/sclorg/python-39-minimal-el8)
* RHEL 8 [python-311-minimal-el8](https://quay.io/repository/sclorg/python-311-minimal-el8)
* RHEL 8 [python-312-minimal-el8](https://quay.io/repository/sclorg/python-312-minimal-el8)
* CentOS Stream 9 minimal [python-39-minimal-c9s](https://quay.io/repository/sclorg/python-39-minimal-c9s)
* CentOS Stream 9 [python-39-c9s](https://quay.io/repository/sclorg/python-39-c9s)
* CentOS Stream 9 minimal [python-311-minimal-c9s](https://quay.io/repository/sclorg/python-311-minimal-c9s)
* CentOS Stream 9 [python-311-c9s](https://quay.io/repository/sclorg/python-311-c9s)
* CentOS Stream 9 [python-312-minimal-c9s](https://quay.io/repository/sclorg/python-312-minimal-c9s)
* CentOS Stream 9 [python-312-c9s](https://quay.io/repository/sclorg/python-312-c9s)
* CentOS Stream 10 [python-312-minimal-c10s](https://quay.io/repository/sclorg/python-312-minimal-c10s)
* CentOS Stream 10 [python-312-c10s](https://quay.io/repository/sclorg/python-312-c10s)
* CentOS Stream 10 [python-313-minimal-c10s](https://quay.io/repository/sclorg/python-313-minimal-c10s)
* CentOS Stream 10 [python-313-c10s](https://quay.io/repository/sclorg/python-313-c10s)
* Fedora [python-313](https://quay.io/repository/fedora/python-313)
* Fedora [python-313-minimal](https://quay.io/repository/fedora/python-313-minimal)

This repository contains the source for building various versions of
the Python application as a reproducible container image using
[source-to-image](https://github.com/openshift/source-to-image).
Expand Down Expand Up @@ -54,28 +37,24 @@ For more information about contributing, see

Versions
---------------
Python versions currently provided are:
* [python-3.6](3.6)
* [python-3.9](3.9)
* [python-3.9 Minimal (tech-preview)](3.9-minimal)
* [python-3.11](3.11)
* [python-3.11 Minimal (tech-preview)](3.11-minimal)
* [python-3.12](3.12)
* [python-3.12 Minimal (tech-preview)](3.12-minimal)
* [python-3.13](3.13)
* [python-3.13 Minimal (tech-preview)](3.13-minimal)

RHEL versions currently supported are:
* RHEL 8 ([catalog.redhat.com](https://catalog.redhat.com/software/containers/search))
* RHEL 9 ([catalog.redhat.com](https://catalog.redhat.com/software/containers/search))
* RHEL 10 ([catalog.redhat.com](https://catalog.redhat.com/software/containers/search))

CentOS Stream versions currently supported are:
* CentOS Stream 9 ([quay.io/sclorg](https://quay.io/organization/sclorg))
* CentOS Stream 10 ([quay.io/sclorg](https://quay.io/organization/sclorg))

Fedora versions currently supported are:
* Fedora 42 ([quay.io/fedora](https://quay.io/organization/fedora))
Currently supported versions are visible in the following table, expand an entry to see its container registry address.
<!--
Table start
-->
||CentOS Stream 9|CentOS Stream 10|Fedora|RHEL 8|RHEL 9|RHEL 10|
|:--|:--:|:--:|:--:|:--:|:--:|:--:|
|3.6||||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-36`</details>|||
|3.9|<details><summary>✓</summary>`quay.io/sclorg/python-39-c9s`</details>|||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-39`</details>|<details><summary>✓</summary>`registry.redhat.io/rhel9/python-39`</details>||
|3.9-minimal|<details><summary>✓</summary>`quay.io/sclorg/python-39-minimal-c9s`</details>|||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-39-minimal`</details>|||
|3.11|<details><summary>✓</summary>`quay.io/sclorg/python-311-c9s`</details>|||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-311`</details>|<details><summary>✓</summary>`registry.redhat.io/rhel9/python-311`</details>||
|3.11-minimal|<details><summary>✓</summary>`quay.io/sclorg/python-311-minimal-c9s`</details>|||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-311-minimal`</details>|||
|3.12|<details><summary>✓</summary>`quay.io/sclorg/python-312-c9s`</details>|<details><summary>✓</summary>`quay.io/sclorg/python-312-c10s`</details>||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-312`</details>|<details><summary>✓</summary>`registry.redhat.io/rhel9/python-312`</details>||
|3.12-minimal|<details><summary>✓</summary>`quay.io/sclorg/python-312-minimal-c9s`</details>|<details><summary>✓</summary>`quay.io/sclorg/python-312-minimal-c10s`</details>||<details><summary>✓</summary>`registry.redhat.io/rhel8/python-312-minimal`</details>|<details><summary>✓</summary>`registry.redhat.io/rhel9/python-312-minimal`</details>|<details><summary>✓</summary>`registry.redhat.io/rhel10/python-312-minimal`</details>|
|3.13||<details><summary>✓</summary>`quay.io/sclorg/python-313-c10s`</details>|<details><summary>✓</summary>`quay.io/fedora/python-313`</details>||||
|3.13-minimal||<details><summary>✓</summary>`quay.io/sclorg/python-313-minimal-c10s`</details>|<details><summary>✓</summary>`quay.io/fedora/python-313-minimal`</details>||||
<!--
Table end
-->

Download
--------
Expand Down