jobName: kubernetes-{{ .releaseBranch }}-presubmit
runIfChanged: EKS_DISTRO_MINIMAL_BASE_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_IPTABLES_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/kubernetes/(build|docker|Makefile|{{ .releaseBranch }})
imageBuild: true
localRegistry: true
commands:
- make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true
- make build -C $PROJECT_PATH
- mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts
- make clean-go-cache clean -C $PROJECT_PATH
projectPath: projects/kubernetes/kubernetes
envVars:
- name: RELEASE_PROJECT_PATH
  value: projects/kubernetes/release
- name: RELEASE_BRANCH
  value: {{ .releaseBranch }}
- name: IMAGE_REPO
  value: localhost:5000
resources:
  limits:
    cpu: 16
    memory: 32Gi
  requests:
    cpu: 16
    memory: 32Gi
