Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main--components--…
Browse files Browse the repository at this point in the history
…blobstorage
  • Loading branch information
dionysuzx authored May 14, 2024
2 parents 3089ab6 + b6c6b5f commit 210fb33
Show file tree
Hide file tree
Showing 75 changed files with 2,622 additions and 2,097 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/blobstorage-preview.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/blobstorage-production.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Bridge UI Build and Checks

on:
workflow_call
on: workflow_call

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eventindexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
lint-eventindexer:
name: lint
name: lint-eventindexer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +30,7 @@ jobs:

test-eventindexer:
runs-on: [taiko-runner]
needs: lint
needs: lint-eventindexer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
with:
environment: 'preview'
flags: ''
environment: "preview"
flags: ""
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -32,8 +32,8 @@ jobs:
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
with:
environment: 'preview'
flags: ''
environment: "preview"
flags: ""
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_INTERNAL }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -44,8 +44,8 @@ jobs:
needs: build-and-test
uses: ./.github/workflows/vercel-deploy.yml
with:
environment: 'production'
flags: '--prod'
environment: "production"
flags: "--prod"
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- "packages/guardian-prover-health-check/**"

jobs:
lint:
name: lint
lint-guardian-prover-health-check:
name: lint-guardian-prover-health-check
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -28,9 +28,9 @@ jobs:
working-directory: ./packages/guardian-prover-health-check
args: --config=.golangci.yml --timeout=4m

test:
test-guardian-prover-health-check:
runs-on: [taiko-runner]
needs: lint
needs: lint-guardian-prover-health-check
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -52,7 +52,7 @@ jobs:
files: ./packages/guardian-prover-health-check/coverage.txt
flags: guardian-prover-health-check

push-docker-image:
push-guardian-prover-health-check-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
name: Build and push docker image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
lint-relayer:
name: lint
name: lint-relayer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +30,7 @@ jobs:

test-relayer:
runs-on: [taiko-runner]
needs: lint
needs: lint-relayer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ on:
required: true
secrets:
vercel_project_id:
description: 'Vercel Project ID'
description: "Vercel Project ID"
required: true
vercel_org_id:
description: 'Vercel ORG ID'
description: "Vercel ORG ID"
required: true
vercel_token:
description: 'Vercel TOKEN'
description: "Vercel TOKEN"
required: true

env:
VERCEL_ORG_ID: ${{ secrets.vercel_org_id }}
VERCEL_PROJECT_ID: ${{ secrets.vercel_project_id }}
VERCEL_ORG_ID: ${{ secrets.vercel_org_id }}
VERCEL_PROJECT_ID: ${{ secrets.vercel_project_id }}

jobs:
build-deploy:
Expand Down
File renamed without changes.
File renamed without changes.
46 changes: 0 additions & 46 deletions .github/workflows/taiko-client-proverapi-preview.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/taiko-client-proverapi-production.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Taikoon UI Build and Checks

on:
workflow_call
on: workflow_call

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages/blobstorage": "0.2.0",
"packages/branding": "0.4.0",
"packages/bridge-ui": "2.10.1",
"packages/docs-site": "1.0.0",
"packages/docs-site": "1.1.0",
"packages/eventindexer": "0.13.0",
"packages/fork-diff": "0.5.0",
"packages/guardian-prover-health-check": "0.1.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/docs-site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.1.0](https://github.com/taikoxyz/taiko-mono/compare/docs-site-v1.0.0...docs-site-v1.1.0) (2024-05-14)


### Features

* **repo,docs-site:** migrate swagger apis to docs ([#17149](https://github.com/taikoxyz/taiko-mono/issues/17149)) ([1b3baf6](https://github.com/taikoxyz/taiko-mono/commit/1b3baf637ecd7103b5918dccb67cd9defc57511e))

## [1.0.0](https://github.com/taikoxyz/taiko-mono/compare/docs-site-v1.0.0...docs-site-v1.0.0) (2024-05-13)


Expand Down
42 changes: 37 additions & 5 deletions packages/docs-site/astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidator from "starlight-links-validator";
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi";

// https://astro.build/config
export default defineConfig({
Expand All @@ -13,7 +14,38 @@ export default defineConfig({
},
integrations: [
starlight({
plugins: [starlightLinksValidator()],
plugins: [
starlightLinksValidator({
exclude: [
// "/api-reference/blob-storage",
"/api-reference/bridge-relayer",
"/api-reference/event-indexer",
"/api-reference/prover-server",
],
}),
starlightOpenAPI([
// {
// base: "api-reference/blob-storage",
// label: "Blob Storage API",
// schema: "../blobstorage/docs/swagger.yaml",
// },
{
base: "api-reference/bridge-relayer",
label: "Bridge Relayer API",
schema: "../relayer/docs/swagger.yaml",
},
{
base: "api-reference/event-indexer",
label: "Event Indexer API",
schema: "../eventindexer/docs/swagger.yaml",
},
{
base: "api-reference/prover-server",
label: "Prover Server API",
schema: "../taiko-client/docs/swagger.yaml",
},
]),
],
components: {
SiteTitle: "./src/components/starlight/SiteTitle.astro",
Head: "./src/components/starlight/Head.astro",
Expand Down Expand Up @@ -115,14 +147,14 @@ export default defineConfig({
},
],
},
{
label: "API Reference",
autogenerate: { directory: "api-reference" },
},
{
label: "Resources",
autogenerate: { directory: "resources" },
},
{
label: "API Reference",
items: openAPISidebarGroups,
},
],
}),
],
Expand Down
Loading

0 comments on commit 210fb33

Please sign in to comment.