You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2022/08/26 07:54:22 UTC
[incubator-devlake] branch main updated: fix: ci swag reporting SIGSEGV (#2851)
This is an automated email from the ASF dual-hosted git repository.
zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 8e029ce1 fix: ci swag reporting SIGSEGV (#2851)
8e029ce1 is described below
commit 8e029ce19ddd83392e435c3d2000b16c7e9ccae7
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Fri Aug 26 15:54:17 2022 +0800
fix: ci swag reporting SIGSEGV (#2851)
---
.github/workflows/test-e2e.yml | 2 +-
.github/workflows/test.yml | 3 +--
Makefile | 7 +++++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index 29422406..7ea6cfc6 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -41,7 +41,7 @@ jobs:
MYSQL_USER: merico
MYSQL_PASSWORD: merico
MYSQL_ROOT_PASSWORD: root
- container: mericodev/lake-builder:v0.0.5
+ container: mericodev/lake-builder:v0.0.7
steps:
- uses: actions/checkout@v3
- name: Cache test-e2e
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c9b3e9d6..d3ae3851 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -36,8 +36,7 @@ jobs:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
- container:
- image: mericodev/lake-builder:v0.0.5
+ container: mericodev/lake-builder:v0.0.7
steps:
- name: Checkout code
uses: actions/checkout@v3
diff --git a/Makefile b/Makefile
index c996822d..688da8f6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,13 @@ SHA = $(shell git show -s --format=%h)
TAG = $(shell git tag --points-at HEAD)
VERSION = $(TAG)@$(SHA)
+dep:
+ go install github.com/vektra/mockery/v2@latest
+ go install github.com/swaggo/swag/cmd/swag@v1.8.4
+
swag:
- echo "you need to install swag by `go install github.com/swaggo/swag/cmd/swag@latest` first"
swag init --parseDependency --parseInternal -o ./api/docs -g ./api/api.go -g plugins/*/api/*.go
- echo "visit the swagger document on http://localhost:8080/swagger/index.html"
+ @echo "visit the swagger document on http://localhost:8080/swagger/index.html"
build-plugin:
@sh scripts/compile-plugins.sh