projen-pipelines 0.2.13 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,6 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "bin": {
11
+ "detect-drift": "lib/drift/detect-drift.js",
11
12
  "pipelines-release": "lib/release.js"
12
13
  },
13
14
  "bundled": {
@@ -105,7 +106,7 @@
105
106
  },
106
107
  "name": "projen-pipelines",
107
108
  "readme": {
108
- "markdown": "# Projen Pipelines\n\n[![npm version](https://badge.fury.io/js/projen-pipelines.svg)](https://www.npmjs.com/package/projen-pipelines)\n\nProjen Pipelines is an open-source project that automates the generation of CI/CD pipelines using Projen,\na project configuration tool created by the inventor of AWS CDK.\nIt provides high-level abstractions for defining continuous delivery (CD) pipelines for applications,\nspecifically designed to work with the projen project configuration engine.\n\n### Key Features\n\n* Automates code generation for CI/CD pipelines\n* Supports multiple CI/CD platforms (currently GitHub Actions and GitLab CI, with more in development)\n* Provides baked-in proven defaults for pipeline configurations\n* Enables compliance-as-code integration\n* Allows easy switching between different CI/CD platforms without rewriting pipeline configurations\n* Handles complex deployment scenarios with less code\n* Manages AWS infrastructure more efficiently and straightforwardly\n* Automatic versioning with flexible strategies and multiple output targets\n\n### Benefits\n\n* Reduces repetitive work in writing and maintaining pipeline configurations\n* Ensures consistency across projects by using proven defaults\n* Simplifies compliance management by integrating it directly into pipeline definitions\n* Facilitates platform migrations (e.g., from GitHub to GitLab) by abstracting pipeline definitions\n* Provides automatic version tracking and exposure through CloudFormation and SSM Parameter Store\n\n## Beyond AWS CDK: A Vision for Universal CI/CD Pipeline Generation\n\nWhile Projen Pipelines currently focuses on AWS CDK applications, our vision extends far beyond this initial scope.\nWe aim to evolve into a universal CI/CD pipeline generator capable of supporting a wide variety of application types and deployment targets.\n\n### Future Direction:\n\n1. Diverse Application Support: We plan to expand our capabilities to generate pipelines for various application types, including but not limited to:\n * Traditional web applications\n * Terraform / OpenTOFU projects\n * Winglang applications\n1. Multi-Cloud Deployment: While we started with AWS, we aim to support deployments to other major cloud providers like Azure, Google Cloud Platform, and others.\n1. On-Premises and Hybrid Scenarios: We recognize the importance of on-premises and hybrid cloud setups and plan to cater to these deployment models.\n1. Framework Agnostic: Our goal is to make Projen Pipelines adaptable to work with various development frameworks and tools, not just those related to AWS or cloud deployments.\n1. Extensibility: We're designing the system to be easily extensible, allowing the community to contribute modules for new application types, deployment targets, or CI/CD platforms.\n\nBy broadening our scope, we aim to create a tool that can standardize and simplify CI/CD pipeline creation across the entire spectrum of modern application development and deployment scenarios.\nWe invite the community to join us in this journey, contributing ideas, use cases, and code to help realize this vision.\n\n## How Projen Pipelines work\n![High level Projen Pipelines Overview](documentation/overview.png)\n\nUnder the hood, after you define the pipeline and select the target engine you want to work on, we use code generation methods to create the required CI/CD pipeline in your project.\n\nWe are considering allowing the selection of multiple engines going forward - please let us know if this is a feature you would use!\n\n## Getting Started\n\n### Installation\n\nTo install the package, add the package `projen-pipelines` to your projects devDeps in your projen configuration file.\n\nAfter installing the package, you can import and use the constructs to define your CDK Pipelines.\n\nYou will also have to setup an IAM role that can be used by GitHub Actions. For example, create a role named `GithubDeploymentRole` in your deployment account (`123456789012`) with a policy like this to assume the CDK roles of the pipeline stages (AWS account IDs `123456789013` and `123456789014`):\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"Statement1\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Resource\": [\n \"arn:aws:iam::123456789013:role/cdk-*-123456789013-*\",\n \"arn:aws:iam::123456789014:role/cdk-*-123456789014-*\"\n ]\n }\n ]\n}\n```\n\nAdd a trust policy to this role as described in this tutorial: [Configuring OpenID Connect in Amazon Web Services](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services)\n\n### Usage with AWS CDK\n\nYou can start using the constructs provided by Projen Pipelines in your AWS CDK applications. Here's a brief example:\n\n```typescript\nimport { awscdk } from 'projen';\nimport { GithubCDKPipeline } from 'projen-pipelines';\n\n// Define your AWS CDK TypeScript App\nconst app = new awscdk.AwsCdkTypeScriptApp({\n cdkVersion: '2.150.0',\n name: 'my-awesome-app',\n defaultReleaseBranch: 'main',\n devDeps: [\n 'projen-pipelines',\n ],\n});\n\n// Create the pipeline\nnew GithubCDKPipeline(app, {\n stackPrefix: 'MyApp',\n iamRoleArns: {\n default: 'arn:aws:iam::123456789012:role/GithubDeploymentRole',\n },\n pkgNamespace: '@company-assemblies',\n useGithubPackagesForAssembly: true,\n stages: [\n {\n name: 'dev',\n env: { account: '123456789013', region: 'eu-central-1' },\n }, {\n name: 'prod',\n manualApproval: true,\n env: { account: '123456789014', region: 'eu-central-1' },\n }],\n});\n```\n\nAfter running projen (`npx projen`) a new file called `src/app.ts` will be created and contain a specialized CDK App class for your project.\n\nYou can then use this in your `main.ts` to configure your deployment.\n\n```typescript\nimport { PipelineApp } from './app';\nimport { BackendStack } from './stack';\n\nconst app = new PipelineApp({\n provideDevStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: 'api-dev',\n myConfigSetting: 'value-for-dev',\n });\n },\n provideProdStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: 'api',\n myConfigSetting: 'value-for-prod',\n });\n },\n providePersonalStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: `api-${props.stageName}`,\n myConfigSetting: 'value-for-personal-stage',\n });\n },\n});\n\napp.synth();\n```\n\n### Setting Up Trust Relationships Between Accounts\n\nWhen planning to manage multiple staging environments, you will need to establish trust relationships. This process centralizes deployment control, improving operational efficiency and security by consolidating deployment management through a singular, monitored channel. Here is a simplified diagram for the setup:\n\n![Trust relationship](documentation/trust.svg)\n\n#### Step 1: Bootstrapping Each Account\n\nBootstrapping initializes the AWS CDK environment in each account. It prepares the account to work with AWS CDK apps deployed from other accounts. Use the `cdk bootstrap` command for this purpose. Replace `<deployment_account_id>` with the actual AWS account ID of your deployment account.\n\nYou can use the [CloudShell](https://aws.amazon.com/cloudshell/) to bootstrap each staging account:\n\n```bash\ncdk bootstrap --trust <deployment_account_id> --cloudformation-execution-policies \"arn:aws:iam::aws:policy/AdministratorAccess\"\n```\n\n**Note:**\n\nWhile `AdministratorAccess` grants full access to all AWS services and resources, it's not recommended for production environments due to security risks. Instead, create custom IAM policies that grant only the necessary permissions required for deployment operations.\n\n### Deployment\n\nThe `<Engine>CDKPipeline` class creates and adds several tasks to the projen project that then can be used in your pipeline to deploy your application to AWS.\n\nHere's a brief description of each one:\n\n1. **deploy:personal** - This task deploys the application's personal stage, which is a distinct, isolated deployment of the application. The personal stage is intended for personal use, such as testing and development.\n\n2. **watch:personal** - This task deploys the personal stage of the application in watch mode. In this mode, the AWS CDK monitors your application source files for changes, automatically re-synthesizing and deploying when it detects any changes.\n\n3. **diff:personal** - This task compares the deployed personal stage with the current state of the application code. It's used to understand what changes would be made if the application were deployed.\n\n4. **destroy:personal** - This task destroys the resources created for the personal stage of the application.\n\n5. **deploy:feature** - This task deploys the application's feature stage. The feature stage is used for new features testing before these are merged into the main branch.\n\n6. **diff:feature** - This task is similar to `diff:personal`, but for the feature stage.\n\n7. **destroy:feature** - This task destroys the resources created for the feature stage of the application.\n\n8. **deploy:<stageName>** - This task deploys a specific stage of the application (like 'dev' or 'prod').\n\n9. **diff:<stageName>** - This task compares the specified application stage with the current state of the application code.\n\n10. **publish:assets** - This task publishes the CDK assets to all accounts. This is useful when the CDK application uses assets like Docker images or files from the S3 bucket.\n\n11. **bump** - This task bumps the version based on the latest git tag and pushes the updated tag to the git repository.\n\n12. **release:push-assembly** - This task creates a manifest, bumps the version without creating a git tag, and publishes the cloud assembly to your registry.\n\nRemember that these tasks are created and managed automatically by the `CDKPipeline` class. You can run these tasks using the `npx projen TASK_NAME` command.\n\n## Versioning\n\nProjen Pipelines includes a comprehensive versioning system that automatically tracks and exposes deployment versions through various AWS services. This feature enables deployment traceability, automated rollback decisions, and comprehensive audit trails.\n\n### Basic Versioning Configuration\n\nTo enable versioning in your pipeline, add the `versioning` configuration:\n\n```typescript\nimport { awscdk } from 'projen';\nimport { GithubCDKPipeline, VersioningStrategy, VersioningOutputs } from 'projen-pipelines';\n\nconst app = new awscdk.AwsCdkTypeScriptApp({\n // ... other config\n});\n\nnew GithubCDKPipeline(app, {\n // ... other pipeline config\n\n versioning: {\n enabled: true,\n strategy: VersioningStrategy.commitCount(),\n outputs: VersioningOutputs.standard()\n }\n});\n```\n\n### Versioning Strategies\n\nProjen Pipelines provides several built-in versioning strategies:\n\n#### Git Tag Strategy\nUses git tags as the version source, with optional prefix stripping:\n\n```typescript\n// Basic git tag strategy\nconst strategy = VersioningStrategy.gitTag();\n\n// With custom configuration\nconst strategy = VersioningStrategy.gitTag({\n stripPrefix: 'v', // Strip 'v' from tags (v1.2.3 → 1.2.3)\n annotatedOnly: true, // Only use annotated tags\n includeSinceTag: true // Include commits since tag\n});\n```\n\n#### Package.json Strategy\nUses the version from your package.json file:\n\n```typescript\n// Basic package.json strategy\nconst strategy = VersioningStrategy.packageJson();\n\n// With custom configuration\nconst strategy = VersioningStrategy.packageJson({\n path: './package.json',\n includePrerelease: true,\n appendCommitInfo: true\n});\n```\n\n#### Commit Count Strategy\nUses the number of commits as the version:\n\n```typescript\n// Basic commit count strategy\nconst strategy = VersioningStrategy.commitCount();\n\n// With custom configuration\nconst strategy = VersioningStrategy.commitCount({\n countFrom: 'all', // 'all' | 'since-tag'\n includeBranch: true, // Include branch name\n padding: 5 // Zero-pad count (00001)\n});\n```\n\n#### Build Number Strategy\nCreates a version from build metadata:\n\n```typescript\n// Basic build number strategy\nconst strategy = VersioningStrategy.buildNumber();\n\n// With custom configuration\nconst strategy = VersioningStrategy.buildNumber({\n prefix: 'release',\n commitCount: { countFrom: 'all', padding: 5 }\n});\n// Output: release-01234-3a4b5c6d\n```\n\n#### Custom Composite Strategy\nCreate your own version format using template variables:\n\n```typescript\nconst strategy = VersioningStrategy.create(\n '{git-tag}+{commit-count}-{commit-hash:8}',\n {\n gitTag: { stripPrefix: 'v' },\n commitCount: { countFrom: 'since-tag' }\n }\n);\n// Output: 1.2.3+45-3a4b5c6d\n```\n\n### Version Output Configurations\n\nControl how and where version information is exposed:\n\n#### CloudFormation Outputs\nExport version information as CloudFormation stack outputs:\n\n```typescript\n// Basic CloudFormation output\nconst outputs = VersioningOutputs.cloudFormationOnly();\n\n// With custom configuration\nconst outputs = VersioningOutputs.cloudFormationOnly({\n exportName: 'MyApp-{stage}-Version'\n});\n```\n\n#### SSM Parameter Store\nStore version information in AWS Systems Manager Parameter Store:\n\n```typescript\n// Basic parameter store\nconst outputs = VersioningOutputs.parameterStoreOnly('/myapp/{stage}/version');\n\n// Hierarchical parameters\nconst outputs = VersioningOutputs.hierarchicalParameters('/myapp/{stage}/version', {\n includeCloudFormation: true\n});\n```\n\nThis creates parameters like:\n- `/myapp/prod/version` → Full version JSON\n- `/myapp/prod/version/commit` → Commit hash\n- `/myapp/prod/version/tag` → Git tag\n- `/myapp/prod/version/count` → Commit count\n\n#### Standard Configuration\nThe recommended configuration that uses CloudFormation outputs with optional Parameter Store:\n\n```typescript\nconst outputs = VersioningOutputs.standard({\n parameterName: '/myapp/{stage}/version',\n});\n```\n\n### Output Formats\n\nVersion information can be output in two formats:\n\n**Plain Format:** Simple string values in CloudFormation\n```yaml\nOutputs:\n AppVersion:\n Value: \"1.2.3+45-3a4b5c6d\"\n Description: \"Application version\"\n AppCommitHash:\n Value: \"3a4b5c6def1234567890\"\n Description: \"Git commit hash\"\n```\n\n**Structured Format:** JSON object with comprehensive metadata in SSM\n```json\n{\n \"version\": \"1.2.3\",\n \"commitHash\": \"3a4b5c6def1234567890\",\n \"commitCount\": 1234,\n \"commitsSinceTag\": 45,\n \"branch\": \"main\",\n \"tag\": \"v1.2.3\",\n \"deployedAt\": \"2024-01-15T10:30:00Z\",\n \"deployedBy\": \"github-actions\",\n \"buildNumber\": \"456\",\n \"environment\": \"production\"\n}\n```\n\n### Stage-Specific Overrides\n\nConfigure different versioning strategies for different stages:\n\n```typescript\nnew GithubCDKPipeline(app, {\n versioning: {\n enabled: true,\n strategy: VersioningStrategy.gitTag(),\n outputs: VersioningOutputs.standard(),\n stageOverrides: {\n dev: {\n strategy: VersioningStrategy.commitCount(),\n outputs: VersioningOutputs.minimal()\n },\n prod: {\n validation: {\n requireTag: true,\n tagPattern: /^v\\d+\\.\\d+\\.\\d+$/\n }\n }\n }\n }\n});\n```\n\n### Template Variables\n\nAll strategies support these template variables:\n- `{git-tag}` - Git tag (with optional prefix stripping)\n- `{package-version}` - Version from package.json\n- `{commit-count}` - Number of commits\n- `{commit-hash}` - Full commit hash\n- `{commit-hash:8}` - Short commit hash (8 characters)\n- `{branch}` - Git branch name\n- `{build-number}` - CI/CD build number\n\n### Benefits of Versioning\n\n1. **Deployment Traceability**: Always know exactly which code version is deployed\n2. **Automated Rollback**: Use version information for automated rollback decisions\n3. **Audit Trail**: Comprehensive deployment history with metadata\n4. **Multi-Stage Support**: Different versioning strategies per environment\n5. **Zero Configuration**: Works out-of-the-box with sensible defaults\n6. **CI/CD Integration**: Automatically detects version info from CI/CD environments\n\n### Feature Branch Deployments\n\nProjen Pipelines supports automated feature branch deployments for GitHub Actions. This allows you to deploy and test your changes in isolated environments before merging to the main branch. Gitlab support is currently missing.\n\n#### Configuration\n\nTo enable feature branch deployments, add the `featureStages` configuration to your pipeline:\n\n```typescript\nnew GithubCDKPipeline(app, {\n stackPrefix: 'MyApp',\n iamRoleArns: {\n default: 'arn:aws:iam::123456789012:role/GithubDeploymentRole',\n },\n featureStages: {\n env: { account: '123456789013', region: 'eu-central-1' },\n },\n stages: [\n // ... your regular stages\n ],\n});\n```\n\n#### How It Works\n\nWhen feature stages are configured, two GitHub workflows are created:\n\n1. **deploy-feature** - Automatically deploys your feature branch when a pull request is labeled with `feature-deployment`\n2. **destroy-feature** - Automatically destroys the feature deployment when:\n - The pull request is closed\n - The `feature-deployment` label is removed from the pull request\n\n#### Using Feature Deployments\n\n1. Create a pull request with your changes\n2. Add the `feature-deployment` label to trigger deployment\n3. The feature environment will be deployed with a stack name including your branch name\n4. Remove the label or close the PR to destroy the feature environment\n\nThe feature deployment uses the `--force` flag when destroying to ensure cleanup without manual confirmation.\n\n## Current Status\n\nProjen-Pipelines is currently in version 0.x, awaiting Projen's 1.0 release. Despite its pre-1.0 status, it's being used in several production environments.\n\n## Contributing\n\n### By raising feature requests or issues\n\nUse the Github integrated \"[Issues](https://github.com/taimos/projen-pipelines/issues/new)\" view to create an item that you would love to have added to our open source project.\n\n***No request is too big or too small*** - get your thoughts created and we'll get back to you if we have questions!\n\n### By committing code\n\nWe welcome all contributions to Projen Pipelines! Here's how you can get started:\n\n1. **Fork the Repository**: Click the 'Fork' button at the top right of this page to duplicate this repository in your GitHub account.\n\n2. **Clone your Fork**: Clone the forked repository to your local machine.\n\n```bash\ngit clone https://github.com/<your_username>/projen-pipelines.git\n```\n\n3. **Create a Branch**: To keep your work organized, create a branch for your contribution.\n\n```bash\ngit checkout -b my-branch\n```\n\n4. **Make your Changes**: Make your changes, additions, or fixes to the codebase. Remember to follow the existing code style.\n\n5. **Test your Changes**: Before committing your changes, make sure to test them to ensure they work as expected and do not introduce bugs.\n\n6. **Commit your Changes**: Commit your changes with a descriptive commit message using conventional commit messages.\n\n```bash\ngit commit -m \"feat: Your descriptive commit message\"\n```\n\n7. **Push to your Fork**: Push your commits to the branch in your forked repository.\n\n```bash\ngit push -u origin my-branch\n```\n\n8. **Submit a Pull Request**: Once your changes are ready to be reviewed, create a pull request from your forked repository's branch into the `main` branch of this repository.\n\nYour pull request will be reviewed and hopefully merged quickly. Thanks for contributing!\n\n### How to test changes?\nThe best way currently is to test things locally or - if you have a working stall of all supported CI/CD tools - manually test the functionalities there in diferent projects.\n\n_For local testing:_\nUsing `yalc push` you can install the project locally to your local yalc package manager. You can also use `npm run local-push` instead of this.\n\nWith `yalc add projen-pipelines` you can then use it in a local project.\n\n\n## Future Plans\n\n* Move the project to the Open Construct Foundation for broader community involvement\n* Continue expanding support for different CI/CD platforms and project types\n\nJoin us in elevating CI/CD pipeline discussions from implementation details to fundamental building blocks, and help create a more efficient, standardized approach to pipeline development!\n\n## Known issues\n\n### Environment variable not recognized during `npx projen`\n\nWhen attempting to run `npx projen`, users may encounter an error related to environment variable substitution within configuration files. Specifically, the `${GITHUB_TOKEN}` placeholder fails to be replaced.\n\n#### Solution\n\nTo resolve this issue, prefix the `npx projen` command with the `GITHUB_TOKEN=` environment variable:\n\n```bash\nGITHUB_TOKEN= npx projen\n```\n"
109
+ "markdown": "# Projen Pipelines\n\n[![npm version](https://badge.fury.io/js/projen-pipelines.svg)](https://www.npmjs.com/package/projen-pipelines)\n\nProjen Pipelines is an open-source project that automates the generation of CI/CD pipelines using Projen,\na project configuration tool created by the inventor of AWS CDK.\nIt provides high-level abstractions for defining continuous delivery (CD) pipelines for applications,\nspecifically designed to work with the projen project configuration engine.\n\n### Key Features\n\n* Automates code generation for CI/CD pipelines\n* Supports multiple CI/CD platforms (currently GitHub Actions and GitLab CI, with more in development)\n* Provides baked-in proven defaults for pipeline configurations\n* Enables compliance-as-code integration\n* Allows easy switching between different CI/CD platforms without rewriting pipeline configurations\n* Handles complex deployment scenarios with less code\n* Manages AWS infrastructure more efficiently and straightforwardly\n* Automated drift detection for CloudFormation/CDK stacks with scheduled checks and issue creation\n* Automatic versioning with flexible strategies and multiple output targets\n\n### Benefits\n\n* Reduces repetitive work in writing and maintaining pipeline configurations\n* Ensures consistency across projects by using proven defaults\n* Simplifies compliance management by integrating it directly into pipeline definitions\n* Facilitates platform migrations (e.g., from GitHub to GitLab) by abstracting pipeline definitions\n* Provides automatic version tracking and exposure through CloudFormation and SSM Parameter Store\n\n## Beyond AWS CDK: A Vision for Universal CI/CD Pipeline Generation\n\nWhile Projen Pipelines currently focuses on AWS CDK applications, our vision extends far beyond this initial scope.\nWe aim to evolve into a universal CI/CD pipeline generator capable of supporting a wide variety of application types and deployment targets.\n\n### Future Direction:\n\n1. Diverse Application Support: We plan to expand our capabilities to generate pipelines for various application types, including but not limited to:\n * Traditional web applications\n * Terraform / OpenTOFU projects\n * Winglang applications\n1. Multi-Cloud Deployment: While we started with AWS, we aim to support deployments to other major cloud providers like Azure, Google Cloud Platform, and others.\n1. On-Premises and Hybrid Scenarios: We recognize the importance of on-premises and hybrid cloud setups and plan to cater to these deployment models.\n1. Framework Agnostic: Our goal is to make Projen Pipelines adaptable to work with various development frameworks and tools, not just those related to AWS or cloud deployments.\n1. Extensibility: We're designing the system to be easily extensible, allowing the community to contribute modules for new application types, deployment targets, or CI/CD platforms.\n\nBy broadening our scope, we aim to create a tool that can standardize and simplify CI/CD pipeline creation across the entire spectrum of modern application development and deployment scenarios.\nWe invite the community to join us in this journey, contributing ideas, use cases, and code to help realize this vision.\n\n## How Projen Pipelines work\n![High level Projen Pipelines Overview](documentation/overview.png)\n\nUnder the hood, after you define the pipeline and select the target engine you want to work on, we use code generation methods to create the required CI/CD pipeline in your project.\n\nWe are considering allowing the selection of multiple engines going forward - please let us know if this is a feature you would use!\n\n## Getting Started\n\n### Installation\n\nTo install the package, add the package `projen-pipelines` to your projects devDeps in your projen configuration file.\n\nAfter installing the package, you can import and use the constructs to define your CDK Pipelines.\n\nYou will also have to setup an IAM role that can be used by GitHub Actions. For example, create a role named `GithubDeploymentRole` in your deployment account (`123456789012`) with a policy like this to assume the CDK roles of the pipeline stages (AWS account IDs `123456789013` and `123456789014`):\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"Statement1\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Resource\": [\n \"arn:aws:iam::123456789013:role/cdk-*-123456789013-*\",\n \"arn:aws:iam::123456789014:role/cdk-*-123456789014-*\"\n ]\n }\n ]\n}\n```\n\nAdd a trust policy to this role as described in this tutorial: [Configuring OpenID Connect in Amazon Web Services](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services)\n\n### Usage with AWS CDK\n\nYou can start using the constructs provided by Projen Pipelines in your AWS CDK applications. Here's a brief example:\n\n```typescript\nimport { awscdk } from 'projen';\nimport { GithubCDKPipeline } from 'projen-pipelines';\n\n// Define your AWS CDK TypeScript App\nconst app = new awscdk.AwsCdkTypeScriptApp({\n cdkVersion: '2.150.0',\n name: 'my-awesome-app',\n defaultReleaseBranch: 'main',\n devDeps: [\n 'projen-pipelines',\n ],\n});\n\n// Create the pipeline\nnew GithubCDKPipeline(app, {\n stackPrefix: 'MyApp',\n iamRoleArns: {\n default: 'arn:aws:iam::123456789012:role/GithubDeploymentRole',\n },\n pkgNamespace: '@company-assemblies',\n useGithubPackagesForAssembly: true,\n stages: [\n {\n name: 'dev',\n env: { account: '123456789013', region: 'eu-central-1' },\n }, {\n name: 'prod',\n manualApproval: true,\n env: { account: '123456789014', region: 'eu-central-1' },\n }],\n});\n```\n\nAfter running projen (`npx projen`) a new file called `src/app.ts` will be created and contain a specialized CDK App class for your project.\n\nYou can then use this in your `main.ts` to configure your deployment.\n\n```typescript\nimport { PipelineApp } from './app';\nimport { BackendStack } from './stack';\n\nconst app = new PipelineApp({\n provideDevStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: 'api-dev',\n myConfigSetting: 'value-for-dev',\n });\n },\n provideProdStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: 'api',\n myConfigSetting: 'value-for-prod',\n });\n },\n providePersonalStack: (scope, id, props) => {\n return new BackendStack(scope, id, {\n ...props,\n apiHostname: `api-${props.stageName}`,\n myConfigSetting: 'value-for-personal-stage',\n });\n },\n});\n\napp.synth();\n```\n\n### Drift Detection\n\nProjen Pipelines includes built-in support for automated drift detection of your CloudFormation/CDK stacks. This feature helps you identify when your deployed infrastructure has diverged from your code definitions.\n\n```typescript\nimport { GitHubDriftDetectionWorkflow } from 'projen-pipelines';\n\nnew GitHubDriftDetectionWorkflow(app, {\n schedule: '0 0 * * *', // Daily at midnight\n createIssues: true, // Automatically create GitHub issues\n stages: [\n {\n name: 'production',\n region: 'us-east-1',\n roleArn: 'arn:aws:iam::123456789012:role/DriftDetectionRole',\n failOnDrift: true,\n },\n ],\n});\n```\n\nSee the [drift detection documentation](docs/drift-detection.md) for detailed configuration options and examples.\n\n### Setting Up Trust Relationships Between Accounts\n\nWhen planning to manage multiple staging environments, you will need to establish trust relationships. This process centralizes deployment control, improving operational efficiency and security by consolidating deployment management through a singular, monitored channel. Here is a simplified diagram for the setup:\n\n![Trust relationship](documentation/trust.svg)\n\n#### Step 1: Bootstrapping Each Account\n\nBootstrapping initializes the AWS CDK environment in each account. It prepares the account to work with AWS CDK apps deployed from other accounts. Use the `cdk bootstrap` command for this purpose. Replace `<deployment_account_id>` with the actual AWS account ID of your deployment account.\n\nYou can use the [CloudShell](https://aws.amazon.com/cloudshell/) to bootstrap each staging account:\n\n```bash\ncdk bootstrap --trust <deployment_account_id> --cloudformation-execution-policies \"arn:aws:iam::aws:policy/AdministratorAccess\"\n```\n\n**Note:**\n\nWhile `AdministratorAccess` grants full access to all AWS services and resources, it's not recommended for production environments due to security risks. Instead, create custom IAM policies that grant only the necessary permissions required for deployment operations.\n\n### Deployment\n\nThe `<Engine>CDKPipeline` class creates and adds several tasks to the projen project that then can be used in your pipeline to deploy your application to AWS.\n\nHere's a brief description of each one:\n\n1. **deploy:personal** - This task deploys the application's personal stage, which is a distinct, isolated deployment of the application. The personal stage is intended for personal use, such as testing and development.\n\n2. **watch:personal** - This task deploys the personal stage of the application in watch mode. In this mode, the AWS CDK monitors your application source files for changes, automatically re-synthesizing and deploying when it detects any changes.\n\n3. **diff:personal** - This task compares the deployed personal stage with the current state of the application code. It's used to understand what changes would be made if the application were deployed.\n\n4. **destroy:personal** - This task destroys the resources created for the personal stage of the application.\n\n5. **deploy:feature** - This task deploys the application's feature stage. The feature stage is used for new features testing before these are merged into the main branch.\n\n6. **diff:feature** - This task is similar to `diff:personal`, but for the feature stage.\n\n7. **destroy:feature** - This task destroys the resources created for the feature stage of the application.\n\n8. **deploy:<stageName>** - This task deploys a specific stage of the application (like 'dev' or 'prod').\n\n9. **diff:<stageName>** - This task compares the specified application stage with the current state of the application code.\n\n10. **publish:assets** - This task publishes the CDK assets to all accounts. This is useful when the CDK application uses assets like Docker images or files from the S3 bucket.\n\n11. **bump** - This task bumps the version based on the latest git tag and pushes the updated tag to the git repository.\n\n12. **release:push-assembly** - This task creates a manifest, bumps the version without creating a git tag, and publishes the cloud assembly to your registry.\n\nRemember that these tasks are created and managed automatically by the `CDKPipeline` class. You can run these tasks using the `npx projen TASK_NAME` command.\n\n## Versioning\n\nProjen Pipelines includes a comprehensive versioning system that automatically tracks and exposes deployment versions through various AWS services. This feature enables deployment traceability, automated rollback decisions, and comprehensive audit trails.\n\n### Basic Versioning Configuration\n\nTo enable versioning in your pipeline, add the `versioning` configuration:\n\n```typescript\nimport { awscdk } from 'projen';\nimport { GithubCDKPipeline, VersioningStrategy, VersioningOutputs } from 'projen-pipelines';\n\nconst app = new awscdk.AwsCdkTypeScriptApp({\n // ... other config\n});\n\nnew GithubCDKPipeline(app, {\n // ... other pipeline config\n\n versioning: {\n enabled: true,\n strategy: VersioningStrategy.commitCount(),\n outputs: VersioningOutputs.standard()\n }\n});\n```\n\n### Versioning Strategies\n\nProjen Pipelines provides several built-in versioning strategies:\n\n#### Git Tag Strategy\nUses git tags as the version source, with optional prefix stripping:\n\n```typescript\n// Basic git tag strategy\nconst strategy = VersioningStrategy.gitTag();\n\n// With custom configuration\nconst strategy = VersioningStrategy.gitTag({\n stripPrefix: 'v', // Strip 'v' from tags (v1.2.3 → 1.2.3)\n annotatedOnly: true, // Only use annotated tags\n includeSinceTag: true // Include commits since tag\n});\n```\n\n#### Package.json Strategy\nUses the version from your package.json file:\n\n```typescript\n// Basic package.json strategy\nconst strategy = VersioningStrategy.packageJson();\n\n// With custom configuration\nconst strategy = VersioningStrategy.packageJson({\n path: './package.json',\n includePrerelease: true,\n appendCommitInfo: true\n});\n```\n\n#### Commit Count Strategy\nUses the number of commits as the version:\n\n```typescript\n// Basic commit count strategy\nconst strategy = VersioningStrategy.commitCount();\n\n// With custom configuration\nconst strategy = VersioningStrategy.commitCount({\n countFrom: 'all', // 'all' | 'since-tag'\n includeBranch: true, // Include branch name\n padding: 5 // Zero-pad count (00001)\n});\n```\n\n#### Build Number Strategy\nCreates a version from build metadata:\n\n```typescript\n// Basic build number strategy\nconst strategy = VersioningStrategy.buildNumber();\n\n// With custom configuration\nconst strategy = VersioningStrategy.buildNumber({\n prefix: 'release',\n commitCount: { countFrom: 'all', padding: 5 }\n});\n// Output: release-01234-3a4b5c6d\n```\n\n#### Custom Composite Strategy\nCreate your own version format using template variables:\n\n```typescript\nconst strategy = VersioningStrategy.create(\n '{git-tag}+{commit-count}-{commit-hash:8}',\n {\n gitTag: { stripPrefix: 'v' },\n commitCount: { countFrom: 'since-tag' }\n }\n);\n// Output: 1.2.3+45-3a4b5c6d\n```\n\n### Version Output Configurations\n\nControl how and where version information is exposed:\n\n#### CloudFormation Outputs\nExport version information as CloudFormation stack outputs:\n\n```typescript\n// Basic CloudFormation output\nconst outputs = VersioningOutputs.cloudFormationOnly();\n\n// With custom configuration\nconst outputs = VersioningOutputs.cloudFormationOnly({\n exportName: 'MyApp-{stage}-Version'\n});\n```\n\n#### SSM Parameter Store\nStore version information in AWS Systems Manager Parameter Store:\n\n```typescript\n// Basic parameter store\nconst outputs = VersioningOutputs.parameterStoreOnly('/myapp/{stage}/version');\n\n// Hierarchical parameters\nconst outputs = VersioningOutputs.hierarchicalParameters('/myapp/{stage}/version', {\n includeCloudFormation: true\n});\n```\n\nThis creates parameters like:\n- `/myapp/prod/version` → Full version JSON\n- `/myapp/prod/version/commit` → Commit hash\n- `/myapp/prod/version/tag` → Git tag\n- `/myapp/prod/version/count` → Commit count\n\n#### Standard Configuration\nThe recommended configuration that uses CloudFormation outputs with optional Parameter Store:\n\n```typescript\nconst outputs = VersioningOutputs.standard({\n parameterName: '/myapp/{stage}/version',\n});\n```\n\n### Output Formats\n\nVersion information can be output in two formats:\n\n**Plain Format:** Simple string values in CloudFormation\n```yaml\nOutputs:\n AppVersion:\n Value: \"1.2.3+45-3a4b5c6d\"\n Description: \"Application version\"\n AppCommitHash:\n Value: \"3a4b5c6def1234567890\"\n Description: \"Git commit hash\"\n```\n\n**Structured Format:** JSON object with comprehensive metadata in SSM\n```json\n{\n \"version\": \"1.2.3\",\n \"commitHash\": \"3a4b5c6def1234567890\",\n \"commitCount\": 1234,\n \"commitsSinceTag\": 45,\n \"branch\": \"main\",\n \"tag\": \"v1.2.3\",\n \"deployedAt\": \"2024-01-15T10:30:00Z\",\n \"deployedBy\": \"github-actions\",\n \"buildNumber\": \"456\",\n \"environment\": \"production\"\n}\n```\n\n### Stage-Specific Overrides\n\nConfigure different versioning strategies for different stages:\n\n```typescript\nnew GithubCDKPipeline(app, {\n versioning: {\n enabled: true,\n strategy: VersioningStrategy.gitTag(),\n outputs: VersioningOutputs.standard(),\n stageOverrides: {\n dev: {\n strategy: VersioningStrategy.commitCount(),\n outputs: VersioningOutputs.minimal()\n },\n prod: {\n validation: {\n requireTag: true,\n tagPattern: /^v\\d+\\.\\d+\\.\\d+$/\n }\n }\n }\n }\n});\n```\n\n### Template Variables\n\nAll strategies support these template variables:\n- `{git-tag}` - Git tag (with optional prefix stripping)\n- `{package-version}` - Version from package.json\n- `{commit-count}` - Number of commits\n- `{commit-hash}` - Full commit hash\n- `{commit-hash:8}` - Short commit hash (8 characters)\n- `{branch}` - Git branch name\n- `{build-number}` - CI/CD build number\n\n### Benefits of Versioning\n\n1. **Deployment Traceability**: Always know exactly which code version is deployed\n2. **Automated Rollback**: Use version information for automated rollback decisions\n3. **Audit Trail**: Comprehensive deployment history with metadata\n4. **Multi-Stage Support**: Different versioning strategies per environment\n5. **Zero Configuration**: Works out-of-the-box with sensible defaults\n6. **CI/CD Integration**: Automatically detects version info from CI/CD environments\n\n### Feature Branch Deployments\n\nProjen Pipelines supports automated feature branch deployments for GitHub Actions. This allows you to deploy and test your changes in isolated environments before merging to the main branch. Gitlab support is currently missing.\n\n#### Configuration\n\nTo enable feature branch deployments, add the `featureStages` configuration to your pipeline:\n\n```typescript\nnew GithubCDKPipeline(app, {\n stackPrefix: 'MyApp',\n iamRoleArns: {\n default: 'arn:aws:iam::123456789012:role/GithubDeploymentRole',\n },\n featureStages: {\n env: { account: '123456789013', region: 'eu-central-1' },\n },\n stages: [\n // ... your regular stages\n ],\n});\n```\n\n#### How It Works\n\nWhen feature stages are configured, two GitHub workflows are created:\n\n1. **deploy-feature** - Automatically deploys your feature branch when a pull request is labeled with `feature-deployment`\n2. **destroy-feature** - Automatically destroys the feature deployment when:\n - The pull request is closed\n - The `feature-deployment` label is removed from the pull request\n\n#### Using Feature Deployments\n\n1. Create a pull request with your changes\n2. Add the `feature-deployment` label to trigger deployment\n3. The feature environment will be deployed with a stack name including your branch name\n4. Remove the label or close the PR to destroy the feature environment\n\nThe feature deployment uses the `--force` flag when destroying to ensure cleanup without manual confirmation.\n\n## Current Status\n\nProjen-Pipelines is currently in version 0.x, awaiting Projen's 1.0 release. Despite its pre-1.0 status, it's being used in several production environments.\n\n## Contributing\n\n### By raising feature requests or issues\n\nUse the Github integrated \"[Issues](https://github.com/taimos/projen-pipelines/issues/new)\" view to create an item that you would love to have added to our open source project.\n\n***No request is too big or too small*** - get your thoughts created and we'll get back to you if we have questions!\n\n### By committing code\n\nWe welcome all contributions to Projen Pipelines! Here's how you can get started:\n\n1. **Fork the Repository**: Click the 'Fork' button at the top right of this page to duplicate this repository in your GitHub account.\n\n2. **Clone your Fork**: Clone the forked repository to your local machine.\n\n```bash\ngit clone https://github.com/<your_username>/projen-pipelines.git\n```\n\n3. **Create a Branch**: To keep your work organized, create a branch for your contribution.\n\n```bash\ngit checkout -b my-branch\n```\n\n4. **Make your Changes**: Make your changes, additions, or fixes to the codebase. Remember to follow the existing code style.\n\n5. **Test your Changes**: Before committing your changes, make sure to test them to ensure they work as expected and do not introduce bugs.\n\n6. **Commit your Changes**: Commit your changes with a descriptive commit message using conventional commit messages.\n\n```bash\ngit commit -m \"feat: Your descriptive commit message\"\n```\n\n7. **Push to your Fork**: Push your commits to the branch in your forked repository.\n\n```bash\ngit push -u origin my-branch\n```\n\n8. **Submit a Pull Request**: Once your changes are ready to be reviewed, create a pull request from your forked repository's branch into the `main` branch of this repository.\n\nYour pull request will be reviewed and hopefully merged quickly. Thanks for contributing!\n\n### How to test changes?\nThe best way currently is to test things locally or - if you have a working stall of all supported CI/CD tools - manually test the functionalities there in diferent projects.\n\n_For local testing:_\nUsing `yalc push` you can install the project locally to your local yalc package manager. You can also use `npm run local-push` instead of this.\n\nWith `yalc add projen-pipelines` you can then use it in a local project.\n\n\n## Future Plans\n\n* Move the project to the Open Construct Foundation for broader community involvement\n* Continue expanding support for different CI/CD platforms and project types\n\nJoin us in elevating CI/CD pipeline discussions from implementation details to fundamental building blocks, and help create a more efficient, standardized approach to pipeline development!\n\n## Known issues\n\n### Environment variable not recognized during `npx projen`\n\nWhen attempting to run `npx projen`, users may encounter an error related to environment variable substitution within configuration files. Specifically, the `${GITHUB_TOKEN}` placeholder fails to be replaced.\n\n#### Solution\n\nTo resolve this issue, prefix the `npx projen` command with the `GITHUB_TOKEN=` environment variable:\n\n```bash\nGITHUB_TOKEN= npx projen\n```\n"
109
110
  },
