You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -210,9 +201,13 @@ A 'pipeline execution' is an instance of a pipeline in a running or finished sta
210
201
The [`CreatePipeline`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_CreatePipeline.html) operation we ran earlier started a pipeline execution.
To verify that it is the same file as the original input:
247
238
248
-
{{< command >}}
249
-
$ cat output-file
250
-
<disable-copy>
239
+
```bash
240
+
cat output-file
241
+
```
242
+
243
+
The output will be:
244
+
245
+
```text
251
246
Hello LocalStack!
252
-
</disable-copy>
253
-
{{< /command >}}
247
+
```
254
248
255
249
### Examine action executions
256
250
257
251
Using the [`ListActionExecutions`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ListPipelineExecutions.html), detailed information about each action execution such as inputs and outputs can be retrieved.
LocalStack does not use the same logic to generate external execution IDs as AWS so there may be minor discrepancies.
323
320
The same is true for status and error messages produced by actions.
324
-
{{< /callout >}}
321
+
:::
325
322
326
323
## Pipelines
327
324
328
-
The operations [CreatePipeline](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_CreatePipeline.html), [GetPipeline](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_GetPipeline.html), [UpdatePipeline](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_UpdatePipeline.html), [ListPipelines](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ListPipelines.html), [DeletePipeline](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_DeletePipeline.html) are used to manage pipeline declarations.
325
+
The operations [`CreatePipeline`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_CreatePipeline.html), [`GetPipeline`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_GetPipeline.html), [`UpdatePipeline`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_UpdatePipeline.html), [`ListPipelines`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ListPipelines.html), [`DeletePipeline`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_DeletePipeline.html) are used to manage pipeline declarations.
329
326
330
327
LocalStack supports emulation for V1 pipelines.
331
328
V2 pipelines are only created as mocks.
332
329
333
-
{{< callout "tip" >}}
330
+
:::note
334
331
Emulation for V2 pipelines is not supported.
335
332
Make sure that the pipeline type is explicitly set in the declaration.
336
-
{{< /callout >}}
333
+
:::
337
334
338
-
Pipeline executions can be managed with [`StartPipelineExecution`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_StartPipelineExecution.html), [`GetPipelineExecution`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_GetPipelineExecution.html), [`ListPipelineExecutions`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ListPipelineExecutions.html) and [`StopPipelineExecutions`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_StopPipelineExecution.html).
When stopping pipeline executions with `StopPipelineExecution`, the stop and abandon method is not supported.
341
343
Setting the `abandon` flag will have no impact.
@@ -345,15 +347,26 @@ Action executions can be inspected using the [`ListActionExecutions`](https://do
345
347
346
348
### Tagging pipelines
347
349
348
-
Pipelines resources can be [tagged](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-tag.html) using the [`TagResource`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_TagResource.html), [`UntagResource`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_UntagResource.html) and [`ListTagsForResource`](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ListTagsForResource.html) operations.
350
+
Pipelines resources can be [tagged](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-tag.html) using the following operations:
@@ -375,9 +392,9 @@ CodePipeline on LocalStack supports [variables](https://docs.aws.amazon.com/code
375
392
Actions produce output variables which can be referenced in the configuration of subsequent actions.
376
393
Make note that only when the action defines a namespace, its output variables are availabe to downstream actions.
377
394
378
-
{{< callout "tip" >}}
395
+
:::note
379
396
If an action does not use a namespace, its output variables are not available to downstream actions.
380
-
{{< /callout >}}
397
+
:::
381
398
382
399
CodePipeline's variable placeholder syntax is as follows:
383
400
@@ -395,6 +412,11 @@ The supported actions in LocalStack CodePipeline are listed below.
395
412
Using an unsupported action will make the pipeline fail.
396
413
If you would like support for more actions, please [raise a feature request](https://github.com/localstack/localstack/issues/new/choose).
397
414
415
+
### CloudFormation Deploy
416
+
417
+
The [CloudFormation Deploy](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CloudFormation.html) action executes a CloudFormation stack.
418
+
It supports the following modes: `CREATE_UPDATE`, `CHANGE_SET_REPLACE`, `CHANGE_SET_EXECUTE`
419
+
398
420
### CodeBuild Source and Test
399
421
400
422
The [CodeBuild Source and Test](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html) action can be used to start a CodeBuild container and run the given buildspec.
@@ -421,6 +443,10 @@ It will only update the running ECS service with a new task definition and wait
421
443
422
444
The [ECS Deploy](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-ECS.html) action creates a revision of a task definition based on an already deployed ECS service.
423
445
446
+
### Lambda Invoke
447
+
448
+
The [Lambda Invoke](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-Lambda.html) action is used to execute a Lambda function in a pipeline.
449
+
424
450
### Manual Approval
425
451
426
452
The Manual Approval action can be included in the pipeline declaration but it will only function as a no-op.
@@ -438,6 +464,7 @@ The [S3 Source](https://docs.aws.amazon.com/codepipeline/latest/userguide/action
438
464
- Emulation for [V2 pipeline types](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html) is not supported.
439
465
They will be created as mocks only.
440
466
- [Rollbacks and stage retries](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-stages.html) are not available.
467
+
- [Custom actions](https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html) and associated operations (AcknowledgeJob, GetJobDetails, PollForJobs, etc.) are not supported.
441
468
- [Triggers](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-triggers.html) are not implemented.
442
469
Pipelines are executed only when [CreatePipeline](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_CreatePipeline.html) and [StartPipelineExecution](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_StartPipelineExecution.html) are invoked.
443
470
- [Execution mode behaviours](https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works.html#concepts-how-it-works-executions) are not implemented.
0 commit comments