2024-04-29 11:04:36 +00:00
|
|
|
# Continuous Deployment
|
|
|
|
|
2024-05-03 13:11:58 +00:00
|
|
|
Get build-time Python commands \
|
|
|
|
from various CA, CI, OCI / OS.
|
|
|
|
|
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
|
|
|
|
* [X] GitHub → Gitea → ForgeJo
|
|
|
|
* [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-05-10 20:33:13 +00:00
|
|
|
* [X] Arch → Python 3.12
|
2024-05-11 10:23:40 +00:00
|
|
|
* [ ] 20231112
|
2024-05-10 20:33:13 +00:00
|
|
|
* [X] 20240101
|
2024-05-05 20:20:49 +00:00
|
|
|
* [X] Debian
|
2024-05-06 09:50:31 +00:00
|
|
|
* [X] Bullseye (11) → Python 3.9
|
|
|
|
* [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-05-04 18:17:46 +00:00
|
|
|
| Variable | Description |
|
|
|
|
|:--------------|:------------------------|
|
|
|
|
| CD_CA_n | Numbered CA certificate |
|
|
|
|
| CD_DNS | Space separated servers |
|
|
|
|
| CD_URL_ALMA | Alma repository URL |
|
|
|
|
| CD_URL_ALPINE | Alpine repository URL |
|
2024-05-05 18:48:37 +00:00
|
|
|
| CD_URL_ARCH | Arch repository URL |
|
2024-05-04 18:17:46 +00:00
|
|
|
| CD_URL_DEBIAN | Debian repository URL |
|
2024-05-06 09:36:27 +00:00
|
|
|
| CD_URL_FEDORA | Fedora repository URL |
|
2024-05-04 18:17:46 +00:00
|
|
|
| CD_URL_ROCKY | Rocky repository URL |
|
|
|
|
| CD_URL_UBUNTU | Ubuntu repository URL |
|
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-05-03 19:03:07 +00:00
|
|
|
* write bats
|
|
|
|
|
2024-05-04 21:52:07 +00:00
|
|
|
* handle git cloning credentials
|
2024-05-04 07:50:13 +00:00
|
|
|
* reduce single conditions with &&
|
2024-05-04 21:52:07 +00:00
|
|
|
* write Python bootstrap process
|
2024-05-03 18:00:28 +00:00
|
|
|
|
2024-05-03 13:50:32 +00:00
|
|
|
* integrate project repository cloning
|
|
|
|
* override repository and framework locations
|
2024-05-04 08:32:50 +00:00
|
|
|
* show previous states of directories & files
|