110
111
  "repository": {
111
112
  "type": "git",
@@ -543,6 +544,82 @@
543
544
  "name": "BashCDKPipelineOptions",
544
545
  "symbolId": "src/awscdk/bash:BashCDKPipelineOptions"
545
546
  },
547
+ "projen-pipelines.BashDriftDetectionWorkflow": {
548
+ "assembly": "projen-pipelines",
549
+ "base": "projen-pipelines.DriftDetectionWorkflow",
550
+ "docs": {
551
+ "stability": "stable"
552
+ },
553
+ "fqn": "projen-pipelines.BashDriftDetectionWorkflow",
554
+ "initializer": {
555
+ "docs": {
556
+ "stability": "stable"
557
+ },
558
+ "locationInModule": {
559
+ "filename": "src/drift/bash.ts",
560
+ "line": 16
561
+ },
562
+ "parameters": [
563
+ {
564
+ "name": "project",
565
+ "type": {
566
+ "fqn": "projen.Project"
567
+ }
568
+ },
569
+ {
570
+ "name": "options",
571
+ "type": {
572
+ "fqn": "projen-pipelines.BashDriftDetectionWorkflowOptions"
573
+ }
574
+ }
575
+ ]
576
+ },
577
+ "kind": "class",
578
+ "locationInModule": {
579
+ "filename": "src/drift/bash.ts",
580
+ "line": 13
581
+ },
582
+ "name": "BashDriftDetectionWorkflow",
583
+ "symbolId": "src/drift/bash:BashDriftDetectionWorkflow"
584
+ },
585
+ "projen-pipelines.BashDriftDetectionWorkflowOptions": {
586
+ "assembly": "projen-pipelines",
587
+ "datatype": true,
588
+ "docs": {
589
+ "stability": "stable"
590
+ },
591
+ "fqn": "projen-pipelines.BashDriftDetectionWorkflowOptions",
592
+ "interfaces": [
593
+ "projen-pipelines.DriftDetectionWorkflowOptions"
594
+ ],
595
+ "kind": "interface",
596
+ "locationInModule": {
597
+ "filename": "src/drift/bash.ts",
598
+ "line": 5
599
+ },
600
+ "name": "BashDriftDetectionWorkflowOptions",
601
+ "properties": [
602
+ {
603
+ "abstract": true,
604
+ "docs": {
605
+ "default": "\"drift-detection.sh\"",
606
+ "stability": "stable",
607
+ "summary": "Path to the output script."
608
+ },
609
+ "immutable": true,
610
+ "locationInModule": {
611
+ "filename": "src/drift/bash.ts",
612
+ "line": 10
613
+ },
614
+ "name": "scriptPath",
615
+ "optional": true,
616
+ "type": {
617
+ "primitive": "string"
618
+ }
619
+ }
620
+ ],
621
+ "symbolId": "src/drift/bash:BashDriftDetectionWorkflowOptions"
622
+ },
546
623
  "projen-pipelines.BashStepConfig": {
547
624
  "assembly": "projen-pipelines",
548
625
  "datatype": true,
@@ -2440,64 +2517,482 @@
2440
2517
  "summary": "Generates a configuration for a GitHub Actions step."
2441
2518
  },
