2024-06-21 13:01:29 +00:00
|
|
|
# Python Integration, Delivery & Deployment
|
2024-04-29 11:04:36 +00:00
|
|
|
|
2024-06-21 11:29:18 +00:00
|
|
|
Get a common set of Python CI & CD commands \
|
2024-06-14 08:02:31 +00:00
|
|
|
from various contexts of CA, CI and OCI / OS.
|
2024-05-03 13:11:58 +00:00
|
|
|
|
2024-04-29 11:04:36 +00:00
|
|
|
## Features
|
|
|
|
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] CA certificates
|
|
|
|
* [X] custom
|
|
|
|
* [X] known
|
|
|
|
* [ ] Continuous Integration platforms
|
2024-06-14 08:02:31 +00:00
|
|
|
* [X] ForgeJo
|
2024-06-17 19:44:22 +00:00
|
|
|
* [X] Gitea
|
|
|
|
* [X] GitHub
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] GitLab
|
|
|
|
* [ ] SourceHut
|
2024-05-10 20:33:13 +00:00
|
|
|
* [X] Operating Systems
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Alma → Python 3.11
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] 8
|
|
|
|
* [X] 9
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Alpine → Python 3.11
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] 3.18
|
|
|
|
* [X] 3.19
|
2024-06-18 12:43:55 +00:00
|
|
|
* [ ] Arch → Python 3.12
|
2024-05-11 10:23:40 +00:00
|
|
|
* [ ] 20231112
|
2024-05-10 20:33:13 +00:00
|
|
|
* [X] 20240101
|
2024-06-18 12:43:55 +00:00
|
|
|
* [ ] Debian
|
2024-06-14 10:01:28 +00:00
|
|
|
* [ ] Bullseye (11) → Python 3.9
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Bookworm (12) → Python 3.11
|
2024-05-10 20:33:13 +00:00
|
|
|
* [X] Fedora → Python 3.12
|
|
|
|
* [X] 39
|
|
|
|
* [X] 40
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Rocky → Python 3.11
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] 8
|
|
|
|
* [X] 9
|
|
|
|
* [X] Ubuntu
|
2024-05-06 09:55:00 +00:00
|
|
|
* [X] Jammy (22.04) → Python 3.10
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Noble (24.04) → Python 3.12
|
2024-04-29 11:04:36 +00:00
|
|
|
|
2024-05-02 08:58:02 +00:00
|
|
|
## How
|
|
|
|
|
2024-06-21 11:29:18 +00:00
|
|
|
| Variable | Description | Default |
|
|
|
|
|:----------------|:------------------------|:--------------------------------|
|
2024-06-21 12:57:57 +00:00
|
|
|
| PIDD_CA_n | Numbered CA certificate | |
|
|
|
|
| PIDD_DNS | Space separated servers | 9.9.9.9 |
|
2024-06-23 20:23:05 +00:00
|
|
|
| PIDD_GIT_MAIN | Main Git repository | pidd |
|
|
|
|
| PIDD_GIT_ROOT | Root Git repository | rwx |
|
2024-06-21 12:57:57 +00:00
|
|
|
| PIDD_SSH_HOSTS | domain.tld ssh-type pub | |
|
|
|
|
| PIDD_SSH_KEY | SSH private key | |
|
|
|
|
| PIDD_URL_ALMA | Alma repository URL | https://repo.almalinux.org |
|
|
|
|
| PIDD_URL_ALPINE | Alpine repository URL | https://dl-cdn.alpinelinux.org |
|
|
|
|
| PIDD_URL_ARCH | Arch repository URL | https://geo.mirror.pkgbuild.com |
|
|
|
|
| PIDD_URL_DEBIAN | Debian repository URL | https://deb.debian.org |
|
|
|
|
| PIDD_URL_FEDORA | Fedora repository URL | https://rpmfind.net |
|
|
|
|
| PIDD_URL_ROCKY | Rocky repository URL | https://dl.rockylinux.org |
|
|
|
|
| PIDD_URL_UBUNTU | Ubuntu repository URL | https://ubuntu.mirrors.ovh.net |
|
2024-05-02 08:58:02 +00:00
|
|
|
|
2024-05-10 20:25:17 +00:00
|
|
|
## HTTPS & Python
|
|
|
|
|
2024-05-11 10:38:07 +00:00
|
|
|
| OS img | crt | upd | Python |
|
|
|
|
|:--------|-----|-----|:-------|
|
|
|
|
| Alma 8 | ☑ | ☑ | ☐ |
|
|
|
|
| Alma 9 | ☑ | ☑ | ☑ 3.9 |
|
|
|
|
| Alpine | ☑ | ☐ | ☐ |
|
|
|
|
| Arch | ☑ | ☑ | ☐ |
|
|
|
|
| Debian | ☐ | ☐ | ☐ |
|
|
|
|
| Fedora | ☑ | ☑ | ☑ 3.12 |
|
|
|
|
| Rocky 8 | ☑ | ☑ | ☐ |
|
|
|
|
| Rocky 9 | ☑ | ☑ | ☑ 3.9 |
|
|
|
|
| Ubuntu | ☐ | ☐ | ☐ |
|
2024-05-10 20:25:17 +00:00
|
|
|
|
2024-04-29 11:04:36 +00:00
|
|
|
## Tasks
|
|
|
|
|
2024-06-14 07:55:16 +00:00
|
|
|
* relay environment module name
|
|
|
|
* write tests
|
2024-06-14 07:16:28 +00:00
|
|
|
|
|
|
|
### .py
|
|
|
|
|
2024-06-14 07:55:16 +00:00
|
|
|
* detect ssh private key type
|
|
|
|
* implement project repository cloning
|
|
|
|
* install
|
2024-06-14 09:59:10 +00:00
|
|
|
* epel
|
|
|
|
* shellcheck
|
2024-06-14 07:55:16 +00:00
|
|
|
* openssh
|
2024-06-14 09:59:10 +00:00
|
|
|
* pip
|
|
|
|
* ruff
|
2024-06-14 07:55:16 +00:00
|
|
|
* rsync
|
2024-06-14 09:59:10 +00:00
|
|
|
* lint
|
|
|
|
* .py
|
|
|
|
* .sh
|
2024-06-14 07:55:16 +00:00
|
|
|
|
2024-06-14 07:16:28 +00:00
|
|
|
### .sh
|
2024-06-14 07:55:16 +00:00
|
|
|
|
|
|
|
* support opensuse
|