Add Certbot and HAProxy management modules, container environment parsing, and plugin management framework
- Introduced `certbot.py` for ACME certificate management, including certificate issuance, renewal, and environment validation. - Added `haproxy.py` for HAProxy process management, configuration validation, and dynamic command handling. - Implemented `container_env.py` for reading and parsing environment variables with YAML overrides. - Created `consts.py` for centralized management of static and dynamic paths. - Added `manager.py` to enable plugin discovery, initialization, configuration, and execution. - Refactored logging and configuration handling across modules for consistency. Enhances modularity and scalability by introducing feature-dedicated modules and structured configuration handling.
This commit is contained in:
parent
48f6e1f783
commit
d894778ddc
23 changed files with 2255 additions and 2241 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -10,6 +10,15 @@ on:
|
|||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch: # Allow manual trigger
|
||||
inputs:
|
||||
push:
|
||||
description: 'Push image to registry'
|
||||
required: false
|
||||
default: 'false'
|
||||
type: choice
|
||||
options:
|
||||
- 'false'
|
||||
- 'true'
|
||||
|
||||
env:
|
||||
# github.repository as <account>/<repo>
|
||||
|
|
@ -138,7 +147,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log into registry
|
||||
if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'
|
||||
if: github.event_name == 'push' || github.event.inputs.push == 'true'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ secrets.DOCKER_REGISTRY }}
|
||||
|
|
@ -205,7 +214,7 @@ jobs:
|
|||
build-args: |
|
||||
RELEASE_VERSION_ARG="${{ steps.tags.outputs.result }}"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
|
||||
push: ${{ github.event_name == 'push' || github.event.inputs.push == 'true' }}
|
||||
tags: ${{ steps.normalized.outputs.result }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
|
|
@ -214,7 +223,7 @@ jobs:
|
|||
|
||||
|
||||
# - name: Docker Hub Description
|
||||
# if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'
|
||||
# if: github.event_name == 'push' || github.event.inputs.push == 'true'
|
||||
# run: |
|
||||
# wget -q https://github.com/christian-korneck/docker-pushrm/releases/download/v1.8.0/docker-pushrm_linux_amd64 -O $HOME/.docker/cli-plugins/docker-pushrm
|
||||
# chmod +x $HOME/.docker/cli-plugins/docker-pushrm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue