jobName: eks-distro-base-tooling-quarterly-update-al-{{ .alVersion }}
cronExpression: "0 0 1 */3 *"
imageBuild: true
prCreation: true
architecture: AMD64
useDockerBuildX: true
useMinimalBuilderBase: true
automountServiceAccountToken: true
serviceAccountName: postsubmits-build-account
commands:
- export DATE_EPOCH=$(date "+%F-%s")
- source scripts/setup_public_ecr_push.sh
- make quarterly-update -C $PROJECT_PATH IMAGE_TAG=${DATE_EPOCH}.${AL_TAG}
- make create-pr -C $PROJECT_PATH IMAGE_TAG=${DATE_EPOCH}.${AL_TAG}
projectPath: eks-distro-base
envVars:
- name: AL_TAG
  value: {{ .alVersion }}
- name: IMAGE_REPO
  value: public.ecr.aws/eks-distro-build-tooling
- name: ECR_PUBLIC_PUSH_ROLE_ARN
  value: arn:aws:iam::832188789588:role/ECRPublicPushRole
- name: AWS_REGION
  value: us-east-1
- name: REPO_OWNER
  value: aws
- name: OUTPUT_DEBUG_LOG
  value: true
- name: CREATE_BUILDER_PODS
  value: true
extraRefs:
- baseRef: main
  org: aws
  repo: eks-distro-build-tooling
- baseRef: main
  org: eks-distro-pr-bot
  repo: eks-distro-build-tooling
- baseRef: main
  org: eks-distro-pr-bot
  repo: eks-distro
- baseRef: main
  org: eks-distro-pr-bot
  repo: eks-anywhere
timeout: 8h
