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

rm image list #6

Closed
wants to merge 161 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
cec576d
docs: add ChatGPT quick start example (#902)
zuoFeng59556 Mar 15, 2023
b8f2d47
feat(subscription): impl subscription and account (#894)
maslow Mar 15, 2023
31c3a32
feat(web): add subscription and wechat pay (#904)
LeezQ Mar 15, 2023
acf1d67
doc: add quick start todo (#907)
zuoFeng59556 Mar 16, 2023
6139f74
fix(server): add max renewal time in bundle; fix subscription price (…
maslow Mar 16, 2023
916d371
doc: fix login example (#911)
zuoFeng59556 Mar 16, 2023
d650d20
chore(server): add sub field to find app api (#913)
maslow Mar 16, 2023
463a1bb
refactor subscription dialog experience (#914)
LeezQ Mar 16, 2023
f9e1781
fix(web): fix some dark mode ui bugs (#919)
genie88 Mar 17, 2023
8589126
feat(cli): upgrade s3 sdk version (#922)
skyoct Mar 17, 2023
080712c
refactor(web): upgrade icon (#915)
LeezQ Mar 18, 2023
2c84173
fix(server): fix bucket name regex (#924)
maslow Mar 19, 2023
39447d8
feat(server): add limit to update app state depends on subscription s…
maslow Mar 19, 2023
a8f358c
chore: remove contrib docs of laf web (#927)
maslow Mar 19, 2023
c4e3cf8
feat(server): new authentication implements (#897)
sulnong Mar 19, 2023
0832b1e
feat(web): impl new signup & signin method (#910)
walle233 Mar 19, 2023
c35d339
fix(server): change password signup phone filed to optional (#934)
sulnong Mar 19, 2023
44b0699
fix(web): web signup phone err (#935)
walle233 Mar 19, 2023
0836e11
fix(web): login page i18n word too long (#936)
walle233 Mar 19, 2023
796774f
fix(server): fix init auth provider params (#937)
maslow Mar 19, 2023
4ad79c9
fix(web): sign up provider err while refreshing page (#938)
walle233 Mar 20, 2023
559a54d
doc: add cli README.md (#921)
skyoct Mar 21, 2023
5ed3be5
fix(server): deal with existed app without namespace (#943)
maslow Mar 21, 2023
d62fe96
fix(web): update data use merge mode (#940)
LeezQ Mar 21, 2023
1f5c300
fix(server): add regex for environment name (#944)
maslow Mar 21, 2023
f9a0f20
fix(server): stuck-starting instance blocked the task handler (#945)
maslow Mar 21, 2023
7903875
doc: add function param and data query (#948)
zuoFeng59556 Mar 22, 2023
c7d5913
refactor(web): updrage npm dependencies (#950)
LeezQ Mar 22, 2023
3b8c557
v1.0.0-beta.5
maslow Mar 22, 2023
4069ba8
chore(runtiem): upgrade to typescript@5, fix dockerize action
maslow Mar 23, 2023
2013c37
chore(deploy): remove casdoor charts (#954)
maslow Mar 23, 2023
9141651
feat(server): support website custom domain ssl cert auto-gen (#956)
maslow Mar 24, 2023
46d0cce
fix(server): fixed the error of repeatedly deleting website routes (#…
maslow Mar 24, 2023
c6b7ebc
feat(server): add check if password had binded (#951)
sulnong Mar 24, 2023
971b484
refactor(web): optimize the tag selection (#955)
LeezQ Mar 24, 2023
6baf800
feat(web): fix login bg && add welcome text (#941)
walle233 Mar 24, 2023
ffd4371
doc: update & add db query docs (#958)
zuoFeng59556 Mar 24, 2023
7ca3364
fix(server): add website count limit, opt website task (#959)
maslow Mar 24, 2023
b38c288
fix(deploy): upgrade minio version to fix CVE-2023-28432 (#960)
maslow Mar 24, 2023
a18c27f
fix(web): add types for ctx.request (#963)
maslow Mar 25, 2023
a1e42b1
fix(server): error on deleting cronjob; app stucked in starting (#964)
maslow Mar 25, 2023
260b335
fix(server): fixed illegal removal of unowned trigger (#965)
maslow Mar 25, 2023
13a2a9f
feat(web): reset password (#974)
walle233 Mar 28, 2023
97acba6
doc: add website hosting and laf-cli (#972)
zuoFeng59556 Mar 28, 2023
251a3c4
fix(server): rm minio alias init in boot, fix multi region limit; (#976)
maslow Mar 29, 2023
c68b03b
feat(web): generate function code with AI prompt (#978)
LeezQ Mar 29, 2023
3300953
fix(web): remove withCredentials (#979)
LeezQ Mar 29, 2023
8213bea
fix(server): cancel namespace removal while stopping app (#980)
maslow Mar 29, 2023
5ff503c
Update account.controller.ts
maslow Mar 29, 2023
f559764
fix(server): bucket deletion didn't remove related website (#983)
maslow Mar 30, 2023
206070a
feat(server): add notes field to region,bundle,pay,auth (#986)
maslow Mar 30, 2023
d36eab9
fix(server): fix tasks state handler logic (#987)
maslow Mar 30, 2023
63cc523
fix(server): fix instance task error (#988)
maslow Mar 30, 2023
b7f75cf
style(web): Responsive styles for home page (#985)
yuedanlabs Mar 31, 2023
8444d80
fix(server): add existing check in creating phase of tasks (#990)
maslow Mar 31, 2023
228ac20
refactor(web): sort tailwind css classname (#989)
LeezQ Mar 31, 2023
537c791
doc: fix laf-cli and add websocket doc (#991)
zuoFeng59556 Mar 31, 2023
f8adbe7
feat(web): add bundle note messages (#992)
LeezQ Mar 31, 2023
82b8121
fix(server): return notes fields in region & bundles (#993)
maslow Mar 31, 2023
a12f1f5
fix(web): hide register button while register disabled (#994)
walle233 Mar 31, 2023
84a1371
Update bug_report.yml
maslow Mar 31, 2023
3408aca
fix(web): fixed the path issue when clicking pathlink
yangxiuxiu1115 Apr 1, 2023
5f4d026
fix(server): check site deleting state in site creation (#997)
maslow Apr 1, 2023
97de48d
Update README.md
maslow Apr 3, 2023
1c4040a
Update README.md
maslow Apr 3, 2023
378b0e6
feat(web): add region info on logo (#1001)
LeezQ Apr 4, 2023
e970a66
feat(web): format code on save (#1002)
LeezQ Apr 4, 2023
e258a7b
doc: update image and add cli-mind websocket laf client sdk (#1004)
zuoFeng59556 Apr 4, 2023
b79f71e
fix: fix app url protocol error & update default url (#1006)
skyoct Apr 6, 2023
13a06df
feat(cli): opt app list display (#1007)
skyoct Apr 6, 2023
40e8e0b
chore(deploy): optimize install-on-linux.sh (#1010)
bxy4543 Apr 7, 2023
f6c39ee
fix(web): appid confict if open 2 tabs (#1011)
LeezQ Apr 7, 2023
c7e6d15
feat(server): add account transaction (#1014)
maslow Apr 7, 2023
a3dbf80
Fix sealos does not support pulling multiple cluster images (#1016)
bxy4543 Apr 8, 2023
6a96add
feat(runtime): impl cloud function import and cache function (#1005)
skyoct Apr 11, 2023
48cad2d
fix(server): check website hosting in bucket deletion, add error hand…
maslow Apr 11, 2023
17676ea
v1.0.0-beta.6
maslow Apr 11, 2023
f66e2f3
feat(web): add laf new homepage (#1018)
LeezQ Apr 11, 2023
f2e2c4d
fix(web): compress png images in home site (#1019)
LeezQ Apr 11, 2023
4e05678
doc: fix logo and link (#1021)
zuoFeng59556 Apr 11, 2023
7ad26a0
fix(web): fix route dashboard link (#1020)
LeezQ Apr 11, 2023
67cc35d
fix(server): Modify the installation order of APISIX (#1022)
nightwhite Apr 12, 2023
9fa4ce8
refactor(web): copywriting description (#1025)
LeezQ Apr 12, 2023
d906110
docs: update how to use the database (#1032)
Apr 15, 2023
f171712
fix(web): Repair document link address (#1027)
nightwhite Apr 15, 2023
dad71e8
doc: fix image and add http (#1031)
zuoFeng59556 Apr 15, 2023
3c32ced
feat(cli): add ignore file (#1030)
nightwhite Apr 15, 2023
f1eac71
feat(web): use laf ai to generate code (#1029)
LeezQ Apr 17, 2023
a88d238
doc: fix function-in-client url error (#1037)
zuoFeng59556 Apr 17, 2023
14fb0c0
chore(server): update @lafjs/cloud runtime version (#1039)
nightwhite Apr 18, 2023
0e7d812
fix(client-sdk): optimize invoke code prompts and documents (#1038)
nightwhite Apr 18, 2023
a099568
feat(web): common error handler (#1040)
LeezQ Apr 18, 2023
8d63403
fix(server): suspend cronjob after instance stopped (#1045)
maslow Apr 19, 2023
ade2a05
feat(web): add homepage darkmode (#1043)
newfish-cmyk Apr 19, 2023
4bbcaa0
fix(web): add spec width scrollbar (#1046)
newfish-cmyk Apr 19, 2023
367dcf0
feat(web): support folder delete in storage (#1047) (#1048)
yuedanlabs Apr 19, 2023
b0f7e81
fix(server): avoid acct-trans addition in free order (#1049)
maslow Apr 19, 2023
f07fecb
fix(cli): fix function name rule, add laf-cli option to issue tpl (#1…
yuedanlabs Apr 19, 2023
9ada3d2
feat(doc): improved cloud function related documents (#1050)
nightwhite Apr 20, 2023
8443c01
doc: add document for the interceptor (#1051)
nightwhite Apr 20, 2023
a46ce42
feat(web): add ChatGPT example (#1052)
zuoFeng59556 Apr 20, 2023
c191848
fix(runtime): add build-base libaries in docker image to support canv…
maslow Apr 20, 2023
f5e04de
chore(runtime): replace runtime base image to ubuntu,opt init image
maslow Apr 20, 2023
5f88a12
feat(server): add func debug params, add envs update api (#1055)
maslow Apr 20, 2023
e53474c
doc: optimize cloud function document && add document search function…
nightwhite Apr 21, 2023
2e49d1b
refactor(web): update env modify modal (#1058)
LeezQ Apr 21, 2023
7cb8204
fix(web): opt ide typings for response & request, opt function templa…
maslow Apr 21, 2023
3215c11
refactro(web): editor scrollbar & colorMode fix (#1061)
LeezQ Apr 23, 2023
589cd4d
doc: optimize the search button style; add database quickstart (#1062)
nightwhite Apr 23, 2023
20f3f46
doc: change start button name (#1064)
nightwhite Apr 23, 2023
3ddb36f
fix(server): check env name regex for batch update (#1065)
maslow Apr 23, 2023
b900f90
fix(server): remove minio alias init (#1066)
maslow Apr 23, 2023
0c43722
ci: init e2e(check deployment and app create) (#1056)
aFlyBird0 Apr 23, 2023
5241dd2
ci: report broken links as an issue (#1060)
aFlyBird0 Apr 23, 2023
7b14c5a
doc: database document optimization and hosting document optimization…
nightwhite Apr 24, 2023
cd31eb8
feat(web): add status bar (#1054)
newfish-cmyk Apr 24, 2023
9a27bcf
feat(web): add loginpage darkmode (#1070)
newfish-cmyk Apr 24, 2023
c93438b
fix(web): common error handler (#1071)
LeezQ Apr 24, 2023
dd0c3d7
fix(runtime): fix func logging order (#1072)
maslow Apr 24, 2023
7a87bea
fix(server): use _id to sort logs instead of created_at (#1073)
maslow Apr 24, 2023
f0f1582
feat(runtime): support process.env in runtime (#1074)
maslow Apr 24, 2023
fa72bb9
fix(server): fix waiting time in instance starting task (#1075)
maslow Apr 24, 2023
75ba39a
doc: optimize cloud function documents and database documents (#1076)
nightwhite Apr 25, 2023
feb70ae
feat(server): hot load environments for runtime instead of restarting…
maslow Apr 25, 2023
dc25ae3
feat(web): update environment variables without app restart (#1079)
maslow Apr 25, 2023
db62f1a
feat(runtime): add __init__ hook in runtime (#1081)
maslow Apr 25, 2023
e9927c9
v1.0.0-beta.7
maslow Apr 25, 2023
6dabddb
chore: update package locks & changelog
maslow Apr 25, 2023
7a017fe
doc: Chinese and English formatization (#1082)
nightwhite Apr 25, 2023
bc2b1a8
ci(e2e): wait api route in apisix ready (#1083)
aFlyBird0 Apr 26, 2023
05e6506
doc: add database aggregate and operator (#1084)
nightwhite Apr 26, 2023
6d20780
perf: change upload folder to upload fold's files (#1087)
newfish-cmyk Apr 26, 2023
3711363
fix(docs): typo
NMTuan Apr 27, 2023
0e72123
feat(web): add DocsPanel (#1086)
newfish-cmyk Apr 27, 2023
0b933c9
fix(web): function name regex (#1092)
LeezQ Apr 27, 2023
48dbfb2
fix(server): add regex validation for function name (#1091)
maslow Apr 27, 2023
99a01ed
fix(web): text overflow ellipsis (#1085)
LeezQ Apr 27, 2023
2b60021
doc: compression all pictures and modify cloud storage introduction (…
nightwhite Apr 27, 2023
aeaa54d
fix(web): update error prompt of function name format (#1094)
maslow Apr 27, 2023
96be1e1
chore(web): vite support dot path (#1093)
LeezQ Apr 27, 2023
17c72e3
ci: build and push laf doc (#1067)
aFlyBird0 Apr 27, 2023
933da58
fix(web): fix bodyparams height (#1101)
newfish-cmyk Apr 28, 2023
97bd8b2
doc: added cloud storage subsequent documents and optimization docume…
nightwhite Apr 28, 2023
c94cb59
doc: fix uniapp use client sdk example (#1100)
nightwhite Apr 29, 2023
2318887
doc: fix the error about H5 call SDK (#1110)
nightwhite May 5, 2023
f108bc7
doc: fix docs typos & dark theme button style (#1102)
hai-x May 6, 2023
adac7f0
ci: modify yarn installation to npm (#1106)
nightwhite May 6, 2023
425b782
feat(web): add link copy in oss page (#1108)
LeezQ May 6, 2023
e4d8141
feat(web): hide phone number info (#1111)
LeezQ May 6, 2023
3cf45cd
chore(web): update function templates
maslow May 6, 2023
dd86d0b
fix(client-sdk): fix bugs in compiling uniapp into WeChat mini progra…
nightwhite May 6, 2023
5f4558f
doc: add web-ide page and VS Code plugin doc; adjust the doc structur…
nightwhite May 6, 2023
1f75387
feat(web): add function params storage (#1113)
newfish-cmyk May 6, 2023
83e6599
doc: modify the default format of the cloud function (#1114)
nightwhite May 7, 2023
52617e9
doc: abandon the old environment variable method (#1116)
nightwhite May 7, 2023
bd974df
chore(deploy): update deploy scripts (#1117)
maslow May 8, 2023
d5109ec
docs(web): change discord link (#1118)
LeezQ May 8, 2023
633b2f3
feat(server): support deployment rolling update (#1112)
skyoct May 8, 2023
855b135
chore(server): fix cronService does exist (#1120)
skyoct May 9, 2023
8961e0a
doc: fix env error (#1119)
nightwhite May 9, 2023
c1c822b
chore(build): remove runtime image from cluster image
maslow May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 9 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ body:
- type: markdown
attributes:
value: |
For better global communication, Please write in English.
(为了更好的国际化交流,请您使用英语描述您的问题。)
For better global communication, please write in English.
(为了更好的国际化交流,请您使用英语描述问题。)

You can use the following translation tool to translate, but please check the translation carefully after translation to avoid misinterpretation:
(你可以使用以下翻译工具进行翻译,但是翻译完成后请仔细检查译文,以免有错误的理解:)
- [Google Translate](https://translate.google.com/)
- [Baidu Translate](https://fanyi.baidu.com/)
- [YouDao Translate](https://fanyi.baidu.com/)
You can use ChatGPT to translate your native language into English:
(您可以使用ChatGPT将您的母语翻译成英文。)
- [ChatGPT](https://chat.openai.com/)

- type: checkboxes
attributes:
Expand All @@ -49,11 +47,12 @@ body:
label: Environment
description: Describe the environment.
options:
- preview.laf.run
- https://laf.dev
- https://laf.run
- Linux (self-host)
- Mac (self-host)
- Windows (self-host)
- Linux (self-host)
- Other (self-host)
- Laf-cli
validations:
required: true

Expand Down
21 changes: 11 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ title: "[Feature] Feature title "
description: I want to suggest a feature for this project.
labels: [ "feature" ]
body:
# - type: markdown
# attributes:
# value: |
# For better global communication, Please write in English.
# (为了更好的国际化交流,请您使用英语描述您的问题。)
- type: markdown
attributes:
value: |
For better global communication, Please write in English.
(为了更好的国际化交流,请您使用英语描述您的问题。)

# You can use the following translation tool to translate, but please check the translation carefully after translation to avoid misinterpretation:
# (你可以使用以下翻译工具进行翻译,但是翻译完成后请仔细检查译文,以免有错误的理解:)
# - [Google Translate](https://translate.google.com/)
# - [Baidu Translate](https://fanyi.baidu.com/)
# - [YouDao Translate](https://fanyi.baidu.com/)
You can use the following translation tool to translate, but please check the translation carefully after translation to avoid misinterpretation:
(你可以使用以下翻译工具进行翻译,但是翻译完成后请仔细检查译文,以免有错误的理解:)
- [Google Translate](https://translate.google.com/)
- [Baidu Translate](https://fanyi.baidu.com/)
- [YouDao Translate](https://fanyi.baidu.com/)
- ChatGPT

- type: checkboxes
attributes:
Expand Down
21 changes: 11 additions & 10 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ title: "[Question] Question title "
description: I have a question that isn't answered in docs or issue.
labels: [ "question" ]
body:
# - type: markdown
# attributes:
# value: |
# For better global communication, Please write in English.
# (为了更好的国际化交流,请您使用英语描述您的问题。)
- type: markdown
attributes:
value: |
For better global communication, Please write in English.
(为了更好的国际化交流,请您使用英语描述您的问题。)

# You can use the following translation tool to translate, but please check the translation carefully after translation to avoid misinterpretation:
# (你可以使用以下翻译工具进行翻译,但是翻译完成后请仔细检查译文,以免有错误的理解:)
# - [Google Translate](https://translate.google.com/)
# - [Baidu Translate](https://fanyi.baidu.com/)
# - [YouDao Translate](https://fanyi.baidu.com/)
You can use the following translation tool to translate, but please check the translation carefully after translation to avoid misinterpretation:
(你可以使用以下翻译工具进行翻译,但是翻译完成后请仔细检查译文,以免有错误的理解:)
- [Google Translate](https://translate.google.com/)
- [Baidu Translate](https://fanyi.baidu.com/)
- [YouDao Translate](https://fanyi.baidu.com/)
- ChatGPT

- type: checkboxes
attributes:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build-sealos-cluster-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,13 @@ jobs:
sudo buildah manifest add $IMAGE:$VERSION docker://$IMAGE:$VERSION-amd64
sudo buildah manifest add $IMAGE:$VERSION docker://$IMAGE:$VERSION-arm64
sudo buildah manifest push --all $IMAGE:$VERSION docker://$IMAGE:$VERSION

trigger-workflow-e2e:
needs: [build_cluster_image]
runs-on: ubuntu-latest
steps:
- name: trigger cluster image workflow
uses: peter-evans/repository-dispatch@v2
with:
event-type: cluster_image_build_success
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "version": "latest"}'
44 changes: 44 additions & 0 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: deploy docs

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'docs/**'
- '.github/workflows/deploy-doc.yml'
env:
LAF_CI_DOCS_PAT: ${{ secrets.LAF_CI_DOCS_PAT }}
LAF_CI_DOCS_APPID: ${{ secrets.LAF_CI_DOCS_APPID }}
LAF_CI_DOCS_BUCKET_NAME: ${{ secrets.LAF_CI_DOCS_BUCKET_NAME }}
LAF_API_URL: ${{ secrets.LAF_API_URL }}

jobs:
linkCheckerAndDeploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run Install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command in `docs` directory
dir: docs
- name: Run build
uses: borales/actions-yarn@v4
with:
cmd: build # will run `yarn build` command in `docs` directory
dir: docs
- name: Setup laf-cli
run: npm i laf-cli -g
- name: Login laf-cli
run: laf login -r ${{ env.LAF_API_URL }} ${{ env.LAF_CI_DOCS_PAT }}
- name: Deploy to laf
working-directory: docs/.vitepress
run: |
laf app init ${{ env.LAF_CI_DOCS_APPID }}
laf storage push -f ${{ env.LAF_CI_DOCS_BUCKET_NAME }} dist/
23 changes: 17 additions & 6 deletions .github/workflows/dockerize-runtime-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Package
working-directory: runtimes/nodejs
run: npm cache clean --force && npm install typescript -g && npm install --omit=dev
run: npm cache clean --force && npm install

- name: Build Packages
working-directory: runtimes/nodejs
Expand All @@ -51,7 +51,7 @@ jobs:
type=semver,pattern={{version}}
type=raw,value=latest,enable=true
type=sha,enable=true,format=short

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down Expand Up @@ -82,21 +82,22 @@ jobs:
platforms: linux/amd64, linux/arm64

dockerize-init-image:
needs: [dockerize-main-image]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Package
working-directory: runtimes/nodejs
run: npm cache clean --force && npm install typescript -g && npm install --omit=dev
run: npm cache clean --force && npm install

- name: Build Packages
working-directory: runtimes/nodejs
Expand Down Expand Up @@ -142,4 +143,14 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64

trigger-workflow-e2e:
needs: [dockerize-main-image, dockerize-init-image]
runs-on: ubuntu-latest
steps:
- name: trigger cluster image workflow
uses: peter-evans/repository-dispatch@v2
with:
event-type: dockerize-runtime-success
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "version": "latest"}'
42 changes: 42 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: e2e

on:
repository_dispatch:
types: [cluster_image_build_success, dockerize_runtime_success]
workflow_dispatch:
push:
branches:
- main
paths:
- "e2e/**"
- ".github/workflows/e2e.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DOMAIN: 127.0.0.1.nip.io

jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Remove builtin docker
run: |
sudo apt-get remove -y moby-engine moby-cli moby-buildx moby-compose

- name: Deploy laf
env:
DOMAIN: ${{ env.DOMAIN }}
working-directory: deploy/scripts
run: sudo sh install-on-linux.sh $DOMAIN # this script will install sealos and laf

- name: Run E2E Test
working-directory: e2e
run: |
sudo sh e2e.sh


6 changes: 2 additions & 4 deletions .github/workflows/link-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
with:
node-version: 16.x
- name: Run Install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command in `docs` directory
dir: docs
working-directory: docs
run: npm install
- name: Run build
uses: borales/actions-yarn@v4
with:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/link-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Link Checker
uses: lycheeverse/lychee-action@v1.5.0
with:
fail: true
# For parameter description, see https://github.com/lycheeverse/lychee#commandline-parameters
# -E, --exclude-all-private Exclude all private IPs from checking.
# -i, --insecure Proceed for server connections considered insecure (invalid TLS)
Expand All @@ -40,6 +39,13 @@ jobs:

# docs/.vitepress/dist the site directory to check
# ./*.md all markdown files in the root directory
args: -E -i -n -t 45 --max-concurrency 64 -a 429,401 -- 'docs/.vitepress/dist' '*.md'
args: -E -i -n -t 45 --max-concurrency 64 -a 429,401,403 -- 'docs/.vitepress/dist' '*.md'
output: out.md
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v3
with:
title: Broken Link Detected
content-filepath: out.md
assignees: nightwhite
3 changes: 2 additions & 1 deletion .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.*xx.*
https://beian.miit.gov.cn/
.*127-0-0-1.*
https://oss.lafyun.com
https://oss.laf.run
https://github.com/labring/laf/edit/main/docs/
16 changes: 14 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"cSpell.words": [
"aarch",
"alipay",
"alisms",
"apiextensions",
"apisixtlses",
"apiv",
"appid",
"automount",
"binded",
Expand All @@ -32,11 +35,10 @@
"buildah",
"buildx",
"Builtins",
"casbin",
"casdoor",
"chakra",
"Chakra",
"chatgpt",
"ciphertext",
"clsx",
"coll",
"compat",
Expand All @@ -46,12 +48,14 @@
"datasource",
"datepicker",
"dockerode",
"doctag",
"EJSON",
"entrypoint",
"finalizers",
"fullname",
"ghaction",
"healthz",
"hljs",
"hokify",
"hostpath",
"immer",
Expand All @@ -64,6 +68,7 @@
"lafyun",
"languagedetector",
"logtostderr",
"mchid",
"millicores",
"MINIO",
"moby",
Expand All @@ -77,6 +82,7 @@
"qrcode",
"readwrite",
"Referer",
"relock",
"rolebinding",
"roundrobin",
"runc",
Expand All @@ -85,6 +91,7 @@
"sealctl",
"sealos",
"signin",
"Signup",
"statefulset",
"storageclass",
"tailwindcss",
Expand All @@ -96,7 +103,12 @@
"upserted",
"urlencode",
"userid",
"videobg",
"videomobile",
"vitepress",
"webchat",
"wechat",
"WECHATPAY",
"withs",
"xmlparser",
"zcube",
Expand Down
Loading
Loading