Skip to content

Commit

Permalink
Merge pull request Codium-ai#450 from koid/fix/specify-cache-director…
Browse files Browse the repository at this point in the history
…y-in-azure-devops

Specify Cache Directory in Azure DevOps in Lambda Function Setup
  • Loading branch information
mrT23 authored Dec 5, 2023
2 parents 2e2abcb + 4fa5dba commit 7fb789f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ docker push codiumai/pr-agent:github_app # Push to your Docker repository
```
4. Create a lambda function that uses the uploaded image. Set the lambda timeout to be at least 3m.
5. Configure the lambda function to have a Function URL.
6. Go back to steps 8-9 of [Method 5](#run-as-a-github-app) with the function url as your Webhook URL.
6. In the environment variables of the Lambda function, specify `AZURE_DEVOPS_CACHE_DIR` to a writable location such as /tmp. (see [#443](https://github.com/Codium-ai/pr-agent/issues/443))
7. Go back to steps 8-9 of [Method 5](#run-as-a-github-app) with the function url as your Webhook URL.
The Webhook URL would look like `https://<LAMBDA_FUNCTION_URL>/api/v1/github_webhooks`

---
Expand Down

0 comments on commit 7fb789f

Please sign in to comment.