Skip to content

Automate certificate renewal#16

Merged
pulsejet merged 2 commits intomainfrom
cert-renew
May 12, 2025
Merged

Automate certificate renewal#16
pulsejet merged 2 commits intomainfrom
cert-renew

Conversation

@pulsejet
Copy link
Copy Markdown
Contributor

@pulsejet pulsejet requested a review from Copilot May 12, 2025 04:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR automates certificate renewal by consolidating multiple renewal scripts into a single script and ensuring certificates are renewed when necessary. The key changes include:

  • Adding SCRIPT_DIR initialization in utils.sh for easier path management.
  • Replacing multiple individual renewal script calls with a unified cert-renew.sh in master.sh and cron-master.sh.
  • Introducing a new cert-renew.sh that checks for certificate renewal needs and applies a force flag as needed.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/utils.sh Added SCRIPT_DIR initialization and adjusted renewal check logic.
scripts/master.sh Replaced individual certificate renewal calls with a unified script invocation.
scripts/cron-master.sh Updated to remove git lock file, pull latest changes, and run the unified renewal script.
scripts/cert-renew.sh New script that centralizes certificate renewal and container restart logic.
scripts/cert-check.py New script that validates certificate expiry dates.

Comment thread scripts/cert-renew.sh
Comment thread scripts/master.sh
Comment thread scripts/cron-master.sh
@pulsejet pulsejet merged commit ca90766 into main May 12, 2025
6 checks passed
@pulsejet pulsejet deleted the cert-renew branch May 12, 2025 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants