Skip to content

Commit

Permalink
update remaining references
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Sep 1, 2023
1 parent 04f7908 commit 0fe0e12
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# rapids-runners
# nvidia-runners

This repository is the TypeScript-application backend for the `rapids-runners` GitHub application.
This repository is the TypeScript-application backend for the `nvidia-runners` GitHub application.

When the GitHub application is installed, the `rapids-runners` group is automatically created in the organization.
When the GitHub application is installed, the `nvidia-runners` group is automatically created in the organization.

The default settings for the `rapids-runners` runner group are:
The default settings for the `nvidia-runners` runner group are:

- Enable runners on public repositories
- Allow runners to be used on selected repositories (though no repositories are selected by default)

After installation, organization administrators can further configure the runner group to select which repositories should be able to use the runners (or enable the runners on all repositories).

The `rapids-runners` GitHub application is installable by the public, but uses the [webhook-authorizer](https://github.com/nv-gha-runners/webhook-authorizer) library to uninstall itself from organizations that aren't explicitly added to the allow-list (see [lambda.ts](./src/lambda.ts) for the allow-list).
The `nvidia-runners` GitHub application is installable by the public, but uses the [webhook-authorizer](https://github.com/nv-gha-runners/webhook-authorizer) library to uninstall itself from organizations that aren't explicitly added to the allow-list (see [lambda.ts](./src/lambda.ts) for the allow-list).
4 changes: 2 additions & 2 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rapids-runners",
"name": "nvidia-runners",
"version": "1.0.0",
"description": "GitHub App for provisioning self-hosted runners",
"main": "index.js",
Expand All @@ -11,14 +11,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/rapidsai/rapids-runners.git"
"url": "git+https://github.com/rapidsai/nvidia-runners.git"
},
"author": "AJ Schmidt <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/rapidsai/rapids-runners/issues"
"url": "https://github.com/rapidsai/nvidia-runners/issues"
},
"homepage": "https://github.com/rapidsai/rapids-runners#readme",
"homepage": "https://github.com/rapidsai/nvidia-runners#readme",
"dependencies": {
"@octokit/auth-app": "^4.0.9",
"@octokit/plugin-retry": "^4.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { retry } from "@octokit/plugin-retry";

const makeLogger = (obj: any) => (msg: string) => {
console.log(
JSON.stringify({ "@msg": msg, "@app": "rapids-runners", ...obj })
JSON.stringify({ "@msg": msg, "@app": "nvidia-runners", ...obj })
);
};

Expand Down
4 changes: 2 additions & 2 deletions tests/lambda.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ describe("default", () => {
expect(mockRequest).toHaveBeenCalledTimes(1);
expect(mockRequest.mock.calls[0][1]).toStrictEqual({
org: "rapidsai",
name: "rapids-runners",
name: "nvidia-runners",
visibility: "selected",
allows_public_repositories: true,
});
expect(result).toStrictEqual({
body: "New installation detected. 'rapids-runners' group created.",
body: "New installation detected. 'nvidia-runners' group created.",
statusCode: 200,
});
});
Expand Down

0 comments on commit 0fe0e12

Please sign in to comment.