-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve certificate handling and GitHub Actions security
- Add scripts for certificate splitting and GitHub secret management - Update workflow files with proper security permissions - Implement flexible certificate assembly from multiple parts - Update documentation for certificate management - Enhance .gitignore for certificate-related files
- Loading branch information
1 parent
dc2bc7b
commit 876e593
Showing
11 changed files
with
999 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# ComplianceAsCode Builder Environment Configuration | ||
# Copy this file to .env and modify as needed | ||
|
||
# Build Configuration | ||
BUILD_TYPE=full # Options: full, minimal | ||
PRODUCT=rhel10 # Default product to build | ||
|
||
# Certificate Configuration | ||
# If you need to specify a custom certificate location | ||
# CERT_PATH=/path/to/your/ca-bundle.pem | ||
# EXTRA_CERT_PATH=/path/to/extra-cert.pem | ||
|
||
# Docker Configuration | ||
# DOCKER_BUILDKIT=1 # Enable Docker BuildKit for faster builds | ||
# COMPOSE_PROJECT_NAME=cac-builder | ||
|
||
# GitHub Configuration (for workflows) | ||
# GITHUB_TOKEN= # For GitHub API access (don't commit actual tokens!) | ||
|
||
# Network Configuration | ||
# HTTP_PROXY=http://proxy.example.com:8080 | ||
# HTTPS_PROXY=http://proxy.example.com:8080 | ||
# NO_PROXY=localhost,127.0.0.1 | ||
|
||
# Resource Limits | ||
# DOCKER_MEMORY=8g # Container memory limit | ||
# DOCKER_CPUS=4 # Container CPU limit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,72 @@ | ||
# Certificates | ||
certs/org/*.pem | ||
!certs/org/.gitkeep | ||
# Ignore certificate files | ||
certs/ | ||
*.pem | ||
*.crt | ||
*.key | ||
*.p12 | ||
*.pfx | ||
*.jks | ||
|
||
# Build artifacts | ||
output/* | ||
!output/.gitkeep | ||
# Ignore split certificate directory and files | ||
split-certs/ | ||
**/split-certs/ | ||
part*.pem | ||
chunk-* | ||
|
||
# Environment files | ||
# Environment and secrets | ||
.env | ||
.env.local | ||
.env.*.local | ||
.secrets | ||
|
||
# Docker related | ||
.docker/ | ||
|
||
# Temporary files | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~ | ||
|
||
# macOS specific files | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
# Build artifacts | ||
build/ | ||
output/ | ||
dist/ | ||
*.o | ||
*.a | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Windows specific files | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
# Container-related | ||
.container-* | ||
.docker-* | ||
|
||
# IDE files | ||
.idea/ | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history | ||
*.code-workspace | ||
|
||
# Python | ||
# Python-related | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
.pytest_cache/ | ||
*.so | ||
.Python | ||
env/ | ||
venv/ | ||
ENV/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# Node.js related | ||
node_modules/ | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# IDE specific files | ||
.idea/ | ||
.vscode/ | ||
*.swp | ||
*.swo | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.