Sign inSign up

cenk1cenk2/pipe-pulumi

By cenk1cenk2

•Updated 1 day ago

Pulumi operations for pipelines.

Image
0

2.9K

cenk1cenk2/pipe-pulumi repository overview

⁠pipe-pulumi

Pulumi related tasks in the pipeline.

pipe-pulumi [GLOBAL FLAGS] [COMMAND] [FLAGS]

⁠Global Flags

CLI

Flag / EnvironmentDescriptionTypeDefault
$LOG_LEVELDefine the log level for the application.string
enum("panic", "fatal", "warn", "info", "debug", "trace")
"info"
$ENV_FILEEnvironment files to inject.string[]

⁠Commands

⁠pipe-pulumi preview

Preview the Pulumi changes.

pipe-pulumi preview [FLAGS]

⁠Flags

GitLab Merge Request Report

Flag / EnvironmentDescriptionTypeDefault
$GITLAB_MR_REPORT_ENABLEDEnable GitLab merge request report note on the given merge request.boolfalse
$GL_PIPES_TOKENGitLab API token for merge request report notes.string
$CI_API_V4_URLGitLab API URL for merge request report notes.string
$CI_PROJECT_IDGitLab project id for merge request report notes.string
$CI_MERGE_REQUEST_IIDGitLab merge request iid for merge request report notes.int0
$GITLAB_MR_REPORT_IDENTIFIERHidden marker identifier for merge request report notes. Defaults to the job name combined with the stack or state under report.string

GitLab Pipeline

Flag / EnvironmentDescriptionTypeDefault
$CI_JOB_NAMEGitLab CI job name to include in the plan report metadata.string
$CI_JOB_URLGitLab CI job URL to include in the plan report metadata.string
$CI_PIPELINE_IDGitLab CI pipeline id to include in the plan report metadata.string
$CI_PIPELINE_URLGitLab CI pipeline URL to include in the plan report metadata.string
$CI_COMMIT_SHAGit commit sha to include in the plan report metadata.string
$CI_COMMIT_SHORT_SHAShort git commit sha to include in the plan report metadata.string

Plan Report

Flag / EnvironmentDescriptionTypeDefault
$PLAN_REPORT_LOG_ENABLEDWrite the plan report to the job log.booltrue

Preview

Flag / EnvironmentDescriptionTypeDefault
$PULUMI_PREVIEW_PLAN
$PULUMI_PLAN
Output file for pulumi plan.string"plan.json"
$PULUMI_PREVIEW_SUMMARY_OUTPUT
$PULUMI_SUMMARY_OUTPUT
Output file for pulumi preview summary. Leave empty to skip summary generation.string"pulumi-summary.json"

Pulumi

Flag / EnvironmentDescriptionTypeDefault
$PULUMI_CWDWorking directory for pulumi commands.string"."

Stack

Flag / EnvironmentDescriptionTypeDefault
$PULUMI_STACK*Stack name to use for pulumi commands.string

* required

⁠pipe-pulumi up

Apply the Pulumi changes.

pipe-pulumi up [FLAGS]

⁠Flags
Pulumi
Flag / EnvironmentDescriptionTypeDefault
$PULUMI_CWDWorking directory for pulumi commands.string"."
Stack
Flag / EnvironmentDescriptionTypeDefault
$PULUMI_STACK*Stack name to use for pulumi commands.string

* required

Up

Flag / EnvironmentDescriptionTypeDefault
$PULUMI_UP_PLAN
$PULUMI_PLAN
Input file for pulumi plan.string"plan.json"

Tag summary

Content type

Image

Digest

sha256:9ccddfc46…

Size

122.5 MB

Last updated

1 day ago

docker pull cenk1cenk2/pipe-pulumi:latest-node