From c022e7a167ef231d5d085b3614be2920719c51fb Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Fri, 28 Jun 2024 17:02:16 +0200 Subject: [PATCH 1/5] test: TEST Signed-off-by: Francesco Canovai --- Taskfile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yml b/Taskfile.yml index dd446f5..2331680 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -55,6 +55,7 @@ tasks: # renovate: datasource=git-refs depName=commitlint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: + # TEST - dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout uncommitted: From 8d845311aaa518bde4e984d574091ad30e76ec4d Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Fri, 28 Jun 2024 17:02:41 +0200 Subject: [PATCH 2/5] test: test 2 Signed-off-by: Francesco Canovai --- Taskfile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yml b/Taskfile.yml index 2331680..ba39059 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -56,6 +56,7 @@ tasks: DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: # TEST + # TEST2 - dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout uncommitted: From 8de13545811db678e2eae7d978ba7c56080eff96 Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Fri, 28 Jun 2024 17:05:38 +0200 Subject: [PATCH 3/5] test: test 3 Signed-off-by: Francesco Canovai --- Taskfile.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index ba39059..dd446f5 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -55,8 +55,6 @@ tasks: # renovate: datasource=git-refs depName=commitlint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - # TEST - # TEST2 - dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout uncommitted: From a1be5673d91fb50941303c979fe63330bd5e629b Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Mon, 1 Jul 2024 11:01:39 +0200 Subject: [PATCH 4/5] test: unset github_ref --- Taskfile.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index dd446f5..8ead186 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,7 +7,7 @@ tasks: # renovate: datasource=git-refs depName=protolint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_PROTOLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - dagger -s call -m github.com/cloudnative-pg/daggerverse/protolint@${DAGGER_PROTOLINT_SHA} lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout + - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protolint@${DAGGER_PROTOLINT_SHA} lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout sources: - proto/**/*.proto @@ -20,7 +20,7 @@ tasks: DAGGER_PROTOC_GEN_GO_GRPC_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - > - dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-go-grpc@${DAGGER_PROTOC_GEN_GO_GRPC_SHA} run --source . --go-opt module=github.com/cloudnative-pg/cnpg-i + GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-go-grpc@${DAGGER_PROTOC_GEN_GO_GRPC_SHA} 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 @@ -34,7 +34,7 @@ tasks: DAGGER_GOLANGCI_LINT_SHA: b249f27c0d6a2183cd368ae767fc912a09a1a40f cmds: - > - dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} + GITHUB_REF= dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} run --source . --config .golangci.yml stdout sources: - ./**/*.go @@ -45,7 +45,7 @@ tasks: # renovate: datasource=git-refs depName=protoc-gen-doc lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_PROTOC_GEN_DOC_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-doc@${DAGGER_PROTOC_GEN_DOC_SHA} generate --proto-dir proto -o docs + - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-doc@${DAGGER_PROTOC_GEN_DOC_SHA} generate --proto-dir proto -o docs sources: - proto/**/*.proto @@ -55,7 +55,7 @@ tasks: # renovate: datasource=git-refs depName=commitlint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout + - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout uncommitted: desc: Check for uncommitted changes @@ -66,7 +66,7 @@ tasks: # renovate: datasource=git-refs depName=uncommitted lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_UNCOMMITTED_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - dagger -s call -m github.com/cloudnative-pg/daggerverse/uncommitted@${DAGGER_UNCOMMITTED_SHA} check-uncommitted --source . stdout + - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/uncommitted@${DAGGER_UNCOMMITTED_SHA} check-uncommitted --source . stdout sources: - ./** From aaef711a1c4f7b694ffb7a686ee9bf14170eb5be Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Mon, 1 Jul 2024 11:11:31 +0200 Subject: [PATCH 5/5] test: try dagger 0.11.1 --- .github/workflows/continuous-delivery.yml | 2 +- Taskfile.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index fca3739..ced16bf 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -19,7 +19,7 @@ jobs: - name: Install Dagger env: # renovate: datasource=github-tags depName=dagger/dagger versioning=semver - DAGGER_VERSION: 0.11.9 + DAGGER_VERSION: 0.11.1 run: | curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh - name: Run CI task diff --git a/Taskfile.yml b/Taskfile.yml index 8ead186..dd446f5 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,7 +7,7 @@ tasks: # renovate: datasource=git-refs depName=protolint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_PROTOLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protolint@${DAGGER_PROTOLINT_SHA} lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout + - dagger -s call -m github.com/cloudnative-pg/daggerverse/protolint@${DAGGER_PROTOLINT_SHA} lint --source . --args "--config_path=.protolint.yaml" --args proto/ stdout sources: - proto/**/*.proto @@ -20,7 +20,7 @@ tasks: DAGGER_PROTOC_GEN_GO_GRPC_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - > - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-go-grpc@${DAGGER_PROTOC_GEN_GO_GRPC_SHA} run --source . --go-opt module=github.com/cloudnative-pg/cnpg-i + dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-go-grpc@${DAGGER_PROTOC_GEN_GO_GRPC_SHA} 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 @@ -34,7 +34,7 @@ tasks: DAGGER_GOLANGCI_LINT_SHA: b249f27c0d6a2183cd368ae767fc912a09a1a40f cmds: - > - GITHUB_REF= dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} + dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} run --source . --config .golangci.yml stdout sources: - ./**/*.go @@ -45,7 +45,7 @@ tasks: # renovate: datasource=git-refs depName=protoc-gen-doc lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_PROTOC_GEN_DOC_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-doc@${DAGGER_PROTOC_GEN_DOC_SHA} generate --proto-dir proto -o docs + - dagger -s call -m github.com/cloudnative-pg/daggerverse/protoc-gen-doc@${DAGGER_PROTOC_GEN_DOC_SHA} generate --proto-dir proto -o docs sources: - proto/**/*.proto @@ -55,7 +55,7 @@ tasks: # renovate: datasource=git-refs depName=commitlint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout + - dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout uncommitted: desc: Check for uncommitted changes @@ -66,7 +66,7 @@ tasks: # renovate: datasource=git-refs depName=uncommitted lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main DAGGER_UNCOMMITTED_SHA: f09d41cb90701db446048a9f20eb03495e50f727 cmds: - - GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/uncommitted@${DAGGER_UNCOMMITTED_SHA} check-uncommitted --source . stdout + - dagger -s call -m github.com/cloudnative-pg/daggerverse/uncommitted@${DAGGER_UNCOMMITTED_SHA} check-uncommitted --source . stdout sources: - ./**