Skip to main content

Shell to Python Continuous Deployment

Project description

Shell to Python Continuous Deployment

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

Features

  • Certification Authority 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
SPCD_CA_n Numbered CA certificate
SPCD_DNS Space separated servers 9.9.9.9
SPCD_GIT_MAIN Main Git repository spcd
SPCD_GIT_ROOT Root Git repository rwx
SPCD_SSH_HOSTS domain.tld ssh-type pub
SPCD_SSH_KEY SSH private key
SPCD_URL_ALMA Alma repository URL https://repo.almalinux.org
SPCD_URL_ALPINE Alpine repository URL https://dl-cdn.alpinelinux.org
SPCD_URL_ARCH Arch repository URL https://geo.mirror.pkgbuild.com
SPCD_URL_DEBIAN Debian repository URL https://deb.debian.org
SPCD_URL_FEDORA Fedora repository URL https://rpmfind.net
SPCD_URL_ROCKY Rocky repository URL https://dl.rockylinux.org
SPCD_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
  • write tests

.py

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

.sh

  • support opensuse

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spcd-0.0.1.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

spcd-0.0.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file spcd-0.0.1.tar.gz.

File metadata

  • Download URL: spcd-0.0.1.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for spcd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ea3ad2a46415b1331904e9ca7d23d456655daccb33f587897ce3accf52cbb6c
MD5 d04aace620083323d73a01996063d344
BLAKE2b-256 cc5b6d4623491f95be78e3f7d9ca94b04521a324a31e70858d2f2cec9be8f57a

See more details on using hashes here.

File details

Details for the file spcd-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: spcd-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for spcd-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06cf656a52ee7cf4451ebb386d4246f94640a148377ea13392f7f228763dc13b
MD5 66679722116baaee8ad4d262bd06b606
BLAKE2b-256 1c6d4012c783af4663f5d96876c2f8ca3b6629209765c58b006821de4abd8677

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page