Skip to content

Commit

Permalink
Regenerate mock file using uber-go mock
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <[email protected]>
  • Loading branch information
khanhtc1202 committed Dec 20, 2024
1 parent b98a963 commit 83d9984
Show file tree
Hide file tree
Showing 10 changed files with 422 additions and 365 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate code
uses: docker://ghcr.io/pipe-cd/codegen@sha256:3fd8e22eeab21bab2a2f6c1d2770b069922f4973465d57386d672574931943e8 #v0.47.3-rc0-2-g462b842
uses: docker://ghcr.io/pipe-cd/codegen:v0.50.0-51-gb98a963@sha256:fcb600d82cc4acc76f532c292445f868dfa176d6db116b6c5b18b81a1b1c5fa9
with:
entrypoint: ./tool/codegen/codegen.sh
args: /github/workspace
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ update/copyright:
.PHONY: gen/code
gen/code:
# NOTE: Specify a specific version temporally until the next release.
docker run --rm -v ${PWD}:/repo -it --entrypoint ./tool/codegen/codegen.sh ghcr.io/pipe-cd/codegen@sha256:3fd8e22eeab21bab2a2f6c1d2770b069922f4973465d57386d672574931943e8 /repo #v0.47.3-rc0-2-g462b842
docker run --rm -v ${PWD}:/repo -it --entrypoint ./tool/codegen/codegen.sh ghcr.io/pipe-cd/codegen:v0.50.0-51-gb98a963@sha256:4d078bc52a34e76c4d28bf7b846652797e1d7d4c6e49b2bef154effeb5fd7c2d /repo

.PHONY: gen/test-tls
gen/test-tls:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 40 additions & 31 deletions pkg/cache/cachetest/cache.mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 83d9984

Please sign in to comment.