From 4b9c1ed020929dda53f5162eefb6b4f252755518 Mon Sep 17 00:00:00 2001 From: Vdaas CI Date: Tue, 10 Sep 2024 10:49:25 +0000 Subject: [PATCH] :robot: Update license headers / Format Go codes and YAML files Signed-off-by: Vdaas CI --- .../workflows/dockers-agent-faiss-image.yaml | 105 +++++++++-------- .github/workflows/dockers-agent-image.yaml | 109 +++++++++--------- .../workflows/dockers-agent-ngt-image.yaml | 101 ++++++++-------- .../dockers-agent-sidecar-image.yaml | 101 ++++++++-------- .../dockers-benchmark-job-image.yaml | 101 ++++++++-------- .../dockers-benchmark-operator-image.yaml | 101 ++++++++-------- .github/workflows/dockers-binfmt-image.yaml | 91 ++++++++------- .../workflows/dockers-buildbase-image.yaml | 91 ++++++++------- .github/workflows/dockers-buildkit-image.yaml | 91 ++++++++------- .../dockers-buildkit-syft-scanner-image.yaml | 91 ++++++++------- .../workflows/dockers-ci-container-image.yaml | 69 ++++++----- .../dockers-dev-container-image.yaml | 69 ++++++----- .../dockers-discoverer-k8s-image.yaml | 93 ++++++++------- .../dockers-gateway-filter-image.yaml | 101 ++++++++-------- .../workflows/dockers-gateway-lb-image.yaml | 101 ++++++++-------- .../dockers-gateway-mirror-image.yaml | 97 ++++++++-------- .../dockers-helm-operator-image.yaml | 85 +++++++------- .../dockers-index-correction-image.yaml | 97 ++++++++-------- .../dockers-index-creation-image.yaml | 97 ++++++++-------- .../dockers-index-operator-image.yaml | 93 ++++++++------- .../workflows/dockers-index-save-image.yaml | 97 ++++++++-------- .github/workflows/dockers-loadtest-image.yaml | 97 ++++++++-------- .../dockers-manager-index-image.yaml | 97 ++++++++-------- .../dockers-readreplica-rotate-image.yaml | 93 ++++++++------- 24 files changed, 1122 insertions(+), 1146 deletions(-) mode change 100755 => 100644 .github/workflows/dockers-agent-faiss-image.yaml mode change 100755 => 100644 .github/workflows/dockers-agent-image.yaml mode change 100755 => 100644 .github/workflows/dockers-agent-ngt-image.yaml mode change 100755 => 100644 .github/workflows/dockers-agent-sidecar-image.yaml mode change 100755 => 100644 .github/workflows/dockers-benchmark-job-image.yaml mode change 100755 => 100644 .github/workflows/dockers-benchmark-operator-image.yaml mode change 100755 => 100644 .github/workflows/dockers-binfmt-image.yaml mode change 100755 => 100644 .github/workflows/dockers-buildbase-image.yaml mode change 100755 => 100644 .github/workflows/dockers-buildkit-image.yaml mode change 100755 => 100644 .github/workflows/dockers-buildkit-syft-scanner-image.yaml mode change 100755 => 100644 .github/workflows/dockers-ci-container-image.yaml mode change 100755 => 100644 .github/workflows/dockers-dev-container-image.yaml mode change 100755 => 100644 .github/workflows/dockers-discoverer-k8s-image.yaml mode change 100755 => 100644 .github/workflows/dockers-gateway-filter-image.yaml mode change 100755 => 100644 .github/workflows/dockers-gateway-lb-image.yaml mode change 100755 => 100644 .github/workflows/dockers-gateway-mirror-image.yaml mode change 100755 => 100644 .github/workflows/dockers-helm-operator-image.yaml mode change 100755 => 100644 .github/workflows/dockers-index-correction-image.yaml mode change 100755 => 100644 .github/workflows/dockers-index-creation-image.yaml mode change 100755 => 100644 .github/workflows/dockers-index-operator-image.yaml mode change 100755 => 100644 .github/workflows/dockers-index-save-image.yaml mode change 100755 => 100644 .github/workflows/dockers-loadtest-image.yaml mode change 100755 => 100644 .github/workflows/dockers-manager-index-image.yaml mode change 100755 => 100644 .github/workflows/dockers-readreplica-rotate-image.yaml diff --git a/.github/workflows/dockers-agent-faiss-image.yaml b/.github/workflows/dockers-agent-faiss-image.yaml old mode 100755 new mode 100644 index bda1be82ae..1e86b30b98 --- a/.github/workflows/dockers-agent-faiss-image.yaml +++ b/.github/workflows/dockers-agent-faiss-image.yaml @@ -13,67 +13,66 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: agent-faiss' +name: "Build docker image: agent-faiss" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/agent/core/faiss/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-faiss-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/faiss/** - - pkg/agent/core/faiss/** - - pkg/agent/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - versions/FAISS_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/faiss/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-faiss-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/faiss/** + - pkg/agent/core/faiss/** + - pkg/agent/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - versions/FAISS_VERSION + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/agent/core/faiss/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-faiss-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/faiss/** - - pkg/agent/core/faiss/** - - pkg/agent/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - versions/FAISS_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/faiss/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-faiss-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/faiss/** + - pkg/agent/core/faiss/** + - pkg/agent/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - versions/FAISS_VERSION + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-agent-image.yaml b/.github/workflows/dockers-agent-image.yaml old mode 100755 new mode 100644 index d6665fe250..95bc3c356e --- a/.github/workflows/dockers-agent-image.yaml +++ b/.github/workflows/dockers-agent-image.yaml @@ -13,69 +13,68 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: agent' +name: "Build docker image: agent" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/agent/core/agent/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/agent/** - - pkg/agent/core/agent/** - - apis/grpc/** - - apis/proto/** - - rust/Cargo.lock - - rust/Cargo.toml - - rust/bin/agent - - rust/libs/ngt-rs/** - - rust/libs/ngt/** - - rust/libs/proto/** - - versions/RUST_VERSION - - versions/FAISS_VERSION - - versions/NGT_VERSION - - versions/FAISS_VERSION - - versions/NGT_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/agent/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/agent/** + - pkg/agent/core/agent/** + - apis/grpc/** + - apis/proto/** + - rust/Cargo.lock + - rust/Cargo.toml + - rust/bin/agent + - rust/libs/ngt-rs/** + - rust/libs/ngt/** + - rust/libs/proto/** + - versions/RUST_VERSION + - versions/FAISS_VERSION + - versions/NGT_VERSION + - versions/FAISS_VERSION + - versions/NGT_VERSION + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/agent/core/agent/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/agent/** - - pkg/agent/core/agent/** - - apis/grpc/** - - apis/proto/** - - rust/Cargo.lock - - rust/Cargo.toml - - rust/bin/agent - - rust/libs/ngt-rs/** - - rust/libs/ngt/** - - rust/libs/proto/** - - versions/RUST_VERSION - - versions/FAISS_VERSION - - versions/NGT_VERSION - - versions/FAISS_VERSION - - versions/NGT_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/agent/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/agent/** + - pkg/agent/core/agent/** + - apis/grpc/** + - apis/proto/** + - rust/Cargo.lock + - rust/Cargo.toml + - rust/bin/agent + - rust/libs/ngt-rs/** + - rust/libs/ngt/** + - rust/libs/proto/** + - versions/RUST_VERSION + - versions/FAISS_VERSION + - versions/NGT_VERSION + - versions/FAISS_VERSION + - versions/NGT_VERSION + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-agent-ngt-image.yaml b/.github/workflows/dockers-agent-ngt-image.yaml old mode 100755 new mode 100644 index e2587cc568..322dd1909c --- a/.github/workflows/dockers-agent-ngt-image.yaml +++ b/.github/workflows/dockers-agent-ngt-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: agent-ngt' +name: "Build docker image: agent-ngt" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/agent/core/ngt/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-ngt-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/ngt/** - - pkg/agent/core/ngt/** - - pkg/agent/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - versions/NGT_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/ngt/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-ngt-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/ngt/** + - pkg/agent/core/ngt/** + - pkg/agent/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - versions/NGT_VERSION + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/agent/core/ngt/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-ngt-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/core/ngt/** - - pkg/agent/core/ngt/** - - pkg/agent/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - versions/NGT_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/core/ngt/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-ngt-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/core/ngt/** + - pkg/agent/core/ngt/** + - pkg/agent/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - versions/NGT_VERSION + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-agent-sidecar-image.yaml b/.github/workflows/dockers-agent-sidecar-image.yaml old mode 100755 new mode 100644 index 78456cab05..add50f2f64 --- a/.github/workflows/dockers-agent-sidecar-image.yaml +++ b/.github/workflows/dockers-agent-sidecar-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: agent-sidecar' +name: "Build docker image: agent-sidecar" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/agent/sidecar/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-sidecar-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/sidecar/** - - pkg/agent/sidecar/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - internal/db/storage/blob/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/sidecar/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-sidecar-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/sidecar/** + - pkg/agent/sidecar/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - internal/db/storage/blob/** + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/agent/sidecar/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-agent-sidecar-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/agent/sidecar/** - - pkg/agent/sidecar/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - internal/db/storage/blob/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/agent/sidecar/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-agent-sidecar-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/agent/sidecar/** + - pkg/agent/sidecar/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - internal/db/storage/blob/** + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-benchmark-job-image.yaml b/.github/workflows/dockers-benchmark-job-image.yaml old mode 100755 new mode 100644 index 6ff59e9816..32f3890bdc --- a/.github/workflows/dockers-benchmark-job-image.yaml +++ b/.github/workflows/dockers-benchmark-job-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: benchmark-job' +name: "Build docker image: benchmark-job" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/tools/benchmark/job/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-benchmark-job-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/benchmark/job/** - - pkg/tools/benchmark/job/** - - cmd/tools/benchmark/operators/** - - pkg/tools/benchmark/operators/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/benchmark/job/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-benchmark-job-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/benchmark/job/** + - pkg/tools/benchmark/job/** + - cmd/tools/benchmark/operators/** + - pkg/tools/benchmark/operators/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/tools/benchmark/job/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-benchmark-job-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/benchmark/job/** - - pkg/tools/benchmark/job/** - - cmd/tools/benchmark/operators/** - - pkg/tools/benchmark/operators/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/benchmark/job/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-benchmark-job-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/benchmark/job/** + - pkg/tools/benchmark/job/** + - cmd/tools/benchmark/operators/** + - pkg/tools/benchmark/operators/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-benchmark-operator-image.yaml b/.github/workflows/dockers-benchmark-operator-image.yaml old mode 100755 new mode 100644 index 31c0f0f341..c17cac5a85 --- a/.github/workflows/dockers-benchmark-operator-image.yaml +++ b/.github/workflows/dockers-benchmark-operator-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: benchmark-operator' +name: "Build docker image: benchmark-operator" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/tools/benchmark/operator/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-benchmark-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/benchmark/operator/** - - pkg/tools/benchmark/operator/** - - cmd/tools/benchmark/jobs/** - - pkg/tools/benchmark/jobs/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/benchmark/operator/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-benchmark-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/benchmark/operator/** + - pkg/tools/benchmark/operator/** + - cmd/tools/benchmark/jobs/** + - pkg/tools/benchmark/jobs/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/tools/benchmark/operator/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-benchmark-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/benchmark/operator/** - - pkg/tools/benchmark/operator/** - - cmd/tools/benchmark/jobs/** - - pkg/tools/benchmark/jobs/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/benchmark/operator/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-benchmark-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/benchmark/operator/** + - pkg/tools/benchmark/operator/** + - cmd/tools/benchmark/jobs/** + - pkg/tools/benchmark/jobs/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-binfmt-image.yaml b/.github/workflows/dockers-binfmt-image.yaml old mode 100755 new mode 100644 index 4689f56333..b09fb75803 --- a/.github/workflows/dockers-binfmt-image.yaml +++ b/.github/workflows/dockers-binfmt-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: binfmt' +name: "Build docker image: binfmt" on: schedule: - - cron: 0 * * * * + - cron: 0 * * * * push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/binfmt/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-binfmt-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/binfmt/** - - pkg/binfmt/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/binfmt/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-binfmt-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/binfmt/** + - pkg/binfmt/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/binfmt/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-binfmt-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/binfmt/** - - pkg/binfmt/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/binfmt/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-binfmt-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/binfmt/** + - pkg/binfmt/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-buildbase-image.yaml b/.github/workflows/dockers-buildbase-image.yaml old mode 100755 new mode 100644 index 5117c243fc..572f4193a7 --- a/.github/workflows/dockers-buildbase-image.yaml +++ b/.github/workflows/dockers-buildbase-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: buildbase' +name: "Build docker image: buildbase" on: schedule: - - cron: 0 * * * * + - cron: 0 * * * * push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/buildbase/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildbase-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildbase/** - - pkg/buildbase/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildbase/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildbase-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildbase/** + - pkg/buildbase/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/buildbase/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildbase-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildbase/** - - pkg/buildbase/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildbase/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildbase-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildbase/** + - pkg/buildbase/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-buildkit-image.yaml b/.github/workflows/dockers-buildkit-image.yaml old mode 100755 new mode 100644 index df7d955c0f..b82940e8f6 --- a/.github/workflows/dockers-buildkit-image.yaml +++ b/.github/workflows/dockers-buildkit-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: buildkit' +name: "Build docker image: buildkit" on: schedule: - - cron: 0 * * * * + - cron: 0 * * * * push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/buildkit/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildkit-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildkit/** - - pkg/buildkit/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildkit/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildkit-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildkit/** + - pkg/buildkit/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/buildkit/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildkit-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildkit/** - - pkg/buildkit/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildkit/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildkit-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildkit/** + - pkg/buildkit/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-buildkit-syft-scanner-image.yaml b/.github/workflows/dockers-buildkit-syft-scanner-image.yaml old mode 100755 new mode 100644 index b74ee0acfb..f0d55b3ef8 --- a/.github/workflows/dockers-buildkit-syft-scanner-image.yaml +++ b/.github/workflows/dockers-buildkit-syft-scanner-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: buildkit-syft-scanner' +name: "Build docker image: buildkit-syft-scanner" on: schedule: - - cron: 0 * * * * + - cron: 0 * * * * push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/buildkit/syft/scanner/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildkit-syft-scanner-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildkit/syft/scanner/** - - pkg/buildkit/syft/scanner/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildkit/syft/scanner/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildkit-syft-scanner-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildkit/syft/scanner/** + - pkg/buildkit/syft/scanner/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/buildkit/syft/scanner/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-buildkit-syft-scanner-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/buildkit/syft/scanner/** - - pkg/buildkit/syft/scanner/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' + - hack/docker/gen/main.go + - dockers/buildkit/syft/scanner/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-buildkit-syft-scanner-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/buildkit/syft/scanner/** + - pkg/buildkit/syft/scanner/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-ci-container-image.yaml b/.github/workflows/dockers-ci-container-image.yaml old mode 100755 new mode 100644 index fa6ffb3943..0d75ad2ad2 --- a/.github/workflows/dockers-ci-container-image.yaml +++ b/.github/workflows/dockers-ci-container-image.yaml @@ -13,49 +13,48 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: ci-container' +name: "Build docker image: ci-container" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/ci/base/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-ci-container-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/ci/base/** - - pkg/ci/base/** - - apis/grpc/** - - apis/proto/** - - hack/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/ci/base/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-ci-container-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/ci/base/** + - pkg/ci/base/** + - apis/grpc/** + - apis/proto/** + - hack/** + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/ci/base/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-ci-container-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/ci/base/** - - pkg/ci/base/** - - apis/grpc/** - - apis/proto/** - - hack/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/ci/base/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-ci-container-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/ci/base/** + - pkg/ci/base/** + - apis/grpc/** + - apis/proto/** + - hack/** + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-dev-container-image.yaml b/.github/workflows/dockers-dev-container-image.yaml old mode 100755 new mode 100644 index ee83a872c4..992417b637 --- a/.github/workflows/dockers-dev-container-image.yaml +++ b/.github/workflows/dockers-dev-container-image.yaml @@ -13,49 +13,48 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: dev-container' +name: "Build docker image: dev-container" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/dev/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-dev-container-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/dev/** - - pkg/dev/** - - apis/grpc/** - - apis/proto/** - - hack/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/dev/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-dev-container-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/dev/** + - pkg/dev/** + - apis/grpc/** + - apis/proto/** + - hack/** + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/dev/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-dev-container-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/dev/** - - pkg/dev/** - - apis/grpc/** - - apis/proto/** - - hack/** - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/dev/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-dev-container-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/dev/** + - pkg/dev/** + - apis/grpc/** + - apis/proto/** + - hack/** + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-discoverer-k8s-image.yaml b/.github/workflows/dockers-discoverer-k8s-image.yaml old mode 100755 new mode 100644 index e0fea36ae9..555bd60c9e --- a/.github/workflows/dockers-discoverer-k8s-image.yaml +++ b/.github/workflows/dockers-discoverer-k8s-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: discoverer-k8s' +name: "Build docker image: discoverer-k8s" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/discoverer/k8s/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-discoverer-k8s-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/discoverer/k8s/** - - pkg/discoverer/k8s/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/discoverer/k8s/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-discoverer-k8s-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/discoverer/k8s/** + - pkg/discoverer/k8s/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/discoverer/k8s/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-discoverer-k8s-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/discoverer/k8s/** - - pkg/discoverer/k8s/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/discoverer/k8s/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-discoverer-k8s-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/discoverer/k8s/** + - pkg/discoverer/k8s/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-gateway-filter-image.yaml b/.github/workflows/dockers-gateway-filter-image.yaml old mode 100755 new mode 100644 index 185821dfd2..4d4403b314 --- a/.github/workflows/dockers-gateway-filter-image.yaml +++ b/.github/workflows/dockers-gateway-filter-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: gateway-filter' +name: "Build docker image: gateway-filter" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/gateway/filter/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-filter-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/filter/** - - pkg/gateway/filter/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/filter/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-filter-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/filter/** + - pkg/gateway/filter/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/gateway/filter/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-filter-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/filter/** - - pkg/gateway/filter/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/filter/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-filter-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/filter/** + - pkg/gateway/filter/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-gateway-lb-image.yaml b/.github/workflows/dockers-gateway-lb-image.yaml old mode 100755 new mode 100644 index ffbe94fd42..533e9dcf51 --- a/.github/workflows/dockers-gateway-lb-image.yaml +++ b/.github/workflows/dockers-gateway-lb-image.yaml @@ -13,65 +13,64 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: gateway-lb' +name: "Build docker image: gateway-lb" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/gateway/lb/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-lb-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/lb/** - - pkg/gateway/lb/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/lb/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-lb-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/lb/** + - pkg/gateway/lb/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/gateway/lb/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-lb-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/lb/** - - pkg/gateway/lb/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/lb/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-lb-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/lb/** + - pkg/gateway/lb/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-gateway-mirror-image.yaml b/.github/workflows/dockers-gateway-mirror-image.yaml old mode 100755 new mode 100644 index 29e2f55f35..04c4877ee0 --- a/.github/workflows/dockers-gateway-mirror-image.yaml +++ b/.github/workflows/dockers-gateway-mirror-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: gateway-mirror' +name: "Build docker image: gateway-mirror" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/gateway/mirror/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-mirror-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/mirror/** - - pkg/gateway/mirror/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/mirror/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-mirror-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/mirror/** + - pkg/gateway/mirror/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/gateway/mirror/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-gateway-mirror-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/gateway/mirror/** - - pkg/gateway/mirror/** - - pkg/gateway/internal/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/gateway/mirror/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-gateway-mirror-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/gateway/mirror/** + - pkg/gateway/mirror/** + - pkg/gateway/internal/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-helm-operator-image.yaml b/.github/workflows/dockers-helm-operator-image.yaml old mode 100755 new mode 100644 index ec1e04537a..eaed6ca1dd --- a/.github/workflows/dockers-helm-operator-image.yaml +++ b/.github/workflows/dockers-helm-operator-image.yaml @@ -13,57 +13,56 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: helm-operator' +name: "Build docker image: helm-operator" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/operator/helm/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-helm-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/operator/helm/** - - pkg/operator/helm/** - - charts/vald/Chart.yaml - - charts/vald/values.yaml - - charts/vald/templates/** - - charts/vald-helm-operator/Chart.yaml - - charts/vald-helm-operator/values.yaml - - charts/vald-helm-operator/templates/** - - versions/OPERATOR_SDK_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/operator/helm/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-helm-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/operator/helm/** + - pkg/operator/helm/** + - charts/vald/Chart.yaml + - charts/vald/values.yaml + - charts/vald/templates/** + - charts/vald-helm-operator/Chart.yaml + - charts/vald-helm-operator/values.yaml + - charts/vald-helm-operator/templates/** + - versions/OPERATOR_SDK_VERSION + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/operator/helm/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-helm-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/operator/helm/** - - pkg/operator/helm/** - - charts/vald/Chart.yaml - - charts/vald/values.yaml - - charts/vald/templates/** - - charts/vald-helm-operator/Chart.yaml - - charts/vald-helm-operator/values.yaml - - charts/vald-helm-operator/templates/** - - versions/OPERATOR_SDK_VERSION - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/operator/helm/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-helm-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/operator/helm/** + - pkg/operator/helm/** + - charts/vald/Chart.yaml + - charts/vald/values.yaml + - charts/vald/templates/** + - charts/vald-helm-operator/Chart.yaml + - charts/vald-helm-operator/values.yaml + - charts/vald-helm-operator/templates/** + - versions/OPERATOR_SDK_VERSION + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-index-correction-image.yaml b/.github/workflows/dockers-index-correction-image.yaml old mode 100755 new mode 100644 index ed4060a8c6..6ecd12980d --- a/.github/workflows/dockers-index-correction-image.yaml +++ b/.github/workflows/dockers-index-correction-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: index-correction' +name: "Build docker image: index-correction" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/index/job/correction/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-correction-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/correction/** - - pkg/index/job/correction/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/correction/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-correction-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/correction/** + - pkg/index/job/correction/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/index/job/correction/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-correction-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/correction/** - - pkg/index/job/correction/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/correction/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-correction-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/correction/** + - pkg/index/job/correction/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-index-creation-image.yaml b/.github/workflows/dockers-index-creation-image.yaml old mode 100755 new mode 100644 index 1d17b7d10f..c4a472fd8d --- a/.github/workflows/dockers-index-creation-image.yaml +++ b/.github/workflows/dockers-index-creation-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: index-creation' +name: "Build docker image: index-creation" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/index/job/creation/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-creation-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/creation/** - - pkg/index/job/creation/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/creation/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-creation-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/creation/** + - pkg/index/job/creation/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/index/job/creation/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-creation-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/creation/** - - pkg/index/job/creation/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/creation/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-creation-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/creation/** + - pkg/index/job/creation/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-index-operator-image.yaml b/.github/workflows/dockers-index-operator-image.yaml old mode 100755 new mode 100644 index f83b0f6c86..83eba72f85 --- a/.github/workflows/dockers-index-operator-image.yaml +++ b/.github/workflows/dockers-index-operator-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: index-operator' +name: "Build docker image: index-operator" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/index/operator/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/operator/** - - pkg/index/operator/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/operator/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/operator/** + - pkg/index/operator/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/index/operator/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-operator-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/operator/** - - pkg/index/operator/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/operator/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-operator-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/operator/** + - pkg/index/operator/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-index-save-image.yaml b/.github/workflows/dockers-index-save-image.yaml old mode 100755 new mode 100644 index 568fbcb0b6..55dec380ea --- a/.github/workflows/dockers-index-save-image.yaml +++ b/.github/workflows/dockers-index-save-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: index-save' +name: "Build docker image: index-save" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/index/job/save/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-save-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/save/** - - pkg/index/job/save/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/save/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-save-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/save/** + - pkg/index/job/save/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/index/job/save/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-index-save-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/save/** - - pkg/index/job/save/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/save/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-index-save-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/save/** + - pkg/index/job/save/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-loadtest-image.yaml b/.github/workflows/dockers-loadtest-image.yaml old mode 100755 new mode 100644 index 6e561548bd..d9abd2f5a9 --- a/.github/workflows/dockers-loadtest-image.yaml +++ b/.github/workflows/dockers-loadtest-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: loadtest' +name: "Build docker image: loadtest" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/tools/cli/loadtest/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-loadtest-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/cli/loadtest/** - - pkg/tools/cli/loadtest/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/cli/loadtest/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-loadtest-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/cli/loadtest/** + - pkg/tools/cli/loadtest/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/tools/cli/loadtest/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-loadtest-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/tools/cli/loadtest/** - - pkg/tools/cli/loadtest/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/tools/cli/loadtest/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-loadtest-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/tools/cli/loadtest/** + - pkg/tools/cli/loadtest/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-manager-index-image.yaml b/.github/workflows/dockers-manager-index-image.yaml old mode 100755 new mode 100644 index d7a22972b7..eea93b7018 --- a/.github/workflows/dockers-manager-index-image.yaml +++ b/.github/workflows/dockers-manager-index-image.yaml @@ -13,63 +13,62 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: manager-index' +name: "Build docker image: manager-index" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/manager/index/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-manager-index-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/manager/index/** - - pkg/manager/index/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/manager/index/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-manager-index-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/manager/index/** + - pkg/manager/index/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/manager/index/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-manager-index-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/manager/index/** - - pkg/manager/index/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - '!internal/k8s/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/manager/index/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-manager-index-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/manager/index/** + - pkg/manager/index/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - "!internal/k8s/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml diff --git a/.github/workflows/dockers-readreplica-rotate-image.yaml b/.github/workflows/dockers-readreplica-rotate-image.yaml old mode 100755 new mode 100644 index fd18858755..867e3f8111 --- a/.github/workflows/dockers-readreplica-rotate-image.yaml +++ b/.github/workflows/dockers-readreplica-rotate-image.yaml @@ -13,61 +13,60 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# DO_NOT_EDIT this workflow file is generated by https://github.com/vdaas/vald/blob/main/hack/actions/gen/main.go -name: 'Build docker image: readreplica-rotate' +name: "Build docker image: readreplica-rotate" on: push: branches: - - main - - release/v*.* - - '!release/v*.*.*' + - main + - release/v*.* + - "!release/v*.*.*" tags: - - '*.*.*' - - v*.*.* - - '*.*.*-*' - - v*.*.*-* + - "*.*.*" + - v*.*.* + - "*.*.*-*" + - v*.*.*-* pull_request: paths: - - hack/docker/gen/main.go - - dockers/index/job/readreplica/rotate/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-readreplica-rotate-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/readreplica/rotate/** - - pkg/index/job/readreplica/rotate/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/readreplica/rotate/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-readreplica-rotate-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/readreplica/rotate/** + - pkg/index/job/readreplica/rotate/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** pull_request_target: paths: - - hack/docker/gen/main.go - - dockers/index/job/readreplica/rotate/Dockerfile - - hack/actions/gen/main.go - - .github/workflows/dockers-readreplica-rotate-image.yaml - - .github/actions/docker-build/action.yaml - - .github/workflows/_docker-image.yaml - - cmd/index/job/readreplica/rotate/** - - pkg/index/job/readreplica/rotate/** - - apis/grpc/** - - apis/proto/** - - go.mod - - go.sum - - versions/GO_VERSION - - internal/** - - '!internal/**/*_test.go' - - '!internal/**/*_mock.go' - - '!internal/db/**' - - Makefile - - Makefile.d/** + - hack/docker/gen/main.go + - dockers/index/job/readreplica/rotate/Dockerfile + - hack/actions/gen/main.go + - .github/workflows/dockers-readreplica-rotate-image.yaml + - .github/actions/docker-build/action.yaml + - .github/workflows/_docker-image.yaml + - cmd/index/job/readreplica/rotate/** + - pkg/index/job/readreplica/rotate/** + - apis/grpc/** + - apis/proto/** + - go.mod + - go.sum + - versions/GO_VERSION + - internal/** + - "!internal/**/*_test.go" + - "!internal/**/*_mock.go" + - "!internal/db/**" + - Makefile + - Makefile.d/** jobs: build: uses: ./.github/workflows/_docker-image.yaml