From 8f106dfa51987e01010608f59d55f42e09334a64 Mon Sep 17 00:00:00 2001 From: Keming Date: Sun, 26 Jan 2025 17:07:27 +0800 Subject: [PATCH 1/2] fix: ci pipeline Signed-off-by: Keming --- .github/workflows/api_doc.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/api_doc.yaml b/.github/workflows/api_doc.yaml index e4ebd5f..1bb501d 100644 --- a/.github/workflows/api_doc.yaml +++ b/.github/workflows/api_doc.yaml @@ -11,19 +11,17 @@ jobs: sync_file: runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' - - uses: actions/setup-go@v3 - with: - go-version: '1.19' + - uses: actions/setup-go@v5 - name: Checkout Envd-docs - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 path: envd-docs - name: Checkout Envd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'tensorchord/envd' fetch-depth: 1 @@ -32,7 +30,7 @@ jobs: mkdir -p envd-docs/hack/api/ cp -r envd/envd/api/* envd-docs/hack/api/ - name: Checkout Envd lib - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'tensorchord/envdlib' fetch-depth: 1 @@ -63,7 +61,7 @@ jobs: make generate-cli-ref popd - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v7 with: path: envd-docs add-paths: | From 96a6da70b04d977f5ce82aa3478db78896823327 Mon Sep 17 00:00:00 2001 From: Keming Date: Sun, 26 Jan 2025 17:14:49 +0800 Subject: [PATCH 2/2] fix lint Signed-off-by: Keming --- docs-zh/community/community.md | 2 +- docs-zh/community/roadmap.md | 2 +- docs/public/install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs-zh/community/community.md b/docs-zh/community/community.md index 1c03f27..0a875ae 100644 --- a/docs-zh/community/community.md +++ b/docs-zh/community/community.md @@ -13,6 +13,6 @@ 我们的社区会议安排在每隔一个星期三,太平洋标准时间晚上 8 点(北京时间星期四,中午 12 点)。请查看[日历](https://calendar.google.com/calendar/u/0?cid=Y2VkMjVmMzYwM2RkYmM1ZThhMDI0ODM1NWNhYjc3MGEzZjhlZjU4MTBmY2JlZGI4ODZlODI5YmZhNDc5ZWQ5M0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t)以了解时间,并在你的日历上标记日期! -如果你有什么要讨论的,请查看[🫂 `envd`社区会议记录](https://docs.google.com/document/d/1rnqV56mGGX14TXTgFQhME1lE7FhDROX-1Nx8cY7sSoY/edit?usp=sharing)。这是一个很好的方式,它可以让你随时了解社区的任何最新情况。 +如果你有什么要讨论的,请查看[🫂 `envd` 社区会议记录](https://docs.google.com/document/d/1rnqV56mGGX14TXTgFQhME1lE7FhDROX-1Nx8cY7sSoY/edit?usp=sharing)。这是一个很好的方式,它可以让你随时了解社区的任何最新情况。
diff --git a/docs-zh/community/roadmap.md b/docs-zh/community/roadmap.md index 8d602d2..b92679c 100644 --- a/docs-zh/community/roadmap.md +++ b/docs-zh/community/roadmap.md @@ -24,7 +24,7 @@ - [实现 `envd` 的语言服务器](https://github.com/tensorchord/envd/issues/358) - **运行时** - 在 dockerd 22.06-beta 中支持 buildkitd moby worker: [Support buildkitd moby worker in dockerd 22.06-beta](https://github.com/tensorchord/envd/issues/51)。这是一项重大的改进,可以加速构建过程。我们在 docker 22.06 中使用 moby worker,并在 docker 20.10 中回退到 docker worker。 - - 收集GPU/CPU 的指标,通过 Web UI 展示: [Add agent to collect metrics in the container (or in the host)](https://github.com/tensorchord/envd/issues/218) + - 收集 GPU/CPU 的指标,通过 Web UI 展示: [Add agent to collect metrics in the container (or in the host)](https://github.com/tensorchord/envd/issues/218) - **生态系统** - `envd` 的 vscode 扩展:[Contribute the vscode-envd extension](https://github.com/tensorchord/vscode-envd) - 设计拓展机制加载用户自定义函数:[Design the extension mechanism to reuse user-defined build funcs](https://github.com/tensorchord/envd/issues/91)。用户可以运行 `load()` 来加载自定义函数。 diff --git a/docs/public/install.sh b/docs/public/install.sh index 8fbf1d4..956fdde 100644 --- a/docs/public/install.sh +++ b/docs/public/install.sh @@ -7,7 +7,7 @@ VERSION=$1 DOWNLOAD_NAME=$(mktemp -u --suffix .envd) get_github_latest_release() { - curl -sSf "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api + curl -sSf "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub API grep '"tag_name":' | # Get tag line sed -E 's/.*"v?([^"]+)".*/\1/' # Pluck JSON value }