Skip to content

Commit

Permalink
ci: move dagger modules to their own repo
Browse files Browse the repository at this point in the history
Remove the modules now included in the cloudnative-pg/daggerverse
repository and change the taskfile to use it.

Signed-off-by: Francesco Canovai <[email protected]>
  • Loading branch information
fcanovai committed Apr 3, 2024
1 parent cf9a967 commit e83ac68
Show file tree
Hide file tree
Showing 41 changed files with 5 additions and 2,372 deletions.
10 changes: 5 additions & 5 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tasks:
protolint:
desc: Run protolint
cmds:
- dagger -s call -m dagger/protolint lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout
- dagger -s call -m github.com/cloudnative-pg/daggerverse/protolint@f3ddf3912214a4f992e58ff43b6bc92be4b757d2 lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout
sources:
- proto/**/*.proto

Expand All @@ -14,7 +14,7 @@ tasks:
- protolint
cmds:
- >
dagger -s call -m dagger/protoc-gen-go-grpc run --source . --go-opt module=github.com/cloudnative-pg/cnpg-i
dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-go-grpc@f3ddf3912214a4f992e58ff43b6bc92be4b757d2 run --source . --go-opt module=github.com/cloudnative-pg/cnpg-i
--go-grpcopt module=github.com/cloudnative-pg/cnpg-i --proto-path proto -o .
sources:
- proto/**/*.proto
Expand All @@ -33,7 +33,7 @@ tasks:
protoc-gen-doc:
desc: Generate documentation from proto files
cmds:
- dagger -s call -m dagger/protoc-gen-doc generate --proto-dir proto -o docs
- dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-doc@f3ddf3912214a4f992e58ff43b6bc92be4b757d2 generate --proto-dir proto -o docs
sources:
- proto/**/*.proto

Expand All @@ -50,14 +50,14 @@ tasks:
commitlint:
desc: Check for conventional commits
cmds:
- dagger -s call -m dagger/commitlint lint --source . --args "--from=origin/main" stdout
- dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@f3ddf3912214a4f992e58ff43b6bc92be4b757d2 lint --source . --args "--from=origin/main" stdout

uncommitted:
desc: Check for uncommitted changes
deps:
- build
cmds:
- dagger -s call -m dagger/uncommitted/ check-uncommitted --source . stdout
- dagger -s call -m github.com/cloudnative-pg/daggerverse/uncommitted@f3ddf3912214a4f992e58ff43b6bc92be4b757d2 check-uncommitted --source . stdout
sources:
- ./**

Expand Down
6 changes: 0 additions & 6 deletions dagger/commitlint/dagger.json

This file was deleted.

4 changes: 0 additions & 4 deletions dagger/commitlint/dagger/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions dagger/commitlint/dagger/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions dagger/commitlint/dagger/go.mod

This file was deleted.

35 changes: 0 additions & 35 deletions dagger/commitlint/dagger/go.sum

This file was deleted.

162 changes: 0 additions & 162 deletions dagger/commitlint/dagger/internal/querybuilder/marshal.go

This file was deleted.

Loading

0 comments on commit e83ac68

Please sign in to comment.