Skip to content

Commit

Permalink
[s390x]: Updated job config for release-1.15 for s390x (#484)
Browse files Browse the repository at this point in the history
* updated knative jobs for s390x

* updated cron for kourier release 1.15

* updated codegen
  • Loading branch information
dilipgb committed Jul 29, 2024
1 parent ceaffcb commit 7528d59
Show file tree
Hide file tree
Showing 12 changed files with 515 additions and 224 deletions.
72 changes: 72 additions & 0 deletions prow/jobs/generated/knative/client-release-1.15.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,78 @@ periodics:
- key: signing-certificate-password
path: password
secretName: apple-notary-creds
- annotations:
testgrid-dashboards: knative-release-1.15
testgrid-tab-name: client-s390x-e2e-tests
cluster: prow-build
cron: 20 13 * * *
decorate: true
extra_refs:
- base_ref: release-1.15
org: knative
path_alias: knative.dev/client
repo: client
name: s390x-e2e-tests_client_release-1.15_periodic
spec:
containers:
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh client-115
kubectl get cm s390x-config-client -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:v20240723-cbf584354
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
presubmits:
knative/client:
- always_run: true
Expand Down
156 changes: 156 additions & 0 deletions prow/jobs/generated/knative/eventing-release-1.15.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,162 @@ periodics:
- key: release.json
path: service-account.json
secretName: prow-google-credentials
- annotations:
testgrid-dashboards: knative-release-1.15
testgrid-tab-name: eventing-s390x-e2e-tests
cluster: prow-build
cron: 20 16 * * *
decorate: true
extra_refs:
- base_ref: release-1.15
org: knative
path_alias: knative.dev/eventing
repo: eventing
name: s390x-e2e-tests_eventing_release-1.15_periodic
spec:
containers:
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh eventing-115
kubectl get cm s390x-config-eventing -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: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- 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:v20240723-cbf584354
name: ""
resources:
limits:
memory: 16Gi
requests:
memory: 12Gi
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.15
testgrid-tab-name: eventing-s390x-e2e-reconciler-tests
cluster: prow-build
cron: 20 17 * * *
decorate: true
extra_refs:
- base_ref: release-1.15
org: knative
path_alias: knative.dev/eventing
repo: eventing
name: s390x-e2e-reconciler-tests_eventing_release-1.15_periodic
spec:
containers:
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh eventing_rekt-115
kubectl get cm s390x-config-eventing -n default -o jsonpath='{.data.adjustment-script}' > adjust.sh
chmod +x adjust.sh
./adjust.sh
./test/e2e-rekt-tests.sh --run-tests
command:
- runner.sh
env:
- name: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- 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:v20240723-cbf584354
name: ""
resources:
limits:
memory: 16Gi
requests:
memory: 12Gi
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
presubmits:
knative/eventing:
- always_run: true
Expand Down
72 changes: 72 additions & 0 deletions prow/jobs/generated/knative/operator-release-1.15.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,78 @@ periodics:
- key: release.json
path: service-account.json
secretName: prow-google-credentials
- annotations:
testgrid-dashboards: knative-release-1.15
testgrid-tab-name: operator-s390x-e2e-tests
cluster: prow-build
cron: 20 12 * * *
decorate: true
extra_refs:
- base_ref: release-1.15
org: knative
path_alias: knative.dev/operator
repo: operator
name: s390x-e2e-tests_operator_release-1.15_periodic
spec:
containers:
- args:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh operator-115
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:v20240723-cbf584354
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
presubmits:
knative/operator:
- always_run: true
Expand Down
Loading

0 comments on commit 7528d59

Please sign in to comment.