Skip to content

Commit

Permalink
Pipelines CLI v0.31.0 (#93)
Browse files Browse the repository at this point in the history
- Add detection of included HCL changes
- Fix bootstrap does not correctly check for missing configuration keys
- Enable caching for terragrunt credentials
  • Loading branch information
Resonance1584 authored Oct 31, 2024
1 parent a818fde commit 08d96dc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipelines-drift-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ on:
PR_CREATE_TOKEN:
required: false
env:
PIPELINES_CLI_VERSION: v0.29.1
PIPELINES_ACTIONS_VERSION: v3.0.3
PIPELINES_CLI_VERSION: v0.31.0
PIPELINES_ACTIONS_VERSION: v3.1.1
BOILERPLATE_VERSION: v0.5.16
GRUNTWORK_INSTALLER_VERSION: v0.0.40

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pipelines-root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ on:
required: false

env:
PIPELINES_CLI_VERSION: v0.29.1
PIPELINES_ACTIONS_VERSION: v3.0.3
PIPELINES_CLI_VERSION: v0.31.0
PIPELINES_ACTIONS_VERSION: v3.1.1
BOILERPLATE_VERSION: v0.5.16
GRUNTWORK_INSTALLER_VERSION: v0.0.40

Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
if: ${{ steps.gruntwork_context.outputs.action == 'TERRAGRUNT_EXECUTE' }}
uses: ./pipelines-actions/.github/actions/pipelines-execute
env:
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd ."
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10"
with:
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pipelines-unlock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ on:
PIPELINES_READ_TOKEN:
required: true
env:
PIPELINES_CLI_VERSION: v0.29.1
PIPELINES_ACTIONS_VERSION: v3.0.3
PIPELINES_CLI_VERSION: v0.31.0
PIPELINES_ACTIONS_VERSION: v3.1.1

jobs:
unlock_one:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
id: terragrunt
uses: ./pipelines-actions/.github/actions/pipelines-execute
env:
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd ."
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10"
with:
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
REGION=$(echo $pipelinesConfigAuth | jq -r ".Authentication.AWSOIDC.Region")
auth=$(pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd .)
auth=$(pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10)
export AWS_DEFAULT_REGION=$REGION
export AWS_ACCESS_KEY_ID=$(jq -r '.awsCredentials.ACCESS_KEY_ID' <<< $auth)
export AWS_SECRET_ACCESS_KEY=$(jq -r '.awsCredentials.SECRET_ACCESS_KEY' <<< $auth)
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:
id: terragrunt
uses: ./pipelines-actions/.github/actions/pipelines-execute
env:
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd ."
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10"
with:
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ on:
required: false

env:
PIPELINES_CLI_VERSION: v0.29.1
PIPELINES_ACTIONS_VERSION: v3.0.3
PIPELINES_CLI_VERSION: v0.31.0
PIPELINES_ACTIONS_VERSION: v3.1.1

# GitHub Actions tends to hit resource exhaustion and kill running jobs
# if we leave parallelism unbounded, so we set the max to 10 for a sane default.
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
id: terragrunt
uses: ./pipelines-actions/.github/actions/pipelines-execute
env:
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd ."
TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10"
with:
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
Expand Down

0 comments on commit 08d96dc

Please sign in to comment.