Skip to content

Commit

Permalink
Merge pull request #58 from rajaskakodkar/fix-testgrid-tabs
Browse files Browse the repository at this point in the history
Update testgrid and job config
  • Loading branch information
prowtce[bot] committed Mar 31, 2022
2 parents 2be255b + 53ebcbf commit 3853db6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 94 deletions.
36 changes: 2 additions & 34 deletions config/jobs/build-images/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ postsubmits:
branches:
- ^main$
annotations:
testgrid-dashboards: build-images
testgrid-tab-name: Building test images
testgrid-dashboards: testing-images
testgrid-tab-name: Building Dind image
spec:
containers:
- name: docker-build
Expand All @@ -30,35 +30,3 @@ postsubmits:
- name: dind-storage
emptyDir: {}

periodics:
- name: periodic-build-test-image
decorate: true
interval: 24h
extra_refs:
- org: rajaskakodkar
repo: prow-test-infra
base_ref: main
annotations:
testgrid-dashboards: build-images
testgrid-tab-name: periodics
spec:
containers:
- name: docker-build
image: docker:20.10.12-dind
command:
- ./scripts/ci-docker-build-image.sh
args:
- ./images/dind-go-kubectl
securityContext:
privileged: true
env:
- name: DOCKER_TLS_CERTDIR
value: ""
- name: DOCKER_HOST
value: tcp://localhost:2375
volumeMounts:
- name: dind-storage
mountPath: /var/lib/docker
volumes:
- name: dind-storage
emptyDir: {}
8 changes: 4 additions & 4 deletions config/jobs/tanzu-test-infra/postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ postsubmits:
- ^main$
run_if_changed: '^images/image-build*'
annotations:
testgrid-dashboards: build-images
testgrid-tab-name: image-builder
testgrid-dashboards: testing-images
testgrid-tab-name: post-image-builder
labels:
preset-registry-credentials: "true"
preset-dind-enabled: "true"
Expand All @@ -32,8 +32,8 @@ postsubmits:
- ^main$
run_if_changed: '^images/test-image*'
annotations:
testgrid-dashboards: build-images
testgrid-tab-name: test-image
testgrid-dashboards: testing-images
testgrid-tab-name: post-test-image
labels:
preset-registry-credentials: "true"
preset-dind-enabled: "true"
Expand Down
28 changes: 2 additions & 26 deletions config/jobs/tce/periodics.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
periodics:
- name: periodic-build-tce
decorate: true
interval: 24h
extra_refs:
- org: rajaskakodkar
repo: tanzu-test-infra
base_ref: main
annotations:
testgrid-dashboards: tce
testgrid-tab-name: periodics
labels:
preset-dind-enabled: "true"
spec:
containers:
- image: public.ecr.aws/t0q8k6g2/vagator/test-image:v20222903-be6db42
command:
- /usr/local/bin/run.sh
args:
- vmware-tanzu
- community-edition
- make docker-management-and-cluster-e2e-test
securityContext:
privileged: true

# - name: periodic-test-tce-job-aws
# cluster: test-jobs
# decorate: true
Expand Down Expand Up @@ -90,8 +66,8 @@ periodics:
repo: tanzu-test-infra
base_ref: main
annotations:
testgrid-dashboards: tce
testgrid-tab-name: periodics
testgrid-dashboards: CAPD
testgrid-tab-name: nightly
labels:
preset-aws-credential: "true"
preset-kind-volume-mounts: "true"
Expand Down
2 changes: 2 additions & 0 deletions config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ deck:
spyglass:
size_limit: 100000000 # 100MB
gcs_browser_prefix: https://console.cloud.google.com/storage/browser/
testgrid_config: gs://vagator-testgrid/config
testgrid_root: https://testgrid.k8s.io/r/vagator-testgrid/
lenses:
- lens:
name: metadata
Expand Down
32 changes: 7 additions & 25 deletions config/testgrid/config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
dashboard_groups:
- name: vagator
- name: tanzu-test-infra
dashboard_names:
- test-prow
- build-images
- testing-images
- name: tce
dashboard_names:
- CAPD

dashboards:
- name: test-prow
dashboard_tab:
- name: Vagator Testing Prow
test_group_name: test-prow-group
- name: build-images
dashboard_tab:
- name: Vagator Building test images
test_group_name: build-images-group
- name: vagator-periodics
test_group_name: periodic-building-test-images-group
- name: image-builder
test_group_name: push-image-builder

test_groups:
- name: test-prow-group
gcs_prefix: vagator-prow/logs/test-postsubmit
- name: build-images-group
gcs_prefix: vagator-prow/logs/build-test-image
- name: periodic-building-test-images-group
gcs_prefix: vagator-prow/logs/periodic-build-test-image
- name: push-image-builder
gcs_prefix: vagator-prow/logs/push-image-builder
- name: testing-images
- name: CAPD

10 changes: 5 additions & 5 deletions config/testgrid/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ default_test_group:
num_passes_to_disable_alert: 1 # Consider a failing test passing if it has 1 or more consecutive passes
default_dashboard_tab:
open_test_template: # The URL template to visit after clicking on a cell
url: https://prow.rajaskakodkar.dev/view/gcs/<gcs_prefix>/<changelist>
url: https://prow.tanzu.io/view/gcs/<gcs_prefix>/<changelist>
file_bug_template: # The URL template to visit when filing a bug
url: https://github.com/rajaskakodkar/prow-on-tce/issues/new
url: https://github.com/rajaskakodkar/tanzu-test-infra/issues/new
options:
- key: title
value: "Test \"<test-name>\" failed"
Expand All @@ -26,11 +26,11 @@ default_dashboard_tab:
# Text to show in the about menu as a link to another view of the results
results_text: See these results on Prow
results_url_template: # The URL template to visit after clicking
url: https://prow.rajaskakodkar.dev/job-history/<gcs_prefix>
url: https://prow.tanzu.io/job-history/<gcs_prefix>
# URL for regression search links.
code_search_path: github.com/rajaskakodkar/prow-on-tce/search
code_search_path: github.com/rajaskakodkar/tanzu-test-infra/search
num_columns_recent: 10
code_search_url_template: # The URL template to visit when searching for changelists
url: https://github.com/rajaskakodkar/prow-on-tce/compare/<start-custom-0>...<end-custom-0>
url: https://github.com/rajaskakodkar/tanzu-test-infra/compare/<start-custom-0>...<end-custom-0>
num_failures_to_alert: 0
num_passes_to_disable_alert: 1

0 comments on commit 3853db6

Please sign in to comment.