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

refactor: dependency on the dapr api #1064

Merged
merged 45 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8256049
remove: dependency on the dapr api
wushiling50 Jul 24, 2024
27952af
Revert "remove: dependency on the dapr api"
wushiling50 Jul 24, 2024
4f17246
refactor: remove dependency on the dapr api
wushiling50 Jul 24, 2024
6d2d01f
refactor: upgrade dapr dependency version
wushiling50 Sep 12, 2024
f6f3f2e
refactor: remove some unnecessary comment
wushiling50 Sep 12, 2024
fa22d00
refactor: pass golangci
wushiling50 Sep 12, 2024
6bf7398
refactor: pass golangci
wushiling50 Sep 16, 2024
d6a43db
refactor: pass golangci
wushiling50 Sep 16, 2024
a4b9619
refactor: pass golangci
wushiling50 Sep 16, 2024
124d48c
refactor: pass golangci
wushiling50 Sep 21, 2024
1aee920
Merge branch 'main' into main
wushiling50 Sep 21, 2024
0115907
refactor: update ci go version
wushiling50 Sep 22, 2024
c77e1fd
Merge branch 'main' of https://github.com/wushiling50/layotto
wushiling50 Sep 22, 2024
c79d57c
refactor: update ci version
wushiling50 Sep 23, 2024
fa341b8
Update layotto-ci.yml
wenxuwan Sep 24, 2024
cd64df1
Update layotto-ci.yml
wenxuwan Sep 24, 2024
7a4a001
refactor: update ci version
wushiling50 Sep 24, 2024
9a541f2
Update go.mod
wenxuwan Sep 25, 2024
8094e15
Update go.sum
wenxuwan Sep 25, 2024
b47d192
update go.mod
Sep 25, 2024
517545c
fix no field or method LCUrls
Sep 25, 2024
c39244e
fix go lint errror
Sep 25, 2024
22e6287
fix ci
Sep 25, 2024
f9eccbd
fmt file
Sep 25, 2024
fb7dc1c
fmt file
Sep 25, 2024
24f2923
fix layotto ci
Sep 25, 2024
48dfadb
upgrade mosn version
Sep 25, 2024
e36596d
update mosn pkg
Sep 25, 2024
14a6942
chang aci file
Sep 25, 2024
0be796a
remove gomodule
Sep 25, 2024
8515bb1
upgrade golang version of state
Sep 25, 2024
6cc2964
upgrade sdk go version
Sep 25, 2024
61335ee
fix ci
Sep 25, 2024
0b866e0
change go version fo ci
Sep 26, 2024
4b43f8c
upgrade lint version
Sep 26, 2024
7eb1987
add timeout for go lint
Sep 26, 2024
fb6f840
fix timeout
Sep 26, 2024
8b01bde
try fix ci
Oct 15, 2024
6ee8abb
try fix ut
Oct 15, 2024
52171d3
fix ut
Oct 15, 2024
900b63b
change all dockerfile base image from golang1.18 to 1.21
Oct 15, 2024
bb49048
add debug info for integrate
Oct 15, 2024
8d8bcd9
add safe configure
Oct 15, 2024
2ba3a5e
fix wasm integrate
Oct 15, 2024
63c1108
upgrade upload-artifact from v2 to v4
Oct 16, 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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

# 测试步骤
- run:
name: Test quickstart in Golang 1.18.5
name: Test quickstart in Golang 1.21
command: make quickstart

workflows:
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/layotto-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Format Go
run: |
make workspace
Expand All @@ -44,21 +44,21 @@ jobs:
golangci-lint:
name: "Go CI Linter"
needs: [style-check,resolve-modules]
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.5
go-version: 1.21
- name: Go Lint Test
uses: golangci/golangci-lint-action@v3
with:
version: v1.46.2
version: v1.61.0
working-directory: ${{ matrix.workdir }}
args: "--out-${NO_FUTURE}format colored-line-number"
args: "--timeout 10m --out-${NO_FUTURE}format colored-line-number"

