templater/templates/periodics.yaml [23:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  {{- if .extraRefs }}
  extra_refs:
  {{- range .extraRefs }}
  - org: {{ .Org }}
    repo: {{ .Repo }}
    base_ref: {{ .BaseRef }}
  {{- end }}
  {{- end }}
  decoration_config:
    {{- if .timeout }}
    timeout: {{ .timeout }}
    {{- end }}
    gcs_configuration:
      bucket: {{ .bucket }}
      path_strategy: explicit
    s3_credentials_secret: s3-credentials
  {{- if or .imageBuild .localRegistry .prCreation .diskUsage }}
  labels:
    {{- if .imageBuild }}
    image-build: "true"
    {{- end }}
    {{- if .localRegistry }}
    local-registry: "true"
    {{- end }}
    {{- if .prCreation }}
    pr-creation: "true"
    {{- end }}
    {{- if .diskUsage }}
    disk-usage: "true"
    {{- end}}
  {{- end }}
  spec:
    serviceaccountName: {{ .serviceAccountName }}
    automountServiceAccountToken: {{ or .automountServiceAccountToken false}}
    nodeSelector:
      arch: {{ or .architecture "AMD64" }}
    containers:
    - name: build-container
      image: {{ or .runtimeImage $builderBaseImage }}
      command:
      - bash
      - -c
      - >
        trap '{{- if .useDockerBuildX }}(docker buildx rm eks-d-builders || true) && {{ end }}touch /status/done' EXIT
        &&
        {{- if .imageBuild }}
        {{- if eq .repoName "aws/eks-distro"}}
        build/lib/buildkit_check.sh
        {{- else }}
        scripts/buildkit_check.sh
        {{- end }}
        {{- if .useDockerBuildX }}
        &&
        {{- if eq .repoName "aws/eks-distro"}}
        build/lib/setup_buildx.sh
        {{- else }}
        scripts/setup_buildx.sh
        {{- end }}
        {{- end}}
        &&
        {{- end }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templater/templates/postsubmits.yaml [37:97]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {{- if .extraRefs }}
    extra_refs:
    {{- range .extraRefs }}
    - org: {{ .Org }}
      repo: {{ .Repo }}
      base_ref: {{ .BaseRef }}
    {{- end }}
    {{- end }}
    decoration_config:
      {{- if .timeout }}
      timeout: {{ .timeout }}
      {{- end }}
      gcs_configuration:
        bucket: {{ .bucket }}
        path_strategy: explicit
      s3_credentials_secret: s3-credentials
    {{- if or .imageBuild .localRegistry .prCreation .diskUsage }}
    labels:
      {{- if .imageBuild }}
      image-build: "true"
      {{- end }}
      {{- if .localRegistry }}
      local-registry: "true"
      {{- end }}
      {{- if .prCreation }}
      pr-creation: "true"
      {{- end }}
      {{- if .diskUsage }}
      disk-usage: "true"
      {{- end}}
    {{- end }}
    spec:
      serviceaccountName: {{ .serviceAccountName }}
      automountServiceAccountToken: {{ or .automountServiceAccountToken false}}
      nodeSelector:
        arch: {{ or .architecture "AMD64" }}
      containers:
      - name: build-container
        image: {{ or .runtimeImage $builderBaseImage }}
        command:
        - bash
        - -c
        - >
          trap '{{- if .useDockerBuildX }}(docker buildx rm eks-d-builders || true) && {{ end }}touch /status/done' EXIT
          &&
          {{- if .imageBuild }}
          {{- if eq .repoName "aws/eks-distro"}}
          build/lib/buildkit_check.sh
          {{- else }}
          scripts/buildkit_check.sh
          {{- end }}
          {{- if .useDockerBuildX }}
          &&
          {{- if eq .repoName "aws/eks-distro"}}
          build/lib/setup_buildx.sh
          {{- else }}
          scripts/setup_buildx.sh
          {{- end }}
          {{- end}}
          &&
          {{- end }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



