Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Jun 25, 2024
2 parents 6f9490f + 6977578 commit 206fc8e
Show file tree
Hide file tree
Showing 172 changed files with 95,564 additions and 153,720 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ postgres-data
rabbitmq.conf

*encryption-keys
generated/
/generated/
certs/

openapitools.json
16 changes: 0 additions & 16 deletions api-contracts/openapi/components/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ Workflow:
$ref: "./workflow.yaml#/Workflow"
WorkflowConcurrency:
$ref: "./workflow.yaml#/WorkflowConcurrency"
WorkflowDeploymentConfig:
$ref: "./workflow.yaml#/WorkflowDeploymentConfig"
WorkflowVersionMeta:
$ref: "./workflow.yaml#/WorkflowVersionMeta"
WorkflowVersion:
Expand Down Expand Up @@ -172,20 +170,6 @@ RerunStepRunRequest:
$ref: "./workflow_run.yaml#/RerunStepRunRequest"
TriggerWorkflowRunRequest:
$ref: "./workflow_run.yaml#/TriggerWorkflowRunRequest"
LinkGithubRepositoryRequest:
$ref: "./workflow.yaml#/LinkGithubRepositoryRequest"
GithubBranch:
$ref: "./github_app.yaml#/GithubBranch"
GithubRepo:
$ref: "./github_app.yaml#/GithubRepo"
GithubAppInstallation:
$ref: "./github_app.yaml#/GithubAppInstallation"
ListGithubAppInstallationsResponse:
$ref: "./github_app.yaml#/ListGithubAppInstallationsResponse"
ListGithubReposResponse:
$ref: "./github_app.yaml#/ListGithubReposResponse"
ListGithubBranchesResponse:
$ref: "./github_app.yaml#/ListGithubBranchesResponse"
CreatePullRequestFromStepRun:
$ref: "./workflow_run.yaml#/CreatePullRequestFromStepRun"
GetStepRunDiffResponse:
Expand Down
61 changes: 0 additions & 61 deletions api-contracts/openapi/components/schemas/github_app.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions api-contracts/openapi/components/schemas/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,10 @@ Workflow:
items:
$ref: "#/Job"
description: The jobs of the workflow.
deployment:
$ref: "#/WorkflowDeploymentConfig"
required:
- metadata
- name
type: object
WorkflowDeploymentConfig:
properties:
metadata:
$ref: "./metadata.yaml#/APIResourceMeta"
gitRepoName:
type: string
description: The repository name.
gitRepoOwner:
type: string
description: The repository owner.
gitRepoBranch:
type: string
description: The repository branch.
githubAppInstallation:
$ref: "./_index.yaml#/GithubAppInstallation"
description: The Github App installation.
githubAppInstallationId:
type: string
format: uuid
description: The id of the Github App installation.
required:
- metadata
- gitRepoName
- gitRepoOwner
- gitRepoBranch
- githubAppInstallationId

WorkflowTag:
type: object
Expand Down
22 changes: 0 additions & 22 deletions api-contracts/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,10 @@ paths:
$ref: "./paths/user/user.yaml#/oauth-start-github"
/api/v1/users/github/callback:
$ref: "./paths/user/user.yaml#/oauth-callback-github"
/api/v1/users/github-app/start:
$ref: "./paths/user/user.yaml#/oauth-start-github-app"
/api/v1/users/github-app/callback:
$ref: "./paths/user/user.yaml#/oauth-callback-github-app"
/api/v1/tenants/{tenant}/slack/start:
$ref: "./paths/user/user.yaml#/oauth-start-slack"
/api/v1/users/slack/callback:
$ref: "./paths/user/user.yaml#/oauth-callback-slack"
/api/v1/github/webhook:
$ref: "./paths/github-app/github-app.yaml#/globalWebhook"
/api/v1/github/webhook/{webhook}:
$ref: "./paths/github-app/github-app.yaml#/tenantWebhook"
/api/v1/sns/{tenant}/{event}:
$ref: "./paths/ingestors/ingestors.yaml#/sns"
/api/v1/tenants/{tenant}/sns:
Expand Down Expand Up @@ -122,16 +114,10 @@ paths:
$ref: "./paths/workflow/workflow.yaml#/triggerWorkflow"
/api/v1/workflows/{workflow}/versions/definition:
$ref: "./paths/workflow/workflow.yaml#/workflowVersionDefinition"
/api/v1/workflows/{workflow}/link-github:
$ref: "./paths/workflow/workflow.yaml#/linkGithub"
/api/v1/workflows/{workflow}/metrics:
$ref: "./paths/workflow/workflow.yaml#/getMetrics"
/api/v1/step-runs/{step-run}/create-pr:
$ref: "./paths/workflow/workflow.yaml#/createPullRequest"
/api/v1/step-runs/{step-run}/logs:
$ref: "./paths/log/log.yaml#/withStepRun"
/api/v1/step-runs/{step-run}/diff:
$ref: "./paths/workflow/workflow.yaml#/getDiff"
/api/v1/step-runs/{step-run}/events:
$ref: "./paths/step-run/step-run.yaml#/listEvents"
/api/v1/tenants/{tenant}/workflows/runs:
Expand All @@ -140,8 +126,6 @@ paths:
$ref: "./paths/workflow/workflow.yaml#/workflowRunsMetrics"
/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}:
$ref: "./paths/workflow/workflow.yaml#/workflowRun"
/api/v1/tenants/{tenant}/workflow-runs/{workflow-run}/prs:
$ref: "./paths/workflow/workflow.yaml#/listPullRequests"
/api/v1/tenants/{tenant}/step-runs/{step-run}:
$ref: "./paths/step-run/step-run.yaml#/stepRunScoped"
/api/v1/tenants/{tenant}/step-runs/{step-run}/rerun:
Expand All @@ -154,12 +138,6 @@ paths:
$ref: "./paths/worker/worker.yaml#/withTenant"
/api/v1/workers/{worker}:
$ref: "./paths/worker/worker.yaml#/withWorker"
/api/v1/github-app/installations:
$ref: "./paths/github-app/github-app.yaml#/installations"
/api/v1/github-app/installations/{gh-installation}/repos:
$ref: "./paths/github-app/github-app.yaml#/repos"
/api/v1/github-app/installations/{gh-installation}/repos/{gh-repo-owner}/{gh-repo-name}/branches:
$ref: "./paths/github-app/github-app.yaml#/branches"
/api/v1/tenants/{tenant}/webhook-workers:
$ref: "./paths/webhook-worker/webhook-worker.yaml#/webhookworkers"
/api/v1/tenants/webhook-workers/{webhook}:
Expand Down
Loading

0 comments on commit 206fc8e

Please sign in to comment.