diff --git a/README.md b/README.md index bab8b8b..87a3474 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package-lock.json b/package-lock.json index 347ea8e..f947733 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "rapids-runners", + "name": "nvidia-runners", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "rapids-runners", + "name": "nvidia-runners", "version": "1.0.0", "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index d3a99f7..ccbcc61 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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 ", "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", diff --git a/src/lambda.ts b/src/lambda.ts index c7e443a..949acd6 100644 --- a/src/lambda.ts +++ b/src/lambda.ts @@ -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 }) ); }; diff --git a/tests/lambda.test.ts b/tests/lambda.test.ts index 45f3e13..861d8ad 100644 --- a/tests/lambda.test.ts +++ b/tests/lambda.test.ts @@ -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, }); });