Skip to content

Commit

Permalink
Merge pull request #229 from chendave/fix_arm_ci
Browse files Browse the repository at this point in the history
Define the parameters needed to build arm64 binaries
  • Loading branch information
k8s-ci-robot authored Jun 12, 2023
2 parents 4a454e5 + f67b241 commit 54297a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/testers/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ type Tester struct {
BoskosHeartbeatIntervalSeconds int `desc:"How often (in seconds) to send a heartbeat to Boskos to hold the acquired resource. 0 means no heartbeat."`
BoskosLocation string `desc:"If set, manually specifies the location of the boskos server. If unset and boskos is needed"`
ImageConfigFile string `desc:"Path to a file containing image configuration."`
UseDockerizedBuild bool `desc:"Use dockerized build for test artifacts"`
TargetBuildArch string `desc:"Target architecture for the test artifacts for dockerized build"`
ImageConfigDir string `desc:"Path to image config files."`
Parallelism int `desc:"The number of nodes to run in parallel."`
GCPProjectType string `desc:"Explicitly indicate which project type to select from boskos."`
Expand Down Expand Up @@ -244,6 +246,8 @@ func (t *Tester) constructArgs() []string {
"IMAGE_CONFIG_DIR=" + t.ImageConfigDir,
"SSH_USER=" + t.sshUser,
"SSH_KEY=" + t.privateKey,
"USE_DOCKERIZED_BUILD=" + strconv.FormatBool(t.UseDockerizedBuild),
"TARGET_BUILD_ARCH=" + t.TargetBuildArch,
}
if t.RuntimeConfig != "" {
argsFromFlags = append(argsFromFlags, "RUNTIME_CONFIG="+t.RuntimeConfig)
Expand Down

0 comments on commit 54297a4

Please sign in to comment.