Skip to content

Commit fd736eb

Browse files
authored
[ez][docs] Add wiki maintenance magic strings to aws/lambda/readme (#6856)
As in title Also * switches some things to permalinks * some capitalization Most of this was written by yang, so I can't take credit even though the wiki maintenance script will say otherwise
1 parent 0758ff2 commit fd736eb

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

aws/lambda/README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Create a new folder under this folder with the name of the lambda function, It s
1111
* `[Recommended]README.MD`: a README file that explains what the lambda function does and how to use it.
1212
* `[Recommended]tests`: you can put your tests in `aws/lambda/tests` folder. The tests will be run by the CI.
1313

14-
refer to exmaple: [aws/lambda/oss_ci_job_queue_time](https://github.com/pytorch/test-infra/tree/main/aws/lambda/oss_ci_job_queue_time).
14+
Refer to exmaple: [aws/lambda/oss_ci_job_queue_time](https://github.com/pytorch/test-infra/tree/99c977d429aa2eb27bc77e1783b0578e8a83e550/aws/lambda/oss_ci_job_queue_time).
1515

1616
#### Makefile Example
1717

@@ -44,7 +44,7 @@ Add a deployment step to `.github/workflows/_lambda-do-release-runners.yml`. If
4444

4545
Once the release step is added, submit the code. Then go to workflow action [Create Release Tag](https://github.com/pytorch/test-infra/actions/workflows/lambda-release-tag-runners.yml) and trigger a release by creating a new tag.
4646

47-
### Finding Release Artifacts
47+
#### Finding Release Artifacts
4848

4949
From the steps such as "Run ncipollo/release-action@v1", you can see the release tag and the release name.
5050

@@ -61,15 +61,20 @@ Run ncipollo/release-action@v1
6161
Use the release name to find your release artifacts in the release page. [pytorch/test-infra/releases](https://github.com/pytorch/test-infra/releases). If you build successfully, you can find your zip file in the release Assets.
6262

6363
## Setup infra resources and deploy the function to cloud
64-
go to [pytorch-gha-infra](https://github.com/pytorch-labs/pytorch-gha-infra)
64+
Go to [pytorch-gha-infra](https://github.com/pytorch-labs/pytorch-gha-infra)
6565

6666
### Setup Permission and Deployment for the lambda function
67-
- Add your lambda function config (such as create role, func-name, and permissions), similar to [pr:set up Aws Resources for queue time histogram lambda ](https://github.com/pytorch-labs/pytorch-gha-infra/pull/647)
67+
- Add your lambda function config (such as create role, func-name, and permissions), similar to [PR: set up Aws Resources for queue time histogram lambda ](https://github.com/pytorch-labs/pytorch-gha-infra/pull/647)
6868
- You should only grab permission the lambda need for resource access, make sure to ask one person from pytorch dev infra team to review the permission.
69-
- Update the release-tag and add your zip file name in [runners/common/Terrafile](https://github.com/pytorch-labs/pytorch-gha-infra/blob/main/runners/common/Terrafile)
69+
- Update the release-tag and add your zip file name in [runners/common/Terrafile](https://github.com/pytorch-labs/pytorch-gha-infra/blob/5fde9cdadaad584de3140488adba8eb9c9fe6722/runners/common/Terrafile)
7070
- During the deploy process, the workflow will download your file based on the Terrafile.
71-
- If you need clichouse account permission, you need ask pytorch dev infra teammate to create a clichouse role for your lambda.
72-
- you need to add the clickhouse role secret to the repo secret, `bunnylol oss pytorch-labs/pytorch-gha-infra` and update it in settings-> secrets.
71+
- If you need ClickHouse account permission, you need ask pytorch dev infra teammate to create a ClickHouse role for your lambda.
72+
- Add the ClickHouse role secret to the repo secret, `bunnylol oss pytorch-labs/pytorch-gha-infra` and update it in settings-> secrets.
7373

7474
### Deploy the lambda
7575
Once the pr is submitted, go to [Runners Do Terraform Release (apply)](https://github.com/pytorch-labs/pytorch-gha-infra/actions/workflows/runners-on-dispatch-release.yml), and click Run workflow.
76+
77+
78+
Page maintainers: @pytorch/pytorch-dev-infra
79+
<br>
80+
Last verified: 2025-06-27

0 commit comments

Comments
 (0)