mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-04-26 09:56:01 +02:00
5caeff2f1c
Reorder folders based on learning dependencies, complexity, and frequency of use: - 01-slash-commands (unchanged) - Quick wins for beginners - 02-memory (was 03) - Essential foundation - 03-skills (was 05) - Auto-invoked capabilities - 04-subagents (was 02) - Task delegation - 05-mcp (was 04) - External integration - 06-hooks (was 07) - Event automation - 07-plugins (was 06) - Bundled solutions - 08-checkpoints (unchanged) - Safe experimentation - 09-advanced-features (unchanged) - Power user tools Documentation improvements: - Add LEARNING-ROADMAP.md with detailed milestones and exercises - Simplify README.md for better scannability - Consolidate Quick Start and Getting Started sections - Combine Feature Comparison and Use Case Matrix tables - Reorder README sections: Learning Path → Quick Reference → Getting Started - Update all cross-references across module READMEs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
789 B
JavaScript
35 lines
789 B
JavaScript
#!/usr/bin/env node
|
|
|
|
/**
|
|
* Post-deployment hook
|
|
* Runs after deployment completes
|
|
*/
|
|
|
|
async function postDeploy() {
|
|
console.log('Running post-deployment tasks...');
|
|
|
|
const { execSync } = require('child_process');
|
|
|
|
// Wait for pods to be ready
|
|
console.log('Waiting for pods to be ready...');
|
|
try {
|
|
execSync('kubectl wait --for=condition=ready pod -l app=myapp --timeout=300s', {
|
|
stdio: 'inherit'
|
|
});
|
|
} catch (error) {
|
|
console.error('❌ Pods failed to become ready');
|
|
process.exit(1);
|
|
}
|
|
|
|
// Run smoke tests
|
|
console.log('Running smoke tests...');
|
|
// Add your smoke test commands here
|
|
|
|
console.log('✅ Post-deployment tasks complete');
|
|
}
|
|
|
|
postDeploy().catch(error => {
|
|
console.error('Post-deploy hook failed:', error);
|
|
process.exit(1);
|
|
});
|