-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* launchpad * add pipeline * feat: config overrides * feat: pipeline create * feat: update and delete pipeline * feat: confirmation delete pipeline * feat: launcher ui * feat: submitting jobs * feat: confetti * feat: comput eenv check * fix: error message * feat: explainer * fix: compute env * fix: error handling * feat: launcher, terminator * fix: components * feat: graphql * feat: graphql full * fix: auth * feat: graphql
- Loading branch information
Showing
70 changed files
with
6,691 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { type CodegenConfig } from "@graphql-codegen/cli" | ||
import { addTypenameSelectionDocumentTransform } from "@graphql-codegen/client-preset" | ||
|
||
const config: CodegenConfig = { | ||
schema: "/Users/wpc/Projects/cfdx/nf-shard-orchestrator/graph/schema.graphqls", | ||
documents: ["src/**/*.graphql"], | ||
ignoreNoDocuments: true, | ||
overwrite: true, | ||
generates: { | ||
"./src/generated/graphql/": { | ||
preset: "client", | ||
plugins: [], | ||
presetConfig: { | ||
persistedDocuments: true, | ||
fragmentMasking: false, | ||
}, | ||
documentTransforms: [addTypenameSelectionDocumentTransform], | ||
}, | ||
}, | ||
hooks: { afterAllFileWrite: ["prettier --write"] }, | ||
} | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "src/app/globals.css", | ||
"baseColor": "slate", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- CreateTable | ||
CREATE TABLE "ComputeEnvironment" ( | ||
"id" SERIAL NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"description" TEXT, | ||
"is_deleted" BOOLEAN NOT NULL DEFAULT false, | ||
"orchestrator_endpoint" TEXT NOT NULL, | ||
"orchestrator_token" TEXT NOT NULL, | ||
"executor" TEXT NOT NULL, | ||
|
||
CONSTRAINT "ComputeEnvironment_pkey" PRIMARY KEY ("id") | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- CreateTable | ||
CREATE TABLE "Pipeline" ( | ||
"id" TEXT NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"description" TEXT NOT NULL, | ||
"github_url" TEXT NOT NULL, | ||
"compute_overrides" JSONB, | ||
"run_params" JSONB, | ||
|
||
CONSTRAINT "Pipeline_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "Pipeline_id_key" ON "Pipeline"("id"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- CreateTable | ||
CREATE TABLE "ProcessKeys" ( | ||
"id" SERIAL NOT NULL, | ||
"processKey" TEXT NOT NULL, | ||
"executor" TEXT NOT NULL, | ||
"workerUrl" TEXT NOT NULL, | ||
|
||
CONSTRAINT "ProcessKeys_pkey" PRIMARY KEY ("id") | ||
); |
8 changes: 8 additions & 0 deletions
8
prisma/migrations/20240719164509_processrunname/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
Warnings: | ||
- Added the required column `runName` to the `ProcessKeys` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "ProcessKeys" ADD COLUMN "runName" TEXT NOT NULL; |
2 changes: 2 additions & 0 deletions
2
prisma/migrations/20240719164955_process_key_index/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- CreateIndex | ||
CREATE INDEX "ProcessKeys_runName_idx" ON "ProcessKeys"("runName"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `workerUrl` on the `ProcessKeys` table. All the data in the column will be lost. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "ProcessKeys" DROP COLUMN "workerUrl", | ||
ADD COLUMN "computeEnvironmentId" INTEGER; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "ProcessKeys" ADD CONSTRAINT "ProcessKeys_computeEnvironmentId_fkey" FOREIGN KEY ("computeEnvironmentId") REFERENCES "ComputeEnvironment"("id") ON DELETE SET NULL ON UPDATE CASCADE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.