Skip to content

Commit

Permalink
update base image and action.yaml(add piped-handle-timeout input)
Browse files Browse the repository at this point in the history
  • Loading branch information
mi11km committed Nov 14, 2023
1 parent 0eaa0c6 commit 0bf9beb
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/actions-plan-preview.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://github.com/pipe-cd/pipecd/pkgs/container/actions-plan-preview/63279202?tag=v0.41.3
FROM ghcr.io/pipe-cd/actions-plan-preview@sha256:0f4d2b96551616c95718b930e37e4c973b497a64974dd52af1a5367614127857
# https://github.com/pipe-cd/pipecd/pkgs/container/actions-plan-preview/146962506?tag=v0.45.4-rc2
FROM ghcr.io/pipe-cd/actions-plan-preview@sha256:42c0ce698543ca2c8f958af996dac0934b5347f06d8d0468045e83d9419775ed
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
if: "github.event_name == 'pull_request'"
steps:
- uses: pipe-cd/actions-plan-preview@v1.7.2
- uses: pipe-cd/actions-plan-preview@v1.7.5
with:
address: ${{ secrets.PIPECD_API_ADDRESS }}
api-key: ${{ secrets.PIPECD_PLAN_PREVIEW_API_KEY }}
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
if: "github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/pipecd plan-preview')"
steps:
- uses: pipe-cd/actions-plan-preview@v1.7.2
- uses: pipe-cd/actions-plan-preview@v1.7.5
with:
address: ${{ secrets.PIPECD_API_ADDRESS }}
api-key: ${{ secrets.PIPECD_PLAN_PREVIEW_API_KEY }}
Expand Down
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ inputs:
description: 'Maximum amount of time to run. Default is 5m.'
required: false
default: 5m
piped-handle-timeout:
description: 'Maximum amount of time to wait for piped handle the plan preview. Default is 5m.'
required: false
default: 5m

runs:
using: 'docker'
Expand All @@ -25,6 +29,7 @@ runs:
- api-key=${{ inputs.api-key }}
- token=${{ inputs.token }}
- timeout=${{ inputs.timeout }}
- piped-handle-timeout=${{ inputs.piped-handle-timeout }}

branding:
icon: 'eye'
Expand Down

0 comments on commit 0bf9beb

Please sign in to comment.