Compare commits

..

No commits in common. "main" and "dev" have entirely different histories.
main ... dev

2 changed files with 37 additions and 62 deletions

View file

@ -5,29 +5,7 @@ from various contexts of CA, DNS, CI and OS / OCI.
--- ---
## Table Of Contents {#toc} ## Why
* 1 [Why](#why)
* 2 [How](#how)
* 2.1 [Group environment variables](#how-variables)
* 2.2 [Workflow files](#how-workflows)
* 2.3 [Integration & Deployment](#how-actions)
* 3 [What](#what)
* 3.1 [Features](#what-features)
* 3.2 [Environment variables](#what-variables)
* 3.3 [Operating Systems containers](#what-systems)
* 4 [Who](#who)
* 5 [Where](#where)
* 5.1 [Chat](#where-chat)
* 5.2 [Repo](#where-repo)
* 5.3 [Site](#where-site)
* 6 [When](#when)
* 6.1 [Release tasks](#when-release)
* 6.2 [Further tasks](#when-further)
---
## 1 [Why](#toc) {#why}
Project workflows can occur in: Project workflows can occur in:
* an online or offline context, dealing with custom CA & DNS servers * an online or offline context, dealing with custom CA & DNS servers
@ -39,11 +17,11 @@ What if there was a unified way to do so?
--- ---
## 2 [How](#toc) {#how} ## How
Picture it… Picture it…
### 2.1 [Group environment variables](#how) {#how-variables} ### Group environment variables
* numbered * numbered
* Certificate Authority armored certificates * Certificate Authority armored certificates
@ -59,12 +37,12 @@ Picture it…
* SSH key & hosts for deployments * SSH key & hosts for deployments
* a standalone POSIX shell script payload * a standalone POSIX shell script payload
### 2.2 [Workflow files](#how) {#how-workflows} ### Workflow files
* calling the POSIX shell script payload as their very first step * calling the POSIX shell script payload as their very first step
* using a unified YAML syntax made of actions implemented in Python * using a unified YAML syntax made of actions implemented in Python
### 2.3 [Integration & Deployment](#how) {#how-actions} ### Integration & Deployment
#### Shell #### Shell
@ -75,7 +53,7 @@ Picture it…
* [X] Operating System updating * [X] Operating System updating
* [X] installing Git to clone * [X] installing Git to clone
* [X] this project * [X] this project
* [X] its parent project * [X] its parent framework
* [X] installing Python * [X] installing Python
* [X] system environment * [X] system environment
* [X] virtual environment * [X] virtual environment
@ -98,9 +76,9 @@ Picture it…
--- ---
## 3 [What](#toc) {#what} ## What
### 3.1 [Features](#what) {#what-features} ### Features
Handle project workflows in a unified way: Handle project workflows in a unified way:
@ -118,18 +96,18 @@ Handle project workflows in a unified way:
* [ ] SourceHut * [ ] SourceHut
* whatever the Operating System container * whatever the Operating System container
| System | Latest | Previous | | System | Latest | Previous |
|:---------|:-----------------------|:-----------------------| |:---------|:---------------------------|:---------------------------|
| Alma | ☑ 9 | ☑ 8 | | Alma | * [X] 9 | * [X] 8 |
| Alpine | ☑ 3.20 | ☑ 3.19 | | Alpine | * [X] 3.20 | * [X] 3.19 |
| Arch | ☑ 20240818 (.0.255804) | ☑ 20240101 (.0.204074) | | Arch | * [X] 20240818 (.0.255804) | * [X] 20240101 (.0.204074) |
| Debian | ☑ Bookworm (12) | ☐ Bullseye (11) | | Debian | * [X] Bookworm (12) | * [ ] Bullseye (11) |
| Fedora | ☑ 40 | ☑ 39 | | Fedora | * [X] 40 | * [X] 39 |
| OpenSUSE | ☐ 15.6 | ☐ 15.5 | | OpenSUSE | * [ ] 15.6 | * [ ] 15.5 |
| Rocky | ☑ 9 | ☑ 8 | | Rocky | * [X] 9 | * [X] 8 |
| Ubuntu | ☑ Noble (24.04) | ☐ Jammy (22.04) | | Ubuntu | * [X] Noble (24.04) | * [ ] Jammy (22.04) |
### 3.2 [Environment variables](#what) {#what-variables} ### Environment variables
| Variable | Description | Default | | Variable | Description | Default |
|:------------------|:-------------------------|:--------------------------------| |:------------------|:-------------------------|:--------------------------------|
@ -156,7 +134,7 @@ Handle project workflows in a unified way:
| SPCD_URL_ROCKY | Rocky repository URL | https://dl.rockylinux.org | | SPCD_URL_ROCKY | Rocky repository URL | https://dl.rockylinux.org |
| SPCD_URL_UBUNTU | Ubuntu repository URL | https://ubuntu.mirrors.ovh.net | | SPCD_URL_UBUNTU | Ubuntu repository URL | https://ubuntu.mirrors.ovh.net |
### 3.3 [Operating Systems containers](#what) {#what-systems} ### Operating Systems containers
#### Latest #### Latest
@ -188,34 +166,36 @@ Handle project workflows in a unified way:
--- ---
## 4 [Who](#toc) {#who} ## Who
* Author: [Marc Beninca](https://forge.rwx.work/marc.beninca) ### Author
* [Marc Beninca](https://marc.beninca.link)
--- ---
## 5 [Where](#toc) {#where} ## Where
### 5.1 [Chat](#where) {#where-chat} ### Chat
* [Discord](https://discord.com/channels/983145051985154108/1255894420092485652) * [Discord](https://discord.com/channels/983145051985154108/1255894420092485652)
* [IRC](ircs://irc.libera.chat/#spcd) * [IRC](ircs://irc.libera.chat/#spcd)
### 5.2 [Repo](#where) {#where-repo} ### Forge
* [Code](https://forge.rwx.work/rwx.work/spcd) * [Repository](https://forge.rwx.work/rwx.work/spcd)
* [Feed](https://forge.rwx.work/rwx.work/spcd.rss) * [RSS](https://forge.rwx.work/rwx.work/spcd.rss)
* [Actions](https://forge.rwx.work/rwx.work/spcd/actions) * [Workflows](https://forge.rwx.work/rwx.work/spcd/actions)
### 5.3 [Site](#where) {#where-site} ### Deployment
* [Web](https://spcd.rwx.work) * [Site](https://spcd.rwx.work)
--- ---
## 6 [When](#toc) {#when} ## When
### 6.1 [Release tasks](#when) {#when-release} ### Tasks for a 1st stable release
#### Documentation #### Documentation
@ -285,7 +265,7 @@ Handle project workflows in a unified way:
* try git repo url variable first for shunit * try git repo url variable first for shunit
* test * test
### 6.2 [Further tasks](#when) {#when-further} ### Task stack
* automate versions fetching * automate versions fetching
* gource, xvfb, xauth * gource, xvfb, xauth

View file

@ -641,7 +641,7 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
SPCD_PYTHON_PACKAGE="python3" SPCD_PYTHON_PACKAGE="python3"
;; ;;
"${SPCD_OS_ARCH}") "${SPCD_OS_ARCH}")
SPCD_PYTHON_COMMAND="python3.13" SPCD_PYTHON_COMMAND="python3.12"
SPCD_PYTHON_PACKAGE="python" SPCD_PYTHON_PACKAGE="python"
;; ;;
"${SPCD_OS_DEBIAN}") "${SPCD_OS_DEBIAN}")
@ -828,12 +828,7 @@ spcd_f_pkg() {
spcd_f_pm_pkg_install "plantuml" spcd_f_pm_pkg_install "plantuml"
# qrencode # qrencode
spcd_step "QRencode" spcd_step "QRencode"
case "${SPCD_OS_ID}" in spcd_f_pm_pkg_install "qrencode"
"${SPCD_OS_ALPINE}")
spcd_f_pm_pkg_install "libqrencode-tools"
;;
*) spcd_f_pm_pkg_install "qrencode" ;;
esac
# rsync # rsync
spcd_step "Rsync" spcd_step "Rsync"
spcd_f_pm_pkg_install "rsync" spcd_f_pm_pkg_install "rsync"