Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .changeset/smooth-cows-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
"@noxify/gitlab-ci-builder": minor
---

Added pipeline simulation feature and improved remote extends handling

**Simulation Features:**

- Added `simulate` CLI command to simulate GitLab CI pipeline execution
- Added `PipelineSimulator` class for rule evaluation and job filtering
- Support for branch, tag, and merge request pipeline simulation
- Multiple output formats: summary, table, JSON, YAML, and text
- Predefined CI variables automatically set based on context
- Comprehensive integration and E2E test coverage

**Remote Extends Improvements:**

- Added `mergeRemoteExtends` global option to control remote extends resolution
- Fixed remote extends resolution for accurate pipeline simulation
- Better handling of remote includes and templates

**Documentation & Testing:**

- Enhanced CLI documentation with predefined variables table
- Added error handling documentation for remote includes
- Added "Common Pitfalls & Best Practices" section
- Improved JSDoc coverage for all public APIs
3 changes: 1 addition & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
1. Types first
2. React/Next.js/Expo (if applicable)
3. Third-party modules
4. @vorsteh-queue packages
5. Relative imports (~/,../, ./)
4. Relative imports (~/,../, ./)

## Code Generation Guidelines

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
- name: Integration Tests
run: pnpm test:integration

- name: E2E Tests
run: pnpm test:e2e

pkg-new-release:
needs: [lint, format, typecheck]
if: github.event_name == 'pull_request'
Expand Down
Loading
Loading