Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 Add SAM invoke lambda-function test #1332

Merged
merged 9 commits into from
Nov 5, 2024
Merged

Conversation

ASTRobinson
Copy link
Contributor

@ASTRobinson ASTRobinson commented Nov 4, 2024

As per issue ministryofjustice/modernisation-platform#8161 this PR adds a testing step using SAM local invoke to initiate a one-time invocation of the AWS Lambda function locally.

Successful SAM invoke local lambda test: https://github.com/ministryofjustice/modernisation-platform-instance-scheduler/actions/runs/11682558642/job/32529929402

Failing SAM invoke local lambda test: https://github.com/ministryofjustice/modernisation-platform-instance-scheduler/actions/runs/11681879279/job/32527843077

also bumps Go to the latest version 1.23

@ASTRobinson ASTRobinson changed the title Dockerfile testing investigation 🧪 Add SAM invoke lambda-function test Nov 5, 2024
@ASTRobinson ASTRobinson marked this pull request as ready for review November 5, 2024 11:31
@ASTRobinson ASTRobinson requested a review from a team as a code owner November 5, 2024 11:31
@ASTRobinson ASTRobinson force-pushed the testing/sam-buid-version branch from e4b2138 to 922bba8 Compare November 5, 2024 13:20
mikereiddigital
mikereiddigital previously approved these changes Nov 5, 2024
Copy link
Contributor

@mikereiddigital mikereiddigital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m

Copy link
Contributor

@mikereiddigital mikereiddigital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m

@ASTRobinson ASTRobinson merged commit 95a57c4 into main Nov 5, 2024
3 checks passed
@ASTRobinson ASTRobinson deleted the testing/sam-buid-version branch November 5, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants