Skip to content

Commit 2d4d4a4

Browse files
committed
tox.ini, .github/workflows, .devcontainer: Add centos-stream-9
1 parent c9233db commit 2d4d4a4

File tree

7 files changed

+119
-1
lines changed

7 files changed

+119
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// The command "tox -e update_docker_platforms"
2+
// creates .devcontainer/portability-*-*/devcontainer.json
3+
// from .devcontainer/portability-devcontainer.json.in
4+
// See https://aka.ms/devcontainer.json for format details.
5+
{
6+
"name": "centos-stream-9-minimal (≥ 8-core)",
7+
"build": {
8+
"dockerfile": "portability-Dockerfile",
9+
// See tox.ini for definitions
10+
"args": {
11+
"SYSTEM_FACTOR": "centos-stream-9",
12+
"PACKAGE_FACTOR": "minimal",
13+
"DOCKER_TARGET": "with-targets",
14+
"DOCKER_TAG": "dev"
15+
}
16+
},
17+
"containerEnv": {
18+
"MAKE": "make -j4"
19+
},
20+
"onCreateCommand": ".devcontainer/onCreate.sh",
21+
"updateContentCommand": ".devcontainer/portability-updateContent.sh",
22+
"extensions": [
23+
"ms-python.python"
24+
]
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../portability-Dockerfile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// The command "tox -e update_docker_platforms"
2+
// creates .devcontainer/portability-*-*/devcontainer.json
3+
// from .devcontainer/portability-devcontainer.json.in
4+
// See https://aka.ms/devcontainer.json for format details.
5+
{
6+
"name": "centos-stream-9-standard (≥ 8-core)",
7+
"build": {
8+
"dockerfile": "portability-Dockerfile",
9+
// See tox.ini for definitions
10+
"args": {
11+
"SYSTEM_FACTOR": "centos-stream-9",
12+
"PACKAGE_FACTOR": "standard",
13+
"DOCKER_TARGET": "with-targets",
14+
"DOCKER_TAG": "dev"
15+
}
16+
},
17+
"containerEnv": {
18+
"MAKE": "make -j4"
19+
},
20+
"onCreateCommand": ".devcontainer/onCreate.sh",
21+
"updateContentCommand": ".devcontainer/portability-updateContent.sh",
22+
"extensions": [
23+
"ms-python.python"
24+
]
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../portability-Dockerfile

.github/workflows/docker.yml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ on:
4747
"fedora-38",
4848
"fedora-39",
4949
"fedora-40",
50+
"centos-stream-9",
5051
"centos-stream-9-python3.12",
5152
"almalinux-8-python3.9",
5253
"almalinux-9-python3.11",

src/doc/en/developer/portability_platform_table.rst

+65
Original file line numberDiff line numberDiff line change
@@ -1564,6 +1564,60 @@
15641564
.. |codespace-fedora-40-maximal| image:: https://github.com/codespaces/badge.svg
15651565
:target: https://codespaces.new/sagemath/sage?devcontainer_path=.devcontainer%2Fportability-fedora-40-maximal%2Fdevcontainer.json
15661566

1567+
.. |image-centos-stream-9-minimal-with-system-packages| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-minimal-with-system-packages/size?tag=dev&label=with-system-packages&color=%23696969
1568+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-minimal-with-system-packages
1569+
1570+
.. |image-centos-stream-9-minimal-configured| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-minimal-configured/latest_tag?ignore=latest,dev,*-failed&label=configured&color=%23696969
1571+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-minimal-configured
1572+
1573+
.. |image-centos-stream-9-minimal-with-targets-pre| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-minimal-with-targets-pre/latest_tag?ignore=latest,dev,*-failed&label=with-targets-pre&color=%23677895
1574+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-minimal-with-targets-pre
1575+
1576+
.. |image-centos-stream-9-minimal-with-targets| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-minimal-with-targets/latest_tag?ignore=latest,dev,*-failed&label=with-targets&color=%236686c1
1577+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-minimal-with-targets
1578+
1579+
.. |image-centos-stream-9-minimal-with-targets-optional| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-minimal-with-targets-optional/latest_tag?ignore=latest,dev,*-failed&label=with-targets-optional&color=%236495ed
1580+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-minimal-with-targets-optional
1581+
1582+
.. |codespace-centos-stream-9-minimal| image:: https://github.com/codespaces/badge.svg
1583+
:target: https://codespaces.new/sagemath/sage?devcontainer_path=.devcontainer%2Fportability-centos-stream-9-minimal%2Fdevcontainer.json
1584+
1585+
.. |image-centos-stream-9-standard-with-system-packages| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-standard-with-system-packages/size?tag=dev&label=with-system-packages&color=%23696969
1586+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-standard-with-system-packages
1587+
1588+
.. |image-centos-stream-9-standard-configured| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-standard-configured/latest_tag?ignore=latest,dev,*-failed&label=configured&color=%23696969
1589+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-standard-configured
1590+
1591+
.. |image-centos-stream-9-standard-with-targets-pre| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-standard-with-targets-pre/latest_tag?ignore=latest,dev,*-failed&label=with-targets-pre&color=%235d8a4c
1592+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-standard-with-targets-pre
1593+
1594+
.. |image-centos-stream-9-standard-with-targets| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-standard-with-targets/latest_tag?ignore=latest,dev,*-failed&label=with-targets&color=%2350ab2e
1595+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-standard-with-targets
1596+
1597+
.. |image-centos-stream-9-standard-with-targets-optional| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-standard-with-targets-optional/latest_tag?ignore=latest,dev,*-failed&label=with-targets-optional&color=%2344cc11
1598+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-standard-with-targets-optional
1599+
1600+
.. |codespace-centos-stream-9-standard| image:: https://github.com/codespaces/badge.svg
1601+
:target: https://codespaces.new/sagemath/sage?devcontainer_path=.devcontainer%2Fportability-centos-stream-9-standard%2Fdevcontainer.json
1602+
1603+
.. |image-centos-stream-9-maximal-with-system-packages| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-maximal-with-system-packages/size?tag=dev&label=with-system-packages&color=%23696969
1604+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-maximal-with-system-packages
1605+
1606+
.. |image-centos-stream-9-maximal-configured| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-maximal-configured/latest_tag?ignore=latest,dev,*-failed&label=configured&color=%23696969
1607+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-maximal-configured
1608+
1609+
.. |image-centos-stream-9-maximal-with-targets-pre| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-maximal-with-targets-pre/latest_tag?ignore=latest,dev,*-failed&label=with-targets-pre&color=%238f6b8d
1610+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-maximal-with-targets-pre
1611+
1612+
.. |image-centos-stream-9-maximal-with-targets| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-maximal-with-targets/latest_tag?ignore=latest,dev,*-failed&label=with-targets&color=%23b46eb2
1613+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-maximal-with-targets
1614+
1615+
.. |image-centos-stream-9-maximal-with-targets-optional| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-maximal-with-targets-optional/latest_tag?ignore=latest,dev,*-failed&label=with-targets-optional&color=%23da70d6
1616+
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-maximal-with-targets-optional
1617+
1618+
.. |codespace-centos-stream-9-maximal| image:: https://github.com/codespaces/badge.svg
1619+
:target: https://codespaces.new/sagemath/sage?devcontainer_path=.devcontainer%2Fportability-centos-stream-9-maximal%2Fdevcontainer.json
1620+
15671621
.. |image-centos-stream-9-python3.12-minimal-with-system-packages| image:: https://ghcr-badge.egpl.dev/sagemath/sage/sage-centos-stream-9-python3.12-minimal-with-system-packages/size?tag=dev&label=with-system-packages&color=%23696969
15681622
:target: https://ghcr.io/sagemath/sage/sage-centos-stream-9-python3.12-minimal-with-system-packages
15691623

@@ -2593,6 +2647,17 @@
25932647
* -    ‑*maximal*
25942648
- |image-fedora-40-maximal-with-system-packages| |image-fedora-40-maximal-with-targets-pre|
25952649
-
2650+
* - **centos**-stream-9
2651+
2652+
   ‑*minimal*
2653+
- |image-centos-stream-9-minimal-with-system-packages| |image-centos-stream-9-minimal-with-targets-pre| |image-centos-stream-9-minimal-with-targets| |image-centos-stream-9-minimal-with-targets-optional|
2654+
- |codespace-centos-stream-9-minimal|
2655+
* -    ‑*standard*
2656+
- |image-centos-stream-9-standard-with-system-packages| |image-centos-stream-9-standard-with-targets-pre| |image-centos-stream-9-standard-with-targets| |image-centos-stream-9-standard-with-targets-optional|
2657+
- |codespace-centos-stream-9-standard|
2658+
* -    ‑*maximal*
2659+
- |image-centos-stream-9-maximal-with-system-packages| |image-centos-stream-9-maximal-with-targets-pre|
2660+
-
25962661
* - **centos**-stream-9-python3.12
25972662

25982663
   ‑*minimal*

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ setenv =
856856
debian-{bullseye,bookworm,trixie,sid} \
857857
linuxmint-{20.1,20.2,20.3,21,21.1,21.2,21.3} \
858858
fedora-{30,31,32,33,34,35,36,37,38,39,40} \
859-
centos-stream-9-python3.12 \
859+
centos-stream-{9,9-python3.12} \
860860
almalinux-{8-python3.9,9-python3.11} \
861861
gentoo-python{3.10,3.11,3.12} \
862862
archlinux-latest \

0 commit comments

Comments
 (0)