Shell to Python Continuous Deployment https://spcd.rwx.work
Find a file
2024-06-24 12:04:00 +02:00
.forgejo/workflows workflows 2024-06-23 23:47:45 +02:00
.github/workflows workflows 2024-06-23 23:47:45 +02:00
pidd list[str] 2024-06-24 00:11:48 +02:00
.gitea gitea 2024-05-03 16:17:20 +02:00
.gitignore ignore dist 2024-06-14 14:26:12 +02:00
.gitlab-ci.yml cidd → pidd 2024-06-21 14:57:57 +02:00
.shellcheckrc shellcheck/all 2024-06-14 10:35:49 +02:00
license.md license 2024-05-03 16:33:15 +02:00
pidd.sh pidd_sed 2024-06-24 12:04:00 +02:00
pyproject.toml package,project,readme 2024-06-21 15:01:29 +02:00
readme.md git/main,root 2024-06-23 22:23:05 +02:00

Python Integration, Delivery & Deployment

Get a common set of Python CI & CD commands
from various contexts of CA, CI and OCI / OS.

Features

  • CA certificates
    • custom
    • known
  • Continuous Integration platforms
    • ForgeJo
    • Gitea
    • GitHub
    • GitLab
    • SourceHut
  • Operating Systems
    • Alma → Python 3.11
      • 8
      • 9
    • Alpine → Python 3.11
      • 3.18
      • 3.19
    • Arch → Python 3.12
      • 20231112
      • 20240101
    • Debian
      • Bullseye (11) → Python 3.9
      • Bookworm (12) → Python 3.11
    • Fedora → Python 3.12
      • 39
      • 40
    • Rocky → Python 3.11
      • 8
      • 9
    • Ubuntu
      • Jammy (22.04) → Python 3.10
      • Noble (24.04) → Python 3.12

How

Variable Description Default
PIDD_CA_n Numbered CA certificate
PIDD_DNS Space separated servers 9.9.9.9
PIDD_GIT_MAIN Main Git repository pidd
PIDD_GIT_ROOT Root Git repository rwx
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

HTTPS & Python

OS img crt upd Python
Alma 8
Alma 9 ☑ 3.9
Alpine
Arch
Debian
Fedora ☑ 3.12
Rocky 8
Rocky 9 ☑ 3.9
Ubuntu

Tasks

  • relay environment module name
  • show previous states of directories & files
  • write tests

.py

  • detect ssh private key type
  • implement project repository cloning
  • install
    • epel
      • shellcheck
    • openssh
    • pip
      • ruff
    • rsync
  • lint
    • .py
    • .sh
  • write bootstrap entry point

.sh

  • reduce single conditions with &&
  • support opensuse