-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prow presubmit job to build mlkube.io container. #4951
Changes from 20 commits
cf8ce96
01d41a2
49da9b2
6c44b46
39f7008
d212e7b
d8ba6c9
b0d10e5
6a4bcec
7899047
98dfc26
8563b0c
4309c6d
7507edb
988f657
5d6a304
0090983
80da1c6
23987bf
9a5f92c
9e76d5f
6603279
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2489,6 +2489,31 @@ presubmits: | |
hostPath: | ||
path: /mnt/disks/ssd0 | ||
|
||
jlewi/mlkube.io: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hummm, I feel like our bot might not have access to your repo, you might want to configure somewhere around https://github.com/kubernetes/test-infra/blob/master/prow/plugins.yaml#L5-L11 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. I also think I need to configure webhooks on my repo but I'll do that after this PR is done. |
||
- name: mlkube-build-presubmit | ||
context: mlkube-build-presubmit | ||
agent: kubernetes | ||
always_run: true # Run for every PR, or only when requested. | ||
rerun_command: "/test mlkube-build-presubmit" | ||
trigger: "(?m)^/test( all| mlkube-build-presubmit),?(\\s+|$)" | ||
branches: | ||
- master | ||
spec: | ||
containers: | ||
# TODO(jlewi): Replace latest with a specific tag once the images stabilize. | ||
- image: gcr.io/mlkube-testing/builder:latest | ||
env: | ||
- name: GOOGLE_APPLICATION_CREDENTIALS | ||
value: /etc/service-account/service-account.json | ||
volumeMounts: | ||
- name: service | ||
mountPath: /etc/service-account | ||
readOnly: true | ||
volumes: | ||
- name: service | ||
secret: | ||
secretName: service-account | ||
|
||
postsubmits: | ||
kubernetes/kubernetes: | ||
- name: ci-kubernetes-bazel-build | ||
|
@@ -3263,6 +3288,29 @@ postsubmits: | |
secret: | ||
secretName: service-account | ||
|
||
jlewi/mlkube.io: | ||
- name: mlkube-build-postsubmit | ||
agent: kubernetes | ||
branches: | ||
- master | ||
spec: | ||
containers: | ||
# TODO(jlewi): Replace latest with a specific tag once the images stabilize. | ||
- image: gcr.io/mlkube-testing/builder:latest | ||
env: | ||
- name: GOOGLE_APPLICATION_CREDENTIALS | ||
value: /etc/service-account/service-account.json | ||
volumeMounts: | ||
- name: service | ||
mountPath: /etc/service-account | ||
readOnly: true | ||
volumes: | ||
- name: service | ||
secret: | ||
secretName: service-account | ||
- name: docker | ||
hostPath: | ||
path: /var/run/docker.sock | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove the sock map here as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
|
||
periodics: | ||
- interval: 1h | ||
|
@@ -15700,39 +15748,24 @@ periodics: | |
defaultMode: 256 | ||
secretName: aws-cred | ||
|
||
- interval: 30m | ||
- interval: 8h | ||
agent: kubernetes | ||
name: ci-kubernetes-e2e-mlkube-gke | ||
name: mlkube-build-periodic | ||
spec: | ||
containers: | ||
- args: | ||
- --timeout=70 | ||
- --repo=github.com/foxish/mlkube.io | ||
# TODO(jlewi): Replace latest with a specific tag once the images stabilize. | ||
- image: gcr.io/mlkube-testing/builder:latest | ||
env: | ||
- name: GOOGLE_APPLICATION_CREDENTIALS | ||
value: /etc/service-account/service-account.json | ||
- name: USER | ||
value: prow | ||
- name: JENKINS_GCE_SSH_PRIVATE_KEY_FILE | ||
value: /etc/ssh-key-secret/ssh-private | ||
- name: JENKINS_GCE_SSH_PUBLIC_KEY_FILE | ||
value: /etc/ssh-key-secret/ssh-public | ||
image: gcr.io/k8s-testimages/kubekins-e2e:v20171011-8265ed12-master | ||
volumeMounts: | ||
- mountPath: /etc/service-account | ||
name: service | ||
readOnly: true | ||
- mountPath: /etc/ssh-key-secret | ||
name: ssh | ||
- name: service | ||
mountPath: /etc/service-account | ||
readOnly: true | ||
volumes: | ||
- name: service | ||
secret: | ||
secretName: service-account | ||
- name: ssh | ||
secret: | ||
defaultMode: 256 | ||
secretName: ssh-key-secret | ||
|
||
- name: ci-kubernetes-e2e-node-canary | ||
interval: 1h | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1535,8 +1535,12 @@ test_groups: | |
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-gci-master-gci-new-downgrade-cluster-parallel | ||
- name: ci-kubernetes-e2e-gke-gci-new-gci-master-upgrade-cluster-new | ||
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-gci-new-gci-master-upgrade-cluster-new | ||
- name: ci-kubernetes-e2e-mlkube-gke | ||
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-mlkube-gke | ||
- name: mlkube-build-periodic | ||
gcs_prefix: kubernetes-jenkins/logs/mlkube-build-periodic | ||
- name: mlkube-build-presubmit | ||
gcs_prefix: kubernetes-jenkins/logs/mlkube-build-presubmit | ||
- name: mlkube-build-postsubmit | ||
gcs_prefix: kubernetes-jenkins/logs/mlkube-build-postsubmit | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
# kube-proxy daemonset migration jobs | ||
- name: ci-kubernetes-e2e-gci-gce-latest-downgrade-kube-proxy-ds | ||
gcs_prefix: kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gce-latest-downgrade-kube-proxy-ds | ||
|
@@ -3081,8 +3085,6 @@ dashboards: | |
dashboard_tab: | ||
- name: charts-gce | ||
test_group_name: ci-kubernetes-charts-gce | ||
- name: mlkube-gke | ||
test_group_name: ci-kubernetes-e2e-mlkube-gke | ||
|
||
- name: perf-tests | ||
dashboard_tab: | ||
|
@@ -3540,9 +3542,15 @@ dashboards: | |
|
||
- name: sig-big-data | ||
dashboard_tab: | ||
- name: mlkube-gke | ||
description: what does this tab do exactly | ||
test_group_name: ci-kubernetes-e2e-mlkube-gke | ||
- name: mlkube-build-periodic | ||
description: Periodic builds and testing of TfJob CRD at head running on stable GKE. | ||
test_group_name: mlkube-build-periodic | ||
- name: mlkube-build-postsubmit | ||
description: Postsubmit tests of TfJob CRD running on stable GKE. | ||
test_group_name: mlkube-build-postsubmit | ||
- name: mlkube-build-presubmit | ||
description: Presubmit tests of TfJob CRD running on stable GKE. | ||
test_group_name: mlkube-build-presubmit | ||
notifications: | ||
- summary: Please configure this skeleton dashboard and remove this notification | ||
context_link: https://github.com/kubernetes/test-infra/tree/master/testgrid/config | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (probably can delete this notification now) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now you probably don't need this block. The test basically scans duplicated projects from config.json.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.