-
Notifications
You must be signed in to change notification settings - Fork 29
Slice 5: Deprecation, cleanup, and pipeline documentation #593
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestteam/pit-crewslack notifier for pit crewslack notifier for pit crew
Description
Parent PRD
What to build
After Slices 2, 3, and 4 have been verified through live pipeline execution, perform the final cleanup:
1. Delete deprecated files:
validation/pipeline/tfp/Jenkinsfile.airgap.tests— uses completely different patterns (no shared library, Docker volumes, hashicorp/terraform instead of tofu), no longer actively maintained
2. Archive replaced Jenkinsfiles:
Move the following to a validation/deprecated/ directory (not deleted immediately, archived for reference):
validation/pipeline/Jenkinsfile.setup.airgap.rke2(replaced byJenkinsfile.airgap-rke2-infraACTION=setup)validation/pipeline/Jenkinsfile.destroy.airgap.rke2(replaced byJenkinsfile.airgap-rke2-infraACTION=destroy)validation/pipeline/Jenkinsfile.airgap.go-tests(replaced byJenkinsfile.airgap-rke2-tests)validation/Jenkinsfile(replaced byJenkinsfile.validation)validation/Jenkinsfile.e2e(replaced byJenkinsfile.validation)validation/Jenkinsfile.harvester(replaced byJenkinsfile.validationNODE_LABEL=harvester-vpn-1)validation/Jenkinsfile.vsphere(replaced byJenkinsfile.validationNODE_LABEL=vsphere-vpn-1)
3. Create pipeline documentation:
Add validation/pipeline/README.md covering:
- Overview of the shared library architecture (qa-jenkins-library functions)
- How to create a new pipeline using shared functions (step-by-step guide)
- Naming convention:
Jenkinsfile.<category>-<variant>(e.g.,airgap-rke2-infra,validation) - Parameter naming conventions and harmonized defaults
- How to propose additions to qa-jenkins-library
- Migration status: which old files map to which new files
4. Add function documentation:
Ensure all shared functions added in #589 have clear @param documentation in their Groovy source files (in qa-jenkins-library).
Acceptance criteria
-
validation/pipeline/tfp/Jenkinsfile.airgap.testsdeleted - 7 replaced Jenkinsfiles moved to
validation/deprecated/ -
validation/pipeline/README.mdcreated with pipeline development guide - README includes old→new file mapping table
- README includes naming convention documentation
- README includes parameter convention documentation
- README includes instructions for proposing qa-jenkins-library additions
- All shared functions have
@paramdocumentation - New team member can create a new pipeline variant in under 30 minutes using the README guide
Blocked by
- Blocked by Slice 2: Create unified airgap infra pipeline (Jenkinsfile.airgap-rke2-infra) #590 (Slice 2: airgap infra pipeline must be verified)
- Blocked by Slice 3: Create airgap test pipeline (Jenkinsfile.airgap-rke2-tests) #591 (Slice 3: airgap test pipeline must be verified)
- Blocked by Slice 4: Create unified validation pipeline (Jenkinsfile.validation) #592 (Slice 4: validation pipeline must be verified)
User stories addressed
- User story 22 (old and new coexist during migration, then old files archived)
- User story 23 (simplified naming convention documented)
- User story 25 (README explaining shared library structure)
- User story 26 (clear parameter documentation for shared functions)
- User story 27 (new pipeline variant creation in under 30 minutes)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestteam/pit-crewslack notifier for pit crewslack notifier for pit crew