Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ jobs:
debug: true
publish: false

- name: check max attempts flag
uses: ./
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: gorush
zip_file: example/deployment.zip
debug: true
publish: false
max_attempts: 200

# deploy_source:
# name: deploy lambda from source
# runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/appleboy/drone-lambda:1.3.4
FROM ghcr.io/appleboy/drone-lambda:1.3.5

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ inputs:
description: 'A description of the function.'
tracing_mode:
description: 'Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.'
max_attempts:
description: 'the maximum number of times the waiter should attempt to check the resource for the target state'
default: 300

runs:
using: 'docker'
Expand Down