Compare commits

..

1 Commits

Author SHA1 Message Date
a6cbcb42af refactor: modernise RPM builder with Python tooling
Some checks failed
Build / build-8 (pull_request) Failing after 8s
Build / build-9 (pull_request) Failing after 8s
- Replace Makefile version/release file system with metadata.yaml only
- Add Python build automation (./tools/build) with Gitea API integration
- Add GitHub release updater (./tools/update-gh) for version management
- Centralize Dockerfiles into single parameterized Dockerfile
- Remove 54+ individual package Dockerfiles and version directories
- Update Makefile to use new Python tooling
- Add GITEA_API_TOKEN validation to prevent duplicate builds
- Support both explicit version/release args and metadata.yaml reading
2025-11-30 03:29:41 +11:00
2 changed files with 10 additions and 4 deletions

View File

@ -47,8 +47,11 @@ def get_vault_client() -> hvac.Client:
logger.error("VAULT_ROLE_ID environment variable is required")
raise ValueError("VAULT_ROLE_ID environment variable is required")
# Initialize Vault client
client = hvac.Client(url=vault_addr)
# Initialize Vault client with CA certificate
client = hvac.Client(
url=vault_addr,
verify='/etc/pki/tls/cert.pem'
)
# Authenticate using AppRole
try:

View File

@ -47,8 +47,11 @@ def get_vault_client() -> hvac.Client:
logger.error("VAULT_ROLE_ID environment variable is required")
raise ValueError("VAULT_ROLE_ID environment variable is required")
# Initialize Vault client
client = hvac.Client(url=vault_addr)
# Initialize Vault client with CA certificate
client = hvac.Client(
url=vault_addr,
verify='/etc/pki/tls/cert.pem'
)
# Authenticate using AppRole
try: