Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC Piped v1 planner with plugin deployment interface #5074

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
31fb9e5
POC Piped v1 planner with plugin deployment interface
khanhtc1202 Jul 25, 2024
5dc4ee3
Add typecheck for typescript on lint/web (#5073)
ffjlabo Jul 25, 2024
98093d2
Add workflow for patch release (#5079)
ffjlabo Jul 26, 2024
69f4842
Add user info for cherry-pick (#5080)
ffjlabo Jul 26, 2024
b6e9a2c
Add quiet option for cherry-pick (#5081)
ffjlabo Jul 26, 2024
020726a
Add sign off option for git cherry-pick (#5083)
ffjlabo Jul 26, 2024
6dcca16
add ci rule for release branch (#5085)
ffjlabo Jul 26, 2024
46b475c
Remove platform provider migration ops task (#5065)
khanhtc1202 Jul 26, 2024
f89dd9a
Register otel TracerProvider to send traces (#5029)
Warashi Jul 29, 2024
739ccb0
Release/init v0.48.3 (#5090)
t-kikuc Jul 29, 2024
7cd5d5c
Fix typo
khanhtc1202 Jul 29, 2024
cfb6dee
Fix missing args
khanhtc1202 Jul 29, 2024
7142c23
Change deploysource generic application config to pointer
khanhtc1202 Jul 29, 2024
47ac7e1
Fix 4 typos (#5086)
t-kikuc Jul 30, 2024
57e9cbf
Fix docs and a description of supported SSO services (#5075)
t-kikuc Jul 30, 2024
1dbd6f8
[ECS] Implement LiveState UI for ECS (#5021)
t-kikuc Jul 30, 2024
915a632
Remove unnecesarry property (#5095)
ffjlabo Jul 30, 2024
8944de2
Set fetch-depth to 0 to create correct patches during git cherry-pick…
ffjlabo Jul 30, 2024
c47239b
Add buildQuickSyncStages impl
khanhtc1202 Jul 30, 2024
edebc9f
Fix Lambda config docs (#5087)
t-kikuc Jul 31, 2024
2730c25
[bot] Update contributors (#5098)
github-actions[bot] Aug 1, 2024
0965b3c
Bump postcss from 7.0.39 to 8.4.40 in /docs (#5099)
dependabot[bot] Aug 1, 2024
d805cf5
Bump github.com/docker/docker from 24.0.9+incompatible to 26.1.4+inco…
dependabot[bot] Aug 1, 2024
23d338f
Fix firestore index (#5100)
ffjlabo Aug 1, 2024
9709438
Update RELEASE to v0.48.4 (#5104)
ffjlabo Aug 2, 2024
cd642b4
Use LRUCache for Application Manifests Cache (#5108)
Warashi Aug 2, 2024
dcf8cde
Remove deleted related MySQL application index (#5102)
khanhtc1202 Aug 5, 2024
9ec2503
Add note to application delete field (#5101)
khanhtc1202 Aug 5, 2024
f5dcaa4
Update plugin deployment api (#5110)
khanhtc1202 Aug 5, 2024
74ea84a
POC Piped v1 planner with plugin deployment interface
khanhtc1202 Jul 25, 2024
c030bf7
Fix typo
khanhtc1202 Jul 29, 2024
0cbcf33
Fix missing args
khanhtc1202 Jul 29, 2024
88a2cbd
Change deploysource generic application config to pointer
khanhtc1202 Jul 29, 2024
c92e068
Rebase master
khanhtc1202 Aug 5, 2024
8b0c246
Merge branch 'poc-pipedv1-planner' of github.com:pipe-cd/pipe into po…
khanhtc1202 Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'
paths:
- tool/**

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/cherry_pick.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: cherry_pick

on:
workflow_dispatch:
inputs:
releaseBranch:
description: 'release branch (e.g. release-v0.48.x)'
required: true
type: string
version:
description: 'release version (e.g. v0.48.1)'
required: true
type: string
jobs:
tool:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: make a cherry-pick PR
run: |
git config user.name "pipecd-bot"
git config user.email "[email protected]"
./hack/cherry-pick.sh -q ${{ inputs.releaseBranch }} $(gh pr list --label cherry-pick --label ${{ inputs.version }} --state merged | awk '{print $1}' | sort | paste -sd ' ' -)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'

env:
GO_VERSION: 1.22.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- master
- 'release-v*'
paths:
- tool/**

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ lint/web: FIX ?= false
lint/web:
ifeq ($(FIX),true)
yarn --cwd web lint:fix
yarn --cwd web typecheck
else
yarn --cwd web lint
yarn --cwd web typecheck
endif

# Update commands
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,38 +86,38 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/cakecatz"><img src="https://avatars.githubusercontent.com/u/6136383?v=4" title="cakecatz" width="80" height="80"></a>
<a href="https://github.com/knanao"><img src="https://avatars.githubusercontent.com/u/50069775?v=4" title="knanao" width="80" height="80"></a>
<a href="https://github.com/ono-max"><img src="https://avatars.githubusercontent.com/u/59436572?v=4" title="ono-max" width="80" height="80"></a>
<a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4" title="dependabot[bot]" width="80" height="80"></a>
<a href="https://github.com/t-kikuc"><img src="https://avatars.githubusercontent.com/u/97105818?v=4" title="t-kikuc" width="80" height="80"></a>
<a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4" title="dependabot[bot]" width="80" height="80"></a>
<a href="https://github.com/ffjlabo"><img src="https://avatars.githubusercontent.com/u/40124947?v=4" title="ffjlabo" width="80" height="80"></a>
<a href="https://github.com/kentakozuka"><img src="https://avatars.githubusercontent.com/u/16733673?v=4" title="kentakozuka" width="80" height="80"></a>
<a href="https://github.com/stormcat24"><img src="https://avatars.githubusercontent.com/u/919840?v=4" title="stormcat24" width="80" height="80"></a>
<a href="https://github.com/ffjlabo"><img src="https://avatars.githubusercontent.com/u/40124947?v=4" title="ffjlabo" width="80" height="80"></a>
<a href="https://github.com/Hosshii"><img src="https://avatars.githubusercontent.com/u/49914427?v=4" title="Hosshii" width="80" height="80"></a>
<a href="https://github.com/funera1"><img src="https://avatars.githubusercontent.com/u/60760935?v=4" title="funera1" width="80" height="80"></a>
<a href="https://github.com/sanposhiho"><img src="https://avatars.githubusercontent.com/u/44139130?v=4" title="sanposhiho" width="80" height="80"></a>
<a href="https://github.com/Szarny"><img src="https://avatars.githubusercontent.com/u/26561120?v=4" title="Szarny" width="80" height="80"></a>
<a href="https://github.com/kevin-namba"><img src="https://avatars.githubusercontent.com/u/68955641?v=4" title="kevin-namba" width="80" height="80"></a>
<a href="https://github.com/Warashi"><img src="https://avatars.githubusercontent.com/u/3600530?v=4" title="Warashi" width="80" height="80"></a>
<a href="https://github.com/sivchari"><img src="https://avatars.githubusercontent.com/u/55221074?v=4" title="sivchari" width="80" height="80"></a>
<a href="https://github.com/kevin-namba"><img src="https://avatars.githubusercontent.com/u/68955641?v=4" title="kevin-namba" width="80" height="80"></a>
<a href="https://github.com/hungran"><img src="https://avatars.githubusercontent.com/u/26101787?v=4" title="hungran" width="80" height="80"></a>
<a href="https://github.com/kurochan"><img src="https://avatars.githubusercontent.com/u/591247?v=4" title="kurochan" width="80" height="80"></a>
<a href="https://github.com/TaKO8Ki"><img src="https://avatars.githubusercontent.com/u/41065217?v=4" title="TaKO8Ki" width="80" height="80"></a>
<a href="https://github.com/chaspy"><img src="https://avatars.githubusercontent.com/u/10370988?v=4" title="chaspy" width="80" height="80"></a>
<a href="https://github.com/gkuga"><img src="https://avatars.githubusercontent.com/u/33643470?v=4" title="gkuga" width="80" height="80"></a>
<a href="https://github.com/Warashi"><img src="https://avatars.githubusercontent.com/u/3600530?v=4" title="Warashi" width="80" height="80"></a>
<a href="https://github.com/golemiso"><img src="https://avatars.githubusercontent.com/u/3282656?v=4" title="golemiso" width="80" height="80"></a>
<a href="https://github.com/karamaru-alpha"><img src="https://avatars.githubusercontent.com/u/38310693?v=4" title="karamaru-alpha" width="80" height="80"></a>
<a href="https://github.com/nnnkkk7"><img src="https://avatars.githubusercontent.com/u/68233204?v=4" title="nnnkkk7" width="80" height="80"></a>
<a href="https://github.com/ouchi2501"><img src="https://avatars.githubusercontent.com/u/11391317?v=4" title="ouchi2501" width="80" height="80"></a>
<a href="https://github.com/caniszczyk"><img src="https://avatars.githubusercontent.com/u/63777?v=4" title="caniszczyk" width="80" height="80"></a>
<a href="https://github.com/TonkyH"><img src="https://avatars.githubusercontent.com/u/50762864?v=4" title="TonkyH" width="80" height="80"></a>
<a href="https://github.com/dgannon991"><img src="https://avatars.githubusercontent.com/u/19214156?v=4" title="dgannon991" width="80" height="80"></a>
<a href="https://github.com/tnqv"><img src="https://avatars.githubusercontent.com/u/23372024?v=4" title="tnqv" width="80" height="80"></a>
<a href="https://github.com/caniszczyk"><img src="https://avatars.githubusercontent.com/u/63777?v=4" title="caniszczyk" width="80" height="80"></a>
<a href="https://github.com/khanhtc3010"><img src="https://avatars.githubusercontent.com/u/9603918?v=4" title="khanhtc3010" width="80" height="80"></a>
<a href="https://github.com/TakumaKurosawa"><img src="https://avatars.githubusercontent.com/u/39955827?v=4" title="TakumaKurosawa" width="80" height="80"></a>
<a href="https://github.com/na-ga"><img src="https://avatars.githubusercontent.com/u/537006?v=4" title="na-ga" width="80" height="80"></a>
<a href="https://github.com/kanata2"><img src="https://avatars.githubusercontent.com/u/7460883?v=4" title="kanata2" width="80" height="80"></a>
<a href="https://github.com/arabian9ts"><img src="https://avatars.githubusercontent.com/u/24448137?v=4" title="arabian9ts" width="80" height="80"></a>
<a href="https://github.com/anhpnv"><img src="https://avatars.githubusercontent.com/u/40441000?v=4" title="anhpnv" width="80" height="80"></a>
<a href="https://github.com/seipan"><img src="https://avatars.githubusercontent.com/u/88176012?v=4" title="seipan" width="80" height="80"></a>
<a href="https://github.com/anhpnv"><img src="https://avatars.githubusercontent.com/u/40441000?v=4" title="anhpnv" width="80" height="80"></a>
<a href="https://github.com/arabian9ts"><img src="https://avatars.githubusercontent.com/u/24448137?v=4" title="arabian9ts" width="80" height="80"></a>
<a href="https://github.com/kanata2"><img src="https://avatars.githubusercontent.com/u/7460883?v=4" title="kanata2" width="80" height="80"></a>
<a href="https://github.com/na-ga"><img src="https://avatars.githubusercontent.com/u/537006?v=4" title="na-ga" width="80" height="80"></a>
<a href="https://github.com/TakumaKurosawa"><img src="https://avatars.githubusercontent.com/u/39955827?v=4" title="TakumaKurosawa" width="80" height="80"></a>
<a href="https://github.com/khanhtc3010"><img src="https://avatars.githubusercontent.com/u/9603918?v=4" title="khanhtc3010" width="80" height="80"></a>
<a href="https://github.com/tennashi"><img src="https://avatars.githubusercontent.com/u/10219626?v=4" title="tennashi" width="80" height="80"></a>
<a href="https://github.com/ShotaKitazawa"><img src="https://avatars.githubusercontent.com/u/19530785?v=4" title="ShotaKitazawa" width="80" height="80"></a>
<a href="https://github.com/Exzrgs"><img src="https://avatars.githubusercontent.com/u/140805585?v=4" title="Exzrgs" width="80" height="80"></a>
Expand All @@ -136,6 +136,7 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/hosht"><img src="https://avatars.githubusercontent.com/u/3858627?v=4" title="hosht" width="80" height="80"></a>
<a href="https://github.com/ww24"><img src="https://avatars.githubusercontent.com/u/695166?v=4" title="ww24" width="80" height="80"></a>
<a href="https://github.com/tnir"><img src="https://avatars.githubusercontent.com/u/10229505?v=4" title="tnir" width="80" height="80"></a>
<a href="https://github.com/tetsuya28"><img src="https://avatars.githubusercontent.com/u/11973270?v=4" title="tetsuya28" width="80" height="80"></a>
<a href="https://github.com/yoiki"><img src="https://avatars.githubusercontent.com/u/39365493?v=4" title="yoiki" width="80" height="80"></a>
<a href="https://github.com/JohnTitor"><img src="https://avatars.githubusercontent.com/u/25030997?v=4" title="JohnTitor" width="80" height="80"></a>
<a href="https://github.com/ponkio-o"><img src="https://avatars.githubusercontent.com/u/29038315?v=4" title="ponkio-o" width="80" height="80"></a>
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tag: v0.48.2
tag: v0.48.4

releaseNoteGenerator:
showCommitter: false
Expand Down
10 changes: 0 additions & 10 deletions cmd/pipecd/ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/pipe-cd/pipecd/pkg/app/ops/orphancommandcleaner"
"github.com/pipe-cd/pipecd/pkg/app/ops/pipedstatsbuilder"
"github.com/pipe-cd/pipecd/pkg/app/ops/planpreviewoutputcleaner"
"github.com/pipe-cd/pipecd/pkg/app/ops/platformprovidermigration"
"github.com/pipe-cd/pipecd/pkg/app/ops/staledpipedstatcleaner"
"github.com/pipe-cd/pipecd/pkg/cache/rediscache"
"github.com/pipe-cd/pipecd/pkg/cli"
Expand Down Expand Up @@ -148,15 +147,6 @@ func (s *ops) run(ctx context.Context, input cli.Input) error {
}
}()

// Start running CloudProvider to PlatformProvider migration task.
// TODO: Remove this task after a few releases.
{
runner := platformprovidermigration.NewRunner(ds, input.Logger)
group.Go(func() error {
return runner.Migrate(ctx)
})
}

statCache := rediscache.NewHashCache(rd, defaultPipedStatHashKey)
// Start running staled piped stat cleaner.
{
Expand Down
69 changes: 37 additions & 32 deletions docs/content/en/docs-dev/user-guide/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,56 +448,61 @@ One of `yamlField` or `regex` is required.

### Specific function.yaml

One of `image`, `s3Bucket`, or `source` is required.

- If you use `s3Bucket`, `s3Key` and `s3ObjectVersion` are required.

- If you use `s3Bucket` or `source`, `handler` and `runtime` are required.

See [Configuring Lambda application](../managing-application/defining-app-configuration/lambda) for more details.

| Field | Type | Description | Required |
|------------------|------------------|------------------------------------|----------|
| Name | string | Name of the Lambda function | Yes |
| Role | string | IAM role ARN | Yes |
| ImageURI | string | URI of the container image | Yes |
| S3Bucket | string | S3 bucket name for code package | Yes |
| S3Key | string | S3 key for code package | Yes |
| S3ObjectVersion | string | S3 object version for code package | Yes |
| SourceCode | [SourceCode](#sourcecode) | Git settings | Yes |
| Handler | string | Lambda function handler | Yes |
| Architectures | [[]Architecture](#architecture) | Supported architectures | No |
| EphemeralStorage | [EphemeralStorage](#ephemeralstorage)| Ephemeral storage configuration | No |
| Runtime | string | Runtime environment | Yes |
| Memory | int32 | Memory allocation (in MB) | Yes |
| Timeout | int32 | Function timeout (in seconds) | Yes |
| Tags | map[string]string| Key-value pairs for tags | No |
| Environments | map[string]string| Environment variables | No |
| VPCConfig | [VPCConfig](#vpcconfig) | VPC configuration | No |
| Layers | []string | ARNs of [layers](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) to depend on | No |

### SourceCode
| name | string | Name of the Lambda function | Yes |
| role | string | IAM role ARN | Yes |
| image | string | URI of the container image | No |
| s3Bucket | string | S3 bucket name for code package | No |
| s3Key | string | S3 key for code package | No |
| s3ObjectVersion | string | S3 object version for code package | No |
| source | [source](#source) | Git settings | No |
| handler | string | Lambda function handler | No |
| runtime | string | Runtime environment | No |
| architectures | [][Architecture](#architecture) | Supported architectures | No |
| ephemeralStorage | [EphemeralStorage](#ephemeralstorage)| Ephemeral storage configuration | No |
| memory | int32 | Memory allocation (in MB) | Yes |
| timeout | int32 | Function timeout (in seconds) | Yes |
| tags | map[string]string| Key-value pairs for tags | No |
| environments | map[string]string| Environment variables | No |
| vpcConfig | [VPCConfig](#vpcconfig) | VPC configuration | No |
| layers | []string | ARNs of [layers](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) to depend on | No |

#### Source

| Field | Type | Description | Required |
|-------|--------|--------------------------|----------|
| Git | string | Git repository URL | Yes |
| Ref | string | Git branch/tag/reference| Yes |
| Path | string | Path within the repository | Yes |
| git | string | Git repository URL | Yes |
| ref | string | Git branch/tag/reference| Yes |
| path | string | Path within the repository | Yes |

### Architecture
#### Architecture

| Field | Type | Description | Required |
|-------|--------|------------------------|----------|
| Name | string | Name of the architecture | Yes |
| name | string | Name of the architecture | Yes |

### EphemeralStorage
#### EphemeralStorage

| Field | Type | Description | Required |
|-------|-------|------------------------------|----------|
| Size | int32 | Size of the ephemeral storage| No |
| size | int32 | Size of the ephemeral storage| Yes |

### VPCConfig
#### VPCConfig

| Field | Type | Description | Required |
|-----------------|----------|-----------------------------|----------|
| SecurityGroupIDs| []string | List of security group IDs | No |
| SubnetIDs | []string | List of subnet IDs | No |
| securityGroupIds| []string | List of security group IDs | No |
| subnetIds | []string | List of subnet IDs | No |

- Note
- See more Details
- [Configuration Lambda application](../managing-application/defining-app-configuration/lambda)

## LambdaQuickSync

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| sessionTtl | int | The time to live of session for SSO login. Unit is `hour`. Default is 7 * 24 hours. | No |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

## SSOConfigGitHub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

## SSOConfigGitHub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| sessionTtl | int | The time to live of session for SSO login. Unit is `hour`. Default is 7 * 24 hours. | No |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| sessionTtl | int | The time to live of session for SSO login. Unit is `hour`. Default is 7 * 24 hours. | No |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Must be one of the following objects:
| Field | Type | Description | Required |
|-|-|-|-|
| name | string | The unique name of the configuration. | Yes |
| provider | string | The SSO service provider. Can be one of the following values<br>`GITHUB`, `GOOGLE`... | Yes |
| provider | string | The SSO service provider. Currently, only `GITHUB` is supported. | Yes |
| sessionTtl | int | The time to live of session for SSO login. Unit is `hour`. Default is 7 * 24 hours. | No |
| github | [SSOConfigGitHub](#ssoconfiggithub) | GitHub sso configuration. | No |

Expand Down
Loading
Loading