veilid/scripts/cicd-python
TC Johnson ea0c3b6469 Converting CICD from Bash to Python Scripts
Calling this Phase 1. I've switch the build machine philosophy from
using a dedicated Digital Ocean droplet per arch to using one large
build machine and the +package-linux Earthly target which results
in .deb and .rpm packages for both amd64 and arm64/aarch64.

The script to create and delete the build machine has been migrated
to Python. I feel like the error handling is better and the delete
function now does its thing by using the specific ID of the running
build machine vs the name. Using the name would, in rare circumstances,
fail when more than one machine of the same name existed causing
duplicates to be created, all very expensive and creating larger than
normal Digital Ocean costs.

Lastly, moving the .deb and .rpm packages from the build machine
to the build orchestrator for creating and signing the repositories
now uses the Gitlab CICD artifact system verses SCP. This switch
will allow us to include the packages in the release records and
maybe streamline the Python and Crates distribution jobs in a
later phase of this project.

Changes are made in the Dry Run section off the CICD config for
testing, which will start in a few minutes and probably result in
a bunch of failed pipelines and tweaking because there's just no
way I got all of this right on the first try.
2025-03-16 11:08:58 -05:00
..
utils Converting CICD from Bash to Python Scripts 2025-03-16 11:08:58 -05:00
.gitignore Converting CICD from Bash to Python Scripts 2025-03-16 11:08:58 -05:00
.python-version Initial work to create and delete droplets 2025-03-01 12:54:15 -06:00
__init__.py Initial work to create and delete droplets 2025-03-01 12:54:15 -06:00
config.json Converting CICD from Bash to Python Scripts 2025-03-16 11:08:58 -05:00
pyproject.toml Initial work to create and delete droplets 2025-03-01 12:54:15 -06:00
README.md Initial work to create and delete droplets 2025-03-01 12:54:15 -06:00
uv.lock Initial work to create and delete droplets 2025-03-01 12:54:15 -06:00
veilid_release_utils.py Converting CICD from Bash to Python Scripts 2025-03-16 11:08:58 -05:00