mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 17:20:21 -05:00
docs: update workflow references from quarto-build.yml to quarto-build-container.yml
- Update CONTAINER_BUILDS.md to reflect current workflow status - Fix workflow cleanup documentation examples - Update PUBLISH_LIVE_WORKFLOW.md references - Clarify that container workflow is now the primary build method
This commit is contained in:
@@ -78,15 +78,15 @@ gh workflow run quarto-build-container.yml --field os=ubuntu-latest --field form
|
||||
## Workflow Integration
|
||||
|
||||
### Current Workflows
|
||||
- `quarto-build.yml` - Original workflow (brute force approach)
|
||||
- `quarto-build-container.yml` - Containerized version (fast path)
|
||||
- `quarto-build-baremetal.yml` - Original workflow (brute force approach, legacy)
|
||||
- `quarto-build-container.yml` - Containerized version (fast path, recommended)
|
||||
- `build-linux-container.yml` - Linux container management
|
||||
- `build-windows-container.yml` - Windows container management
|
||||
|
||||
### Migration Strategy
|
||||
1. **Phase 1**: Test containerized builds on dev branch
|
||||
2. **Phase 2**: Compare performance and reliability
|
||||
3. **Phase 3**: Replace original workflow if successful
|
||||
### Migration Status
|
||||
1. **✅ Phase 1**: Containerized builds tested and validated
|
||||
2. **✅ Phase 2**: Performance significantly improved (45min → 5-10min)
|
||||
3. **✅ Phase 3**: Container workflow is now the primary build method
|
||||
|
||||
## Container Contents
|
||||
|
||||
@@ -151,7 +151,7 @@ LC_ALL=en_US.UTF-8
|
||||
## Rollback Plan
|
||||
|
||||
If issues arise:
|
||||
1. Keep original `quarto-build.yml` as backup
|
||||
1. Keep original `quarto-build-baremetal.yml` as backup
|
||||
2. Switch back to traditional builds immediately
|
||||
3. Debug container issues separately
|
||||
4. Re-enable when resolved
|
||||
|
||||
@@ -60,7 +60,7 @@ The publish-live workflow is designed to handle the publication of your Machine
|
||||
|
||||
### Modified Files
|
||||
- `.github/workflows/publish-live.yml`: Added PDF download and upload steps
|
||||
- `.github/workflows/quarto-build.yml`: Modified deployment to exclude PDF from git
|
||||
- `.github/workflows/quarto-build-container.yml`: Modified deployment to exclude PDF from git
|
||||
- `.gitignore`: Added PDF exclusion rules
|
||||
- `tools/scripts/quarto_publish/publish.sh`: Removed PDF commit
|
||||
- `binder`: Removed PDF commit
|
||||
|
||||
@@ -46,7 +46,7 @@ python3 tools/scripts/cleanup_workflow_runs.py --summary
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --dry-run --keep 5
|
||||
|
||||
# Preview cleanup for specific workflow
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --dry-run --workflow "quarto-build.yml" --keep 3
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --dry-run --workflow "quarto-build-container.yml" --keep 3
|
||||
```
|
||||
|
||||
### Actual Cleanup
|
||||
@@ -55,7 +55,7 @@ python3 tools/scripts/cleanup_workflow_runs.py --dry-run --workflow "quarto-buil
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --keep 5
|
||||
|
||||
# Clean specific workflow only, keep 3 runs
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --workflow "quarto-build.yml" --keep 3
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --workflow "quarto-build-container.yml" --keep 3
|
||||
|
||||
# Keep more runs (10 per workflow)
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --keep 10
|
||||
@@ -76,7 +76,7 @@ export GITHUB_REPOSITORY="owner/repo"
|
||||
You can target specific workflows by name or filename:
|
||||
```bash
|
||||
# By workflow filename
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --workflow "quarto-build.yml" --keep 3
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --workflow "quarto-build-container.yml" --keep 3
|
||||
|
||||
# By workflow name
|
||||
python3 tools/scripts/cleanup_workflow_runs.py --workflow "Quarto Build" --keep 3
|
||||
|
||||
Reference in New Issue
Block a user