Skip to content
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

[Auto] Update prow jobs for release branches #427

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@

periodics:
- annotations:
testgrid-dashboards: knative-release-1.12
testgrid-dashboards: knative-release-1.14
testgrid-tab-name: operator-continuous
cluster: prow-build
cron: 26 21 * * *
cron: 20 3 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
- base_ref: release-1.14
org: knative
path_alias: knative.dev/operator
repo: operator
name: continuous_operator_release-1.12_periodic
name: continuous_operator_release-1.14_periodic
spec:
containers:
- command:
Expand Down Expand Up @@ -47,156 +47,18 @@ periodics:
path: service-account.json
secretName: prow-google-credentials
- annotations:
testgrid-dashboards: knative-release-1.12
testgrid-tab-name: operator-s390x-e2e-tests
cluster: prow-build
cron: 20 12 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative
path_alias: knative.dev/operator
repo: operator
name: s390x-e2e-tests_operator_release-1.12_periodic
spec:
containers:
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh operator-112
kubectl get cm s390x-config-operator -n default -o jsonpath='{.data.adjustment-script}' > adjust.sh
chmod +x adjust.sh
./adjust.sh
./test/e2e-tests.sh --run-tests
command:
- runner.sh
env:
- name: INGRESS_CLASS
value: contour.ingress.networking.knative.dev
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/s390x
- name: PLATFORM
value: linux/s390x
- name: KO_DOCKER_REPO
valueFrom:
secretKeyRef:
key: ko-docker-repo
name: s390x-cluster1
- name: KUBECONFIG
value: /root/.kube/config
- name: DOCKER_CONFIG
value: /opt/cluster
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
- mountPath: /opt/cluster
name: s390x-cluster1
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
- name: s390x-cluster1
secret:
defaultMode: 384
secretName: s390x-cluster1
- annotations:
testgrid-dashboards: knative-release-1.12
testgrid-tab-name: operator-ppc64le-e2e-tests
cluster: prow-build
cron: 0 14 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative
path_alias: knative.dev/operator
repo: operator
name: ppc64le-e2e-tests_operator_release-1.12_periodic
spec:
containers:
- args:
- bash
- -c
- |
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
env:
- name: CI_JOB
value: operator-release-1.12
- name: INGRESS_CLASS
value: contour.ingress.networking.knative.dev
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/ppc64le
- name: PLATFORM
value: linux/ppc64le
- name: KO_DOCKER_REPO
value: icr.io/upstream-k8s-registry/knative
- name: KUBECONFIG
value: /root/.kube/config
- name: DOCKER_CONFIG
value: /opt/cluster
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
- mountPath: /opt/cluster
name: ppc64le-cluster
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
- name: ppc64le-cluster
secret:
defaultMode: 384
secretName: ppc64le-cluster
- annotations:
testgrid-dashboards: knative-release-1.12
testgrid-dashboards: knative-release-1.14
testgrid-tab-name: operator-release
cluster: prow-build
cron: 34 9 * * 2
cron: 44 9 * * 2
decorate: true
extra_refs:
- base_ref: release-1.12
- base_ref: release-1.14
org: knative
path_alias: knative.dev/operator
repo: operator
max_concurrency: 1
name: release_operator_release-1.12_periodic
name: release_operator_release-1.14_periodic
spec:
containers:
- command:
Expand All @@ -210,7 +72,7 @@ periodics:
- --github-token
- /etc/hub-token/token
- --branch
- release-1.12
- release-1.14
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/release-account/service-account.json
Expand Down Expand Up @@ -250,10 +112,10 @@ presubmits:
knative/operator:
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: build-tests_operator_release-1.12
name: build-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test build-tests
spec:
Expand All @@ -270,13 +132,13 @@ presubmits:
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_operator_release-1.12,?($|\s.*))
trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_operator_release-1.14,?($|\s.*))
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: unit-tests_operator_release-1.12
name: unit-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test unit-tests
spec:
Expand All @@ -293,13 +155,13 @@ presubmits:
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_operator_release-1.12,?($|\s.*))
trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_operator_release-1.14,?($|\s.*))
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: integration-tests_operator_release-1.12
name: integration-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test integration-tests
spec:
Expand Down Expand Up @@ -330,13 +192,13 @@ presubmits:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )integration-tests,?($|\s.*))|((?m)^/test( | .* )integration-tests_operator_release-1.12,?($|\s.*))
trigger: ((?m)^/test( | .* )integration-tests,?($|\s.*))|((?m)^/test( | .* )integration-tests_operator_release-1.14,?($|\s.*))
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: upgrade-tests_operator_release-1.12
name: upgrade-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test upgrade-tests
spec:
Expand Down Expand Up @@ -368,13 +230,13 @@ presubmits:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )upgrade-tests,?($|\s.*))|((?m)^/test( | .* )upgrade-tests_operator_release-1.12,?($|\s.*))
trigger: ((?m)^/test( | .* )upgrade-tests,?($|\s.*))|((?m)^/test( | .* )upgrade-tests_operator_release-1.14,?($|\s.*))
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: serving-upgrade-tests_operator_release-1.12
name: serving-upgrade-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test serving-upgrade-tests
spec:
Expand Down Expand Up @@ -407,13 +269,13 @@ presubmits:
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )serving-upgrade-tests,?($|\s.*))|((?m)^/test( | .*
)serving-upgrade-tests_operator_release-1.12,?($|\s.*))
)serving-upgrade-tests_operator_release-1.14,?($|\s.*))
- always_run: true
branches:
- ^release-1.12$
- ^release-1.14$
cluster: prow-build
decorate: true
name: eventing-upgrade-tests_operator_release-1.12
name: eventing-upgrade-tests_operator_release-1.14
path_alias: knative.dev/operator
rerun_command: /test eventing-upgrade-tests
spec:
Expand Down Expand Up @@ -446,4 +308,4 @@ presubmits:
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )eventing-upgrade-tests,?($|\s.*))|((?m)^/test( | .*
)eventing-upgrade-tests_operator_release-1.12,?($|\s.*))
)eventing-upgrade-tests_operator_release-1.14,?($|\s.*))
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# #### ####
# #############################################################################
branches:
- release-1.12
- release-1.14
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
jobs:
- command:
Expand Down Expand Up @@ -64,49 +64,6 @@ jobs:
name: continuous
types:
- periodic
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh operator-112
kubectl get cm s390x-config-operator -n default -o jsonpath='{.data.adjustment-script}' > adjust.sh
chmod +x adjust.sh
./adjust.sh
./test/e2e-tests.sh --run-tests
command:
- runner.sh
cron: 20 12 * * *
env:
- name: INGRESS_CLASS
value: contour.ingress.networking.knative.dev
name: s390x-e2e-tests
requirements:
- s390x
types:
- periodic
- args:
- bash
- -c
- |
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
cron: 0 14 * * *
env:
- name: CI_JOB
value: operator-release-1.12
- name: INGRESS_CLASS
value: contour.ingress.networking.knative.dev
name: ppc64le-e2e-tests
requirements:
- ppc64le
types:
- periodic
- command:
- runner.sh
- ./hack/release.sh
Expand All @@ -118,7 +75,7 @@ jobs:
- --github-token
- /etc/hub-token/token
- --branch
- release-1.12
- release-1.14
excluded_requirements:
- gcp
max_concurrency: 1
Expand Down
Loading