2442
2519
  "locationInModule": {
2443
- "filename": "src/steps/artifact-steps.ts",
2444
- "line": 24
2520
+ "filename": "src/steps/artifact-steps.ts",
2521
+ "line": 24
2522
+ },
2523
+ "name": "toGithub",
2524
+ "overrides": "projen-pipelines.PipelineStep",
2525
+ "returns": {
2526
+ "type": {
2527
+ "fqn": "projen-pipelines.GithubStepConfig"
2528
+ }
2529
+ }
2530
+ },
2531
+ {
2532
+ "docs": {
2533
+ "remarks": "Should be implemented by subclasses.",
2534
+ "stability": "stable",
2535
+ "summary": "Generates a configuration for a GitLab CI step."
2536
+ },
2537
+ "locationInModule": {
2538
+ "filename": "src/steps/artifact-steps.ts",
2539
+ "line": 15
2540
+ },
2541
+ "name": "toGitlab",
2542
+ "overrides": "projen-pipelines.PipelineStep",
2543
+ "returns": {
2544
+ "type": {
2545
+ "fqn": "projen-pipelines.GitlabStepConfig"
2546
+ }
2547
+ }
2548
+ }
2549
+ ],
2550
+ "name": "DownloadArtifactStep",
2551
+ "symbolId": "src/steps/artifact-steps:DownloadArtifactStep"
2552
+ },
2553
+ "projen-pipelines.DownloadArtifactStepConfig": {
2554
+ "assembly": "projen-pipelines",
2555
+ "datatype": true,
2556
+ "docs": {
2557
+ "stability": "stable"
2558
+ },
2559
+ "fqn": "projen-pipelines.DownloadArtifactStepConfig",
2560
+ "kind": "interface",
2561
+ "locationInModule": {
2562
+ "filename": "src/steps/artifact-steps.ts",
2563
+ "line": 4
2564
+ },
2565
+ "name": "DownloadArtifactStepConfig",
2566
+ "properties": [
2567
+ {
2568
+ "abstract": true,
2569
+ "docs": {
2570
+ "stability": "stable"
2571
+ },
2572
+ "immutable": true,
2573
+ "locationInModule": {
2574
+ "filename": "src/steps/artifact-steps.ts",
2575
+ "line": 5
2576
+ },
2577
+ "name": "name",
2578
+ "type": {
2579
+ "primitive": "string"
2580
+ }
2581
+ },
2582
+ {
2583
+ "abstract": true,
2584
+ "docs": {
2585
+ "stability": "stable"
2586
+ },
2587
+ "immutable": true,
2588
+ "locationInModule": {
2589
+ "filename": "src/steps/artifact-steps.ts",
2590
+ "line": 6
2591
+ },
2592
+ "name": "path",
2593
+ "type": {
2594
+ "primitive": "string"
2595
+ }
2596
+ }
2597
+ ],
2598
+ "symbolId": "src/steps/artifact-steps:DownloadArtifactStepConfig"
2599
+ },
2600
+ "projen-pipelines.DriftDetectionStageOptions": {
2601
+ "assembly": "projen-pipelines",
2602
+ "datatype": true,
2603
+ "docs": {
2604
+ "stability": "stable"
2605
+ },
2606
+ "fqn": "projen-pipelines.DriftDetectionStageOptions",
2607
+ "kind": "interface",
2608
+ "locationInModule": {
2609
+ "filename": "src/drift/base.ts",
2610
+ "line": 3
2611
+ },
2612
+ "name": "DriftDetectionStageOptions",
2613
+ "properties": [
2614
+ {
2615
+ "abstract": true,
2616
+ "docs": {
2617
+ "stability": "stable",
2618
+ "summary": "Name of the stage."
2619
+ },
2620
+ "immutable": true,
2621
+ "locationInModule": {
2622
+ "filename": "src/drift/base.ts",
2623
+ "line": 7
2624
+ },
2625
+ "name": "name",
2626
+ "type": {
2627
+ "primitive": "string"
2628
+ }
2629
+ },
2630
+ {
2631
+ "abstract": true,
2632
+ "docs": {
2633
+ "stability": "stable",
2634
+ "summary": "AWS region for this stage."
2635
+ },
2636
+ "immutable": true,
2637
+ "locationInModule": {
2638
+ "filename": "src/drift/base.ts",
2639
+ "line": 12
2640
+ },
2641
+ "name": "region",
2642
+ "type": {
2643
+ "primitive": "string"
2644
+ }
2645
+ },
2646
+ {
2647
+ "abstract": true,
2648
+ "docs": {
2649
+ "stability": "stable",
2650
+ "summary": "Environment variables for this stage."
2651
+ },
2652
+ "immutable": true,
2653
+ "locationInModule": {
2654
+ "filename": "src/drift/base.ts",
2655
+ "line": 33
2656
+ },
2657
+ "name": "environment",
2658
+ "optional": true,
2659
+ "type": {
2660
+ "collection": {
2661
+ "elementtype": {
2662
+ "primitive": "string"
2663
+ },
2664
+ "kind": "map"
2665
+ }
2666
+ }
2667
+ },
2668
+ {
2669
+ "abstract": true,
2670
+ "docs": {
2671
+ "default": "true",
2672
+ "stability": "stable",
2673
+ "summary": "Whether to fail if drift is detected."
2674
+ },
2675
+ "immutable": true,
2676
+ "locationInModule": {
2677
+ "filename": "src/drift/base.ts",
2678
+ "line": 28
2679
+ },
2680
+ "name": "failOnDrift",
2681
+ "optional": true,
2682
+ "type": {
2683
+ "primitive": "boolean"
2684
+ }
2685
+ },
2686
+ {
2687
+ "abstract": true,
2688
+ "docs": {
2689
+ "stability": "stable",
2690
+ "summary": "Role to assume for drift detection."
2691
+ },
2692
+ "immutable": true,
2693
+ "locationInModule": {
2694
+ "filename": "src/drift/base.ts",
2695
+ "line": 17
2696
+ },
2697
+ "name": "roleArn",
2698
+ "optional": true,
2699
+ "type": {
2700
+ "primitive": "string"
2701
+ }
2702
+ },
2703
+ {
2704
+ "abstract": true,
2705
+ "docs": {
2706
+ "stability": "stable",
2707
+ "summary": "Stack names to check in this stage."
2708
+ },
2709
+ "immutable": true,
2710
+ "locationInModule": {
2711
+ "filename": "src/drift/base.ts",
2712
+ "line": 22
2713
+ },
2714
+ "name": "stackNames",
2715
+ "optional": true,
2716
+ "type": {
2717
+ "collection": {
2718
+ "elementtype": {
2719
+ "primitive": "string"
2720
+ },
2721
+ "kind": "array"
2722
+ }
2723
+ }
2724
+ }
2725
+ ],
2726
+ "symbolId": "src/drift/base:DriftDetectionStageOptions"
2727
+ },
2728
+ "projen-pipelines.DriftDetectionStep": {
2729
+ "assembly": "projen-pipelines",
2730
+ "base": "projen-pipelines.StepSequence",
2731
+ "docs": {
2732
+ "stability": "stable"
2733
+ },
2734
+ "fqn": "projen-pipelines.DriftDetectionStep",
2735
+ "initializer": {
2736
+ "docs": {
2737
+ "stability": "stable"
2738
+ },
2739
+ "locationInModule": {
2740
+ "filename": "src/drift/step.ts",
2741
+ "line": 35
2742
+ },
2743
+ "parameters": [
2744
+ {
2745
+ "docs": {
2746
+ "summary": "- The projen project reference."
2747
+ },
2748
+ "name": "project",
2749
+ "type": {
2750
+ "fqn": "projen.Project"
2751
+ }
2752
+ },
2753
+ {
2754
+ "name": "props",
2755
+ "type": {
2756
+ "fqn": "projen-pipelines.DriftDetectionStepProps"
2757
+ }
2758
+ }
2759
+ ]
2760
+ },
2761
+ "kind": "class",
2762
+ "locationInModule": {
2763
+ "filename": "src/drift/step.ts",
2764
+ "line": 13
2765
+ },
2766
+ "name": "DriftDetectionStep",
2767
+ "symbolId": "src/drift/step:DriftDetectionStep"
2768
+ },
2769
+ "projen-pipelines.DriftDetectionStepProps": {
2770
+ "assembly": "projen-pipelines",
2771
+ "datatype": true,
2772
+ "docs": {
2773
+ "stability": "stable"
2774
+ },
2775
+ "fqn": "projen-pipelines.DriftDetectionStepProps",
2776
+ "interfaces": [
2777
+ "projen-pipelines.DriftDetectionStageOptions"
2778
+ ],
2779
+ "kind": "interface",
2780
+ "locationInModule": {
2781
+ "filename": "src/drift/step.ts",
2782
+ "line": 5
2783
+ },
2784
+ "name": "DriftDetectionStepProps",
2785
+ "properties": [
2786
+ {
2787
+ "abstract": true,
2788
+ "docs": {
2789
+ "default": "30",
2790
+ "stability": "stable",
2791
+ "summary": "Timeout in minutes for drift detection."
2792
+ },
2793
+ "immutable": true,
2794
+ "locationInModule": {
2795
+ "filename": "src/drift/step.ts",
2796
+ "line": 10
2797
+ },
2798
+ "name": "timeout",
2799
+ "optional": true,
2800
+ "type": {
2801
+ "primitive": "number"
2802
+ }
2803
+ }
2804
+ ],
2805
+ "symbolId": "src/drift/step:DriftDetectionStepProps"
2806
+ },
2807
+ "projen-pipelines.DriftDetectionWorkflow": {
2808
+ "abstract": true,
2809
+ "assembly": "projen-pipelines",
2810
+ "base": "projen.Component",
2811
+ "docs": {
2812
+ "stability": "stable"
2813
+ },
2814
+ "fqn": "projen-pipelines.DriftDetectionWorkflow",
2815
+ "initializer": {
2816
+ "docs": {
2817
+ "stability": "stable"
2818
+ },
2819
+ "locationInModule": {
2820
+ "filename": "src/drift/base.ts",
2821
+ "line": 77
2822
+ },
2823
+ "parameters": [
2824
+ {
2825
+ "name": "project",
2826
+ "type": {
2827
+ "fqn": "projen.Project"
2828
+ }
2829
+ },
2830
+ {
2831
+ "name": "options",
2832
+ "type": {
2833
+ "fqn": "projen-pipelines.DriftDetectionWorkflowOptions"
2834
+ }
2835
+ }
2836
+ ]
2837
+ },
2838
+ "kind": "class",
2839
+ "locationInModule": {
2840
+ "filename": "src/drift/base.ts",
2841
+ "line": 72
2842
+ },
2843
+ "name": "DriftDetectionWorkflow",
2844
+ "properties": [
2845
+ {
2846
+ "docs": {
2847
+ "stability": "stable"
2848
+ },
2849
+ "immutable": true,
2850
+ "locationInModule": {
2851
+ "filename": "src/drift/base.ts",
2852
+ "line": 73
2853
+ },
2854
+ "name": "name",
2855
+ "type": {
2856
+ "primitive": "string"
2857
+ }
2858
+ },
2859
+ {
2860
+ "docs": {
2861
+ "stability": "stable"
2862
+ },
2863
+ "immutable": true,
2864
+ "locationInModule": {
2865
+ "filename": "src/drift/base.ts",
2866
+ "line": 74
2867
+ },
2868
+ "name": "schedule",
2869
+ "type": {
2870
+ "primitive": "string"
2871
+ }
2872
+ },
2873
+ {
2874
+ "docs": {
2875
+ "stability": "stable"
2876
+ },
2877
+ "immutable": true,
2878
+ "locationInModule": {
2879
+ "filename": "src/drift/base.ts",
2880
+ "line": 75
2881
+ },
2882
+ "name": "stages",
2883
+ "protected": true,
2884
+ "type": {
2885
+ "collection": {
2886
+ "elementtype": {
2887
+ "fqn": "projen-pipelines.DriftDetectionStageOptions"
2888
+ },
2889
+ "kind": "array"
2890
+ }
2891
+ }
2892
+ }
2893
+ ],
2894
+ "symbolId": "src/drift/base:DriftDetectionWorkflow"
2895
+ },
2896
+ "projen-pipelines.DriftDetectionWorkflowOptions": {
2897
+ "assembly": "projen-pipelines",
2898
+ "datatype": true,
2899
+ "docs": {
2900
+ "stability": "stable"
2901
+ },
2902
+ "fqn": "projen-pipelines.DriftDetectionWorkflowOptions",
2903
+ "kind": "interface",
2904
+ "locationInModule": {
2905
+ "filename": "src/drift/base.ts",
2906
+ "line": 53
2907
+ },
2908
+ "name": "DriftDetectionWorkflowOptions",
2909
+ "properties": [
2910
+ {
2911
+ "abstract": true,
2912
+ "docs": {
2913
+ "stability": "stable",
2914
+ "summary": "Drift detection configurations for different environments."
2915
+ },
2916
+ "immutable": true,
2917
+ "locationInModule": {
2918
+ "filename": "src/drift/base.ts",
2919
+ "line": 69
2920
+ },
2921
+ "name": "stages",
2922
+ "type": {
2923
+ "collection": {
2924
+ "elementtype": {
2925
+ "fqn": "projen-pipelines.DriftDetectionStageOptions"
2926
+ },
2927
+ "kind": "array"
2928
+ }
2929
+ }
2930
+ },
2931
+ {
2932
+ "abstract": true,
2933
+ "docs": {
2934
+ "default": "\"drift-detection\"",
2935
+ "stability": "stable",
2936
+ "summary": "Name of the workflow."
2937
+ },
2938
+ "immutable": true,
2939
+ "locationInModule": {
2940
+ "filename": "src/drift/base.ts",
2941
+ "line": 58
2445
2942
  },
2446
- "name": "toGithub",
2447
- "overrides": "projen-pipelines.PipelineStep",
2448
- "returns": {
2449
- "type": {
2450
- "fqn": "projen-pipelines.GithubStepConfig"
2451
- }
2943
+ "name": "name",
2944
+ "optional": true,
2945
+ "type": {
2946
+ "primitive": "string"
2452
2947
  }
2453
2948
  },
2454
2949
  {
2950
+ "abstract": true,
2455
2951
  "docs": {
2456
- "remarks": "Should be implemented by subclasses.",
2952
+ "default": "\"0 0 * * *\" (daily at midnight)",
2457
2953
  "stability": "stable",
2458
- "summary": "Generates a configuration for a GitLab CI step."
2954
+ "summary": "Cron schedule for drift detection."
2459
2955
  },
2956
+ "immutable": true,
2460
2957
  "locationInModule": {
2461
- "filename": "src/steps/artifact-steps.ts",
2462
- "line": 15
2958
+ "filename": "src/drift/base.ts",
2959
+ "line": 64
2463
2960
  },
2464
- "name": "toGitlab",
2465
- "overrides": "projen-pipelines.PipelineStep",
2466
- "returns": {
2467
- "type": {
2468
- "fqn": "projen-pipelines.GitlabStepConfig"
2469
- }
2961
+ "name": "schedule",
2962
+ "optional": true,
2963
+ "type": {
2964
+ "primitive": "string"
2470
2965
  }
2471
2966
  }
2472
2967
  ],
2473
- "name": "DownloadArtifactStep",
2474
- "symbolId": "src/steps/artifact-steps:DownloadArtifactStep"
2968
+ "symbolId": "src/drift/base:DriftDetectionWorkflowOptions"
2475
2969
  },
2476
- "projen-pipelines.DownloadArtifactStepConfig": {
2970
+ "projen-pipelines.DriftErrorHandler": {
2477
2971
  "assembly": "projen-pipelines",
2478
2972
  "datatype": true,
2479
2973
  "docs": {
2480
2974
  "stability": "stable"
2481
2975
  },
2482
- "fqn": "projen-pipelines.DownloadArtifactStepConfig",
2976
+ "fqn": "projen-pipelines.DriftErrorHandler",
2483
2977
  "kind": "interface",
2484
2978
  "locationInModule": {
2485
- "filename": "src/steps/artifact-steps.ts",
2486
- "line": 4
2979
+ "filename": "src/drift/base.ts",
2980
+ "line": 36
2487
2981
  },
2488
- "name": "DownloadArtifactStepConfig",
2982
+ "name": "DriftErrorHandler",
2489
2983
  "properties": [
2490
2984
  {
2491
2985
  "abstract": true,
2492
2986
  "docs": {
2493
- "stability": "stable"
2987
+ "stability": "stable",
2988
+ "summary": "Action to take when pattern matches."
2494
2989
  },
2495
2990
  "immutable": true,
2496
2991
  "locationInModule": {
2497
- "filename": "src/steps/artifact-steps.ts",
2498
- "line": 5
2992
+ "filename": "src/drift/base.ts",
2993
+ "line": 45
2499
2994
  },
2500
- "name": "name",
2995
+ "name": "action",
2501
2996
  "type": {
2502
2997
  "primitive": "string"
2503
2998
  }
@@ -2505,20 +3000,38 @@
2505
3000
  {
2506
3001
  "abstract": true,
2507
3002
  "docs": {
2508
- "stability": "stable"
3003
+ "stability": "stable",
3004
+ "summary": "Pattern to match stack names."
2509
3005
  },
2510
3006
  "immutable": true,
2511
3007
  "locationInModule": {
2512
- "filename": "src/steps/artifact-steps.ts",
2513
- "line": 6
3008
+ "filename": "src/drift/base.ts",
3009
+ "line": 40
2514
3010
  },
2515
- "name": "path",
3011
+ "name": "pattern",
3012
+ "type": {
3013
+ "primitive": "string"
3014
+ }
3015
+ },
3016
+ {
3017
+ "abstract": true,
3018
+ "docs": {
3019
+ "stability": "stable",
3020
+ "summary": "Optional message to display."
3021
+ },
3022
+ "immutable": true,
3023
+ "locationInModule": {
3024
+ "filename": "src/drift/base.ts",
3025
+ "line": 50
3026
+ },
3027
+ "name": "message",
3028
+ "optional": true,
2516
3029
  "type": {
2517
3030
  "primitive": "string"
2518
3031
  }
2519
3032
  }
2520
3033
  ],
2521
- "symbolId": "src/steps/artifact-steps:DownloadArtifactStepConfig"
3034
+ "symbolId": "src/drift/base:DriftErrorHandler"
2522
3035
  },
2523
3036
  "projen-pipelines.Environment": {
2524
3037
  "assembly": "projen-pipelines",
@@ -2699,6 +3212,104 @@
2699
3212
  ],
2700
3213
  "symbolId": "src/assign-approver/github:GitHubAssignApproverOptions"
2701
3214
  },
3215
+ "projen-pipelines.GitHubDriftDetectionWorkflow": {
3216
+ "assembly": "projen-pipelines",
3217
+ "base": "projen-pipelines.DriftDetectionWorkflow",
3218
+ "docs": {
3219
+ "stability": "stable"
3220
+ },
3221
+ "fqn": "projen-pipelines.GitHubDriftDetectionWorkflow",
3222
+ "initializer": {
3223
+ "docs": {
3224
+ "stability": "stable"
3225
+ },
3226
+ "locationInModule": {
3227
+ "filename": "src/drift/github.ts",
3228
+ "line": 25
3229
+ },
3230
+ "parameters": [
3231
+ {
3232
+ "name": "project",
3233
+ "type": {
3234
+ "fqn": "projen.Project"
3235
+ }
3236
+ },
3237
+ {
3238
+ "name": "options",
3239
+ "type": {
3240
+ "fqn": "projen-pipelines.GitHubDriftDetectionWorkflowOptions"
3241
+ }
3242
+ }
3243
+ ]
3244
+ },
3245
+ "kind": "class",
3246
+ "locationInModule": {
3247
+ "filename": "src/drift/github.ts",
3248
+ "line": 20
3249
+ },
3250
+ "name": "GitHubDriftDetectionWorkflow",
3251
+ "symbolId": "src/drift/github:GitHubDriftDetectionWorkflow"
3252
+ },
3253
+ "projen-pipelines.GitHubDriftDetectionWorkflowOptions": {
3254
+ "assembly": "projen-pipelines",
3255
+ "datatype": true,
3256
+ "docs": {
3257
+ "stability": "stable"
3258
+ },
3259
+ "fqn": "projen-pipelines.GitHubDriftDetectionWorkflowOptions",
3260
+ "interfaces": [
3261
+ "projen-pipelines.DriftDetectionWorkflowOptions"
3262
+ ],
3263
+ "kind": "interface",
3264
+ "locationInModule": {
3265
+ "filename": "src/drift/github.ts",
3266
+ "line": 7
3267
+ },
3268
+ "name": "GitHubDriftDetectionWorkflowOptions",
3269
+ "properties": [
3270
+ {
3271
+ "abstract": true,
3272
+ "docs": {
3273
+ "default": "false",
3274
+ "stability": "stable",
3275
+ "summary": "Whether to create issues on drift detection."
3276
+ },
3277
+ "immutable": true,
3278
+ "locationInModule": {
3279
+ "filename": "src/drift/github.ts",
3280
+ "line": 17
3281
+ },
3282
+ "name": "createIssues",
3283
+ "optional": true,
3284
+ "type": {
3285
+ "primitive": "boolean"
3286
+ }
3287
+ },
3288
+ {
3289
+ "abstract": true,
3290
+ "docs": {
3291
+ "stability": "stable",
3292
+ "summary": "Additional permissions for GitHub workflow."
3293
+ },
3294
+ "immutable": true,
3295
+ "locationInModule": {
3296
+ "filename": "src/drift/github.ts",
3297
+ "line": 11
3298
+ },
3299
+ "name": "permissions",
3300
+ "optional": true,
3301
+ "type": {
3302
+ "collection": {
3303
+ "elementtype": {
3304
+ "primitive": "string"
3305
+ },
3306
+ "kind": "map"
3307
+ }
3308
+ }
3309
+ }
3310
+ ],
3311
+ "symbolId": "src/drift/github:GitHubDriftDetectionWorkflowOptions"
3312
+ },
2702
3313
  "projen-pipelines.GitInfo": {
2703
3314
  "assembly": "projen-pipelines",
2704
3315
  "datatype": true,
@@ -2919,6 +3530,104 @@
2919
3530
  ],
2920
3531
  "symbolId": "src/versioning/types:GitInfoInput"
2921
3532
  },
3533
+ "projen-pipelines.GitLabDriftDetectionWorkflow": {
3534
+ "assembly": "projen-pipelines",
3535
+ "base": "projen-pipelines.DriftDetectionWorkflow",
3536
+ "docs": {
3537
+ "stability": "stable"
3538
+ },
3539
+ "fqn": "projen-pipelines.GitLabDriftDetectionWorkflow",
3540
+ "initializer": {
3541
+ "docs": {
3542
+ "stability": "stable"
3543
+ },
3544
+ "locationInModule": {
3545
+ "filename": "src/drift/gitlab.ts",
3546
+ "line": 23
3547
+ },
3548
+ "parameters": [
3549
+ {
3550
+ "name": "project",
3551
+ "type": {
3552
+ "fqn": "projen.Project"
3553
+ }
3554
+ },
3555
+ {
3556
+ "name": "options",
3557
+ "type": {
3558
+ "fqn": "projen-pipelines.GitLabDriftDetectionWorkflowOptions"
3559
+ }
3560
+ }
3561
+ ]
3562
+ },
3563
+ "kind": "class",
3564
+ "locationInModule": {
3565
+ "filename": "src/drift/gitlab.ts",
3566
+ "line": 18
3567
+ },
3568
+ "name": "GitLabDriftDetectionWorkflow",
3569
+ "symbolId": "src/drift/gitlab:GitLabDriftDetectionWorkflow"
3570
+ },
3571
+ "projen-pipelines.GitLabDriftDetectionWorkflowOptions": {
3572
+ "assembly": "projen-pipelines",
3573
+ "datatype": true,
3574
+ "docs": {
3575
+ "stability": "stable"
3576
+ },
3577
+ "fqn": "projen-pipelines.GitLabDriftDetectionWorkflowOptions",
3578
+ "interfaces": [
3579
+ "projen-pipelines.DriftDetectionWorkflowOptions"
3580
+ ],
3581
+ "kind": "interface",
3582
+ "locationInModule": {
3583
+ "filename": "src/drift/gitlab.ts",
3584
+ "line": 5
3585
+ },
3586
+ "name": "GitLabDriftDetectionWorkflowOptions",
3587
+ "properties": [
3588
+ {
3589
+ "abstract": true,
3590
+ "docs": {
3591
+ "default": "\"node:18\"",
3592
+ "stability": "stable",
3593
+ "summary": "Docker image to use for drift detection."
3594
+ },
3595
+ "immutable": true,
3596
+ "locationInModule": {
3597
+ "filename": "src/drift/gitlab.ts",
3598
+ "line": 15
3599
+ },
3600
+ "name": "image",
3601
+ "optional": true,
3602
+ "type": {
3603
+ "primitive": "string"
3604
+ }
3605
+ },
3606
+ {
3607
+ "abstract": true,
3608
+ "docs": {
3609
+ "stability": "stable",
3610
+ "summary": "GitLab runner tags."
3611
+ },
3612
+ "immutable": true,
3613
+ "locationInModule": {
3614
+ "filename": "src/drift/gitlab.ts",
3615
+ "line": 9
3616
+ },
3617
+ "name": "runnerTags",
3618
+ "optional": true,
3619
+ "type": {
3620
+ "collection": {
3621
+ "elementtype": {
3622
+ "primitive": "string"
3623
+ },
3624
+ "kind": "array"
3625
+ }
3626
+ }
3627
+ }
3628
+ ],
3629
+ "symbolId": "src/drift/gitlab:GitLabDriftDetectionWorkflowOptions"
3630
+ },
2922
3631
  "projen-pipelines.GitTagConfig": {
2923
3632
  "assembly": "projen-pipelines",
2924
3633
  "datatype": true,
@@ -5215,7 +5924,7 @@
5215
5924
  },
5216
5925
  "locationInModule": {
5217
5926
  "filename": "src/steps/step.ts",
5218
- "line": 171
5927
+ "line": 176
5219
5928
  },
5220
5929
  "parameters": [
5221
5930
  {
@@ -5245,7 +5954,7 @@
5245
5954
  "kind": "class",
5246
5955
  "locationInModule": {
5247
5956
  "filename": "src/steps/step.ts",
5248
- "line": 170
5957
+ "line": 175
5249
5958
  },
5250
5959
  "name": "ProjenScriptStep",
5251
5960
  "symbolId": "src/steps/step:ProjenScriptStep"
@@ -5265,7 +5974,7 @@
5265
5974
  },
5266
5975
  "locationInModule": {
5267
5976
  "filename": "src/steps/step.ts",
5268
- "line": 121
5977
+ "line": 122
5269
5978
  },
5270
5979
  "parameters": [
5271
5980
  {
@@ -5290,6 +5999,18 @@
5290
5999
  "kind": "array"
5291
6000
  }
5292
6001
  }
6002
+ },
6003
+ {
6004
+ "name": "env",
6005
+ "optional": true,
6006
+ "type": {
6007
+ "collection": {
6008
+ "elementtype": {
6009
+ "primitive": "string"
6010
+ },
6011
+ "kind": "map"
6012
+ }
6013
+ }
5293
6014
  }
5294
6015
  ]
5295
6016
  },
@@ -5306,7 +6027,7 @@
5306
6027
  },
5307
6028
  "locationInModule": {
5308
6029
  "filename": "src/steps/step.ts",
5309
- "line": 141
6030
+ "line": 143
5310
6031
  },
5311
6032
  "name": "toBash",
5312
6033
  "overrides": "projen-pipelines.PipelineStep",
@@ -5323,7 +6044,7 @@
5323
6044
  },
5324
6045
  "locationInModule": {
5325
6046
  "filename": "src/steps/step.ts",
5326
- "line": 161
6047
+ "line": 166
5327
6048
  },
5328
6049
  "name": "toCodeCatalyst",
5329
6050
  "overrides": "projen-pipelines.PipelineStep",
@@ -5340,7 +6061,7 @@
5340
6061
  },
5341
6062
  "locationInModule": {
5342
6063
  "filename": "src/steps/step.ts",
5343
- "line": 150
6064
+ "line": 155
5344
6065
  },
5345
6066
  "name": "toGithub",
5346
6067
  "overrides": "projen-pipelines.PipelineStep",
@@ -5357,7 +6078,7 @@
5357
6078
  },
5358
6079
  "locationInModule": {
5359
6080
  "filename": "src/steps/step.ts",
5360
- "line": 129
6081
+ "line": 131
5361
6082
  },
5362
6083
  "name": "toGitlab",
5363
6084
  "overrides": "projen-pipelines.PipelineStep",
@@ -5388,6 +6109,25 @@
5388
6109
  "kind": "array"
5389
6110
  }
5390
6111
  }
6112
+ },
6113
+ {
6114
+ "docs": {
6115
+ "stability": "stable"
6116
+ },
6117
+ "locationInModule": {
6118
+ "filename": "src/steps/step.ts",
6119
+ "line": 115
6120
+ },
6121
+ "name": "env",
6122
+ "protected": true,
6123
+ "type": {
6124
+ "collection": {
6125
+ "elementtype": {
6126
+ "primitive": "string"
6127
+ },
6128
+ "kind": "map"
6129
+ }
6130
+ }
5391
6131
  }
5392
6132
  ],
5393
6133
  "symbolId": "src/steps/step:SimpleCommandStep"
@@ -5546,7 +6286,7 @@
5546
6286
  },
5547
6287
  "locationInModule": {
5548
6288
  "filename": "src/steps/step.ts",
5549
- "line": 186
6289
+ "line": 191
5550
6290
  },
5551
6291
  "parameters": [
5552
6292
  {
@@ -5577,7 +6317,7 @@
5577
6317
  "kind": "class",
5578
6318
  "locationInModule": {
5579
6319
  "filename": "src/steps/step.ts",
5580
- "line": 177
6320
+ "line": 182
5581
6321
  },
5582
6322
  "methods": [
5583
6323
  {
@@ -5586,7 +6326,7 @@
5586
6326
  },
5587
6327
  "locationInModule": {
5588
6328
  "filename": "src/steps/step.ts",
5589
- "line": 271
6329
+ "line": 276
5590
6330
  },
5591
6331
  "name": "addSteps",
5592
6332
  "parameters": [
@@ -5606,7 +6346,7 @@
5606
6346
  },
5607
6347
  "locationInModule": {
5608
6348
  "filename": "src/steps/step.ts",
5609
- "line": 275
6349
+ "line": 280
5610
6350
  },
5611
6351
  "name": "prependSteps",
5612
6352
  "parameters": [
@@ -5627,7 +6367,7 @@
5627
6367
  },
5628
6368
  "locationInModule": {
5629
6369
  "filename": "src/steps/step.ts",
5630
- "line": 217
6370
+ "line": 222
5631
6371
  },
5632
6372
  "name": "toBash",
5633
6373
  "overrides": "projen-pipelines.PipelineStep",
@@ -5644,7 +6384,7 @@
5644
6384
  },
5645
6385
  "locationInModule": {
5646
6386
  "filename": "src/steps/step.ts",
5647
- "line": 254
6387
+ "line": 259
5648
6388
  },
5649
6389
  "name": "toCodeCatalyst",
5650
6390
  "overrides": "projen-pipelines.PipelineStep",
@@ -5661,7 +6401,7 @@
5661
6401
  },
5662
6402
  "locationInModule": {
5663
6403
  "filename": "src/steps/step.ts",
5664
- "line": 229
6404
+ "line": 234
5665
6405
  },
5666
6406
  "name": "toGithub",
5667
6407
  "overrides": "projen-pipelines.PipelineStep",
@@ -5678,7 +6418,7 @@
5678
6418
  },
5679
6419
  "locationInModule": {
5680
6420
  "filename": "src/steps/step.ts",
5681
- "line": 194
6421
+ "line": 199
5682
6422
  },
5683
6423
  "name": "toGitlab",
5684
6424
  "overrides": "projen-pipelines.PipelineStep",
@@ -5697,7 +6437,7 @@
5697
6437
  },
5698
6438
  "locationInModule": {
5699
6439
  "filename": "src/steps/step.ts",
5700
- "line": 179
6440
+ "line": 184
5701
6441
  },
5702
6442
  "name": "steps",
5703
6443
  "protected": true,
@@ -7453,6 +8193,6 @@
7453
8193
  "symbolId": "src/versioning/types:VersioningStrategyComponents"
7454
8194
  }
7455
8195
  },
7456
- "version": "0.2.13",
7457
- "fingerprint": "ZDP/TYyy/sbBrgcPK5wYTpwBcWMLrJrNCMDH+7S77YA="
8196
+ "version": "0.2.14",
8197
+ "fingerprint": "vyhHYd0IBVpuIvW/a7YYcqe8tEXR+3BPadIiQn/Nj8M="
7458
8198
  }