Shell to Python Continuous Deployment https://spcd.rwx.work
Find a file
Marc Beninca 27091dde5f
Some checks failed
/ job (push) Failing after 5m39s
cd_key
2024-06-01 23:31:41 +02:00
.forgejo/workflows cd_key 2024-06-01 23:31:41 +02:00
cd arg0 2024-06-01 20:14:06 +02:00
cmd synchronize/wip 2024-06-01 15:25:23 +02:00
.gitea gitea 2024-05-03 16:17:20 +02:00
.github github 2024-05-03 16:28:50 +02:00
.gitignore ignore 2024-04-26 21:33:57 +02:00
.gitlab-ci.yml cd_key 2024-06-01 23:31:41 +02:00
cd.sh cd_key 2024-06-01 23:31:41 +02:00
license.md license 2024-05-03 16:33:15 +02:00
readme.md ssh/type 2024-05-31 11:33:30 +02:00

Continuous Deployment

Get build-time Python commands
from various CA, CI, OCI / OS.

Features

  • CA certificates
    • custom
    • known
  • Continuous Integration platforms
    • GitHub → Gitea → ForgeJo
    • 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
CD_CA_n Numbered CA certificate
CD_DNS Space separated servers
CD_SSH_HOSTS domain.tld ssh-type pub
CD_SSH_TYPE SSH private key type
CD_URL_ALMA Alma repository URL
CD_URL_ALPINE Alpine repository URL
CD_URL_ARCH Arch repository URL
CD_URL_DEBIAN Debian repository URL
CD_URL_FEDORA Fedora repository URL
CD_URL_ROCKY Rocky repository URL
CD_URL_UBUNTU Ubuntu repository URL

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

  • write bats

  • detect private key type

  • handle git cloning credentials

  • reduce single conditions with &&

  • write Python bootstrap process

  • integrate project repository cloning

  • override repository and framework locations

  • show previous states of directories & files