go-unit-test:
name: "Go Unit Test"
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.1
go-version: 1.21
- name: Go Unit Test
run: make test

Expand All @@ -93,7 +93,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Run Integrate tests
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Run Integrate tests
Expand All @@ -121,14 +121,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.darwin_amd64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.darwin_amd64
path: _output/darwin/amd64/layotto
Expand All @@ -143,14 +143,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.darwin_arm64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.darwin_arm64
path: _output/darwin/arm64/layotto
Expand All @@ -165,14 +165,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.linux_amd64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.linux_amd64
path: _output/linux/amd64/layotto
Expand All @@ -187,14 +187,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.linux_arm64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.linux_arm64
path: _output/linux/arm64/layotto
Expand All @@ -209,15 +209,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
# TODO(@Xunzhuo): open it after stabilizing wasm cmds
# - name: Build Artifact
# run: |
# make wasm
# - name: Publish Artifact
# uses: actions/upload-artifact@v2.2.4
# uses: actions/upload-artifact@v4
# with:
# name: layotto.wasm.linux_amd64
# path: _output/linux/amd64/layotto
Expand Down Expand Up @@ -330,4 +330,4 @@ jobs:
- name: Package and Push Layotto Injector Latest Helm Chart
run: |
CHART_VERSION=v0.0.0-latest APP_VERSION=latest make helm-package
CHART_VERSION=v0.0.0-latest APP_VERSION=latest make helm-push
CHART_VERSION=v0.0.0-latest APP_VERSION=latest make helm-push
38 changes: 19 additions & 19 deletions .github/workflows/layotto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Format Go
run: |
make workspace
Expand All @@ -32,21 +32,21 @@ jobs:
golangci-lint:
name: "Go CI Linter"
needs: [ style-check,resolve-modules ]
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18.5
go-version: '1.21'
- name: Go Lint Test
uses: golangci/golangci-lint-action@v3
with:
version: v1.46.2
version: v1.61.0
working-directory: ${{ matrix.workdir }}
args: "--out-${NO_FUTURE}format colored-line-number"
args: "--timeout 5m --out-${NO_FUTURE}format colored-line-number"

go-unit-test:
name: "Go Unit Test"
Expand All @@ -58,7 +58,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: actions/setup-go@v3
with:
go-version: 1.18.1
go-version: 1.21
- name: Go Unit Test
run: make test

Expand All @@ -82,7 +82,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Run Integrate tests
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Run Integrate tests
Expand All @@ -110,14 +110,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.darwin_amd64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.darwin_amd64
path: _output/darwin/amd64/layotto
Expand All @@ -142,14 +142,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.darwin_arm64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.darwin_arm64
path: _output/darwin/arm64/layotto
Expand All @@ -173,14 +173,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.linux_amd64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.linux_amd64
path: _output/linux/amd64/layotto
Expand All @@ -204,14 +204,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Build Artifact
run: |
make go.build.linux_arm64.layotto
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: layotto.linux_arm64
path: _output/linux/arm64/layotto
Expand All @@ -235,15 +235,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.1
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
# TODO(@Xunzhuo): open it after stabilizing wasm cmds
# - name: Build Artifact
# run: |
# make wasm
# - name: Publish Artifact
# uses: actions/upload-artifact@v2.2.4
# uses: actions/upload-artifact@v4
# with:
# name: layotto.wasm.linux_amd64
# path: _output/linux/amd64/layotto
Expand Down
5 changes: 2 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ run :
deadline : 10m
tests : true
modules-download-mode : readonly
skip-dirs :
skip-dirs:
- spec/proto
- pkg/mock
skip-files :
skip-files:
- .pb.go
- rpc/invoker/mosn/transport_protocol/bolt.go


linters :
disable-all : true
enable :
Expand Down
Loading
Loading