diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.23.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.23.yaml index f69c3337af09..27c892c8eb72 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.23.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.23.yaml @@ -1600,6 +1600,40 @@ presubmits: memory: 15Gi securityContext: privileged: true + - always_run: false + optional: true + branches: + - release-1.23 + cluster: k8s-infra-prow-build + context: pull-kubernetes-integration-go-compatibility + decorate: true + labels: + preset-dind-enabled: "true" + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-integration-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - args: + - ./hack/jenkins/test-dockerized.sh + command: + - runner.sh + env: + - name: GO_VERSION + value: "1.17.3" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.23 + name: "" + resources: + limits: + cpu: "6" + memory: 15Gi + requests: + cpu: "6" + memory: 15Gi + securityContext: + privileged: true - always_run: true branches: - release-1.23 @@ -1748,6 +1782,38 @@ presubmits: memory: 36Gi securityContext: runAsUser: 2000 + - always_run: false + optional: true + branches: + - release-1.23 + cluster: k8s-infra-prow-build + context: pull-kubernetes-unit-go-compatibility + decorate: true + labels: + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-unit-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - command: + - make + - test + env: + - name: GO_VERSION + value: "1.17.3" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.23 + name: "" + resources: + limits: + cpu: "4" + memory: 36Gi + requests: + cpu: "4" + memory: 36Gi + securityContext: + runAsUser: 2000 - always_run: true branches: - release-1.23 diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.24.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.24.yaml index 21ef948919b7..a31bc0801d9e 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.24.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.24.yaml @@ -1420,6 +1420,40 @@ presubmits: memory: 15Gi securityContext: privileged: true + - always_run: false + optional: true + branches: + - release-1.24 + cluster: k8s-infra-prow-build + context: pull-kubernetes-integration-go-compatibility + decorate: true + labels: + preset-dind-enabled: "true" + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-integration-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - args: + - ./hack/jenkins/test-dockerized.sh + command: + - runner.sh + env: + - name: GO_VERSION + value: "1.18.1" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.24 + name: "" + resources: + limits: + cpu: "6" + memory: 15Gi + requests: + cpu: "6" + memory: 15Gi + securityContext: + privileged: true - always_run: true branches: - release-1.24 @@ -1568,6 +1602,38 @@ presubmits: memory: 36Gi securityContext: runAsUser: 2000 + - always_run: false + optional: true + branches: + - release-1.24 + cluster: k8s-infra-prow-build + context: pull-kubernetes-unit-go-compatibility + decorate: true + labels: + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-unit-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - command: + - make + - test + env: + - name: GO_VERSION + value: "1.18.1" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.24 + name: "" + resources: + limits: + cpu: "4" + memory: 36Gi + requests: + cpu: "4" + memory: 36Gi + securityContext: + runAsUser: 2000 - always_run: true branches: - release-1.24 diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.25.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.25.yaml index 463ff917fdd3..64ae9a7fae9d 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.25.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.25.yaml @@ -1430,6 +1430,40 @@ presubmits: memory: 15Gi securityContext: privileged: true + - always_run: false + optional: true + branches: + - release-1.25 + cluster: k8s-infra-prow-build + context: pull-kubernetes-integration-go-compatibility + decorate: true + labels: + preset-dind-enabled: "true" + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-integration-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - args: + - ./hack/jenkins/test-dockerized.sh + command: + - runner.sh + env: + - name: GO_VERSION + value: "1.19.1" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.25 + name: "" + resources: + limits: + cpu: "6" + memory: 15Gi + requests: + cpu: "6" + memory: 15Gi + securityContext: + privileged: true - always_run: true branches: - release-1.25 @@ -1578,6 +1612,38 @@ presubmits: memory: 36Gi securityContext: runAsUser: 2000 + - always_run: false + optional: true + branches: + - release-1.25 + cluster: k8s-infra-prow-build + context: pull-kubernetes-unit-go-compatibility + decorate: true + labels: + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-unit-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - command: + - make + - test + env: + - name: GO_VERSION + value: "1.19.1" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.25 + name: "" + resources: + limits: + cpu: "4" + memory: 36Gi + requests: + cpu: "4" + memory: 36Gi + securityContext: + runAsUser: 2000 - always_run: true branches: - release-1.25 diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.26.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.26.yaml index 293eb7db68d7..b47757adf71a 100755 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.26.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.26.yaml @@ -1458,6 +1458,40 @@ presubmits: memory: 15Gi securityContext: privileged: true + - always_run: false + optional: true + branches: + - release-1.26 + cluster: k8s-infra-prow-build + context: pull-kubernetes-integration-go-compatibility + decorate: true + labels: + preset-dind-enabled: "true" + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-integration-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - args: + - ./hack/jenkins/test-dockerized.sh + command: + - runner.sh + env: + - name: GO_VERSION + value: "1.19.4" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.26 + name: "" + resources: + limits: + cpu: "6" + memory: 15Gi + requests: + cpu: "6" + memory: 15Gi + securityContext: + privileged: true - always_run: true branches: - release-1.26 @@ -1604,6 +1638,36 @@ presubmits: requests: cpu: "4" memory: 36Gi + - always_run: false + optional: true + branches: + - release-1.26 + cluster: k8s-infra-prow-build + context: pull-kubernetes-unit-go-compatibility + decorate: true + labels: + preset-service-account: "true" + annotations: + description: run with GO_VERSION set to the original go version used for this branch + name: pull-kubernetes-unit-go-compatibility + path_alias: k8s.io/kubernetes + spec: + containers: + - command: + - make + - test + env: + - name: GO_VERSION + value: "1.19.4" + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.26 + name: "" + resources: + limits: + cpu: "4" + memory: 36Gi + requests: + cpu: "4" + memory: 36Gi - always_run: true branches: - release-1.26 diff --git a/config/jobs/kubernetes/sig-testing/integration.yaml b/config/jobs/kubernetes/sig-testing/integration.yaml index 859398310625..d2bbc4ff966c 100644 --- a/config/jobs/kubernetes/sig-testing/integration.yaml +++ b/config/jobs/kubernetes/sig-testing/integration.yaml @@ -33,6 +33,41 @@ presubmits: requests: cpu: 6 memory: 15Gi + - name: pull-kubernetes-integration-go-compatibility + cluster: k8s-infra-prow-build + always_run: false + optional: true + decorate: true + skip_branches: + - release-\d+.\d+ # per-release job + annotations: + fork-per-release: "true" + testgrid-dashboards: sig-testing-canaries + description: run with GO_VERSION set to the original go version used for this branch + path_alias: k8s.io/kubernetes + labels: + preset-service-account: "true" + preset-dind-enabled: "true" + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-master + command: + - runner.sh + env: + - name: GO_VERSION + value: "" + args: + - ./hack/jenkins/test-dockerized.sh + # docker-in-docker needs privileged mode + securityContext: + privileged: true + resources: + limits: + cpu: 6 + memory: 15Gi + requests: + cpu: 6 + memory: 15Gi - name: pull-kubernetes-integration-go-canary cluster: k8s-infra-prow-build always_run: false diff --git a/config/jobs/kubernetes/sig-testing/make-test.yaml b/config/jobs/kubernetes/sig-testing/make-test.yaml index e4abf4c9160d..fd26c9cab62e 100644 --- a/config/jobs/kubernetes/sig-testing/make-test.yaml +++ b/config/jobs/kubernetes/sig-testing/make-test.yaml @@ -35,6 +35,45 @@ presubmits: requests: cpu: 4 memory: "36Gi" + - name: pull-kubernetes-unit-go-compatibility + annotations: + fork-per-release: "true" + testgrid-dashboards: sig-testing-canaries + description: run with GO_VERSION set to the original go version used for this branch + decorate: true + cluster: k8s-infra-prow-build + skip_branches: + - release-\d+.\d+ # per-release job + labels: + preset-service-account: "true" + optional: true + always_run: false + path_alias: k8s.io/kubernetes + spec: + # unit tests have no business requiring root or doing privileged operations + securityContext: + # NOTE: these are arbitrary non-root values. They don't exist in the + # image and don't need to, the unit tests should only write to TMPDIR + runAsUser: 2001 + runAsGroup: 2010 + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-master + securityContext: + allowPrivilegeEscalation: false + command: + - make + - test + env: + - name: GO_VERSION + value: "" + # TODO: direct copy from pull-kubernetes-bazel-test, tune these + resources: + limits: + cpu: 4 + memory: "36Gi" + requests: + cpu: 4 + memory: "36Gi" - name: pull-kubernetes-unit-experimental # try clonerefs with preclone decoration_config: