Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango committed Jan 16, 2025
1 parent ef92673 commit 0289138
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/dockers-agent-faiss-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: agent-faiss
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-agent-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: agent
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-agent-sidecar-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: agent-sidecar
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-benchmark-job-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: benchmark-job
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-benchmark-operator-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: benchmark-operator
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-dev-container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: dev-container
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-discoverer-k8s-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: discoverer-k8s
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-example-client-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: example-client
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-gateway-filter-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: gateway-filter
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-gateway-lb-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: gateway-lb
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-gateway-mirror-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: gateway-mirror
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-helm-operator-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: helm-operator
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-index-correction-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: index-correction
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-index-creation-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: index-creation
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-index-deletion-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: index-deletion
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-index-operator-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: index-operator
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-index-save-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: index-save
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-manager-index-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: manager-index
platforms: linux/amd64,linux/arm64
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/dockers-readreplica-rotate-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,5 @@ jobs:
uses: ./.github/workflows/_docker-image.yaml
with:
target: readreplica-rotate
platforms: linux/amd64,linux/arm64
secrets: inherit
4 changes: 3 additions & 1 deletion hack/docker/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ func main() {
PackageDir: agent + "/core/ngt",
ExtraPackages: append(clangBuildDeps, ngtBuildDeps...),
Preprocess: []string{ngtPreprocess},
BuildPlatforms: multiPlatforms,
},
"vald-" + agentFaiss: {
AppName: "faiss",
Expand Down Expand Up @@ -1025,6 +1024,9 @@ jobs:
workflow.On.PullRequest.Paths = slices.Compact(workflow.On.PullRequest.Paths)

workflow.On.PullRequestTarget.Paths = workflow.On.PullRequest.Paths
if data.BuildPlatforms == "" {
data.BuildPlatforms = multiPlatforms
}
workflow.Jobs.Build.With.Platforms = data.BuildPlatforms

workflowYamlTmp, err := yaml.Marshal(workflow)
Expand Down

0 comments on commit 0289138

Please sign in to comment.