Skip to content

Commit

Permalink
add release 1.12 jobs for s390x (#254)
Browse files Browse the repository at this point in the history
* [s390x] adding support for release 1.11

* [s390x]: adding support for operartor release 1.11

* [s390x]: add release 1.12 jobs for s390x
  • Loading branch information
dilipgb authored Nov 3, 2023
1 parent 07093cb commit f6f2b83
Show file tree
Hide file tree
Showing 14 changed files with 537 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,252 @@ periodics:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- annotations:
testgrid-dashboards: knative-extensions-release-1.12
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-ssl
cluster: prow-build
cron: 20 19 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative-extensions
path_alias: knative.dev/eventing-kafka-broker
repo: eventing-kafka-broker
name: s390x-e2e-tests-ssl_eventing-kafka-broker_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 eventing_kafka-broker-ssl-112
kubectl get cm s390x-config-eventing-kafka-broker -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: BROKER_CLASS
value: Kafka
- name: EVENTING_KAFKA_BROKER_CHANNEL_AUTH_SCENARIO
value: SSL
- name: EVENTING_NAMESPACE
value: knative-eventing
- name: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/s390x --insecure-registry
- 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:v20231023-607a173b2
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-extensions-release-1.12
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-sasl-ssl
cluster: prow-build
cron: 20 20 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative-extensions
path_alias: knative.dev/eventing-kafka-broker
repo: eventing-kafka-broker
name: s390x-e2e-tests-sasl-ssl_eventing-kafka-broker_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 eventing_kafka-broker-sasl-ssl-112
kubectl get cm s390x-config-eventing-kafka-broker -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: BROKER_CLASS
value: Kafka
- name: EVENTING_KAFKA_BROKER_CHANNEL_AUTH_SCENARIO
value: SASL_SSL
- name: EVENTING_NAMESPACE
value: knative-eventing
- name: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/s390x --insecure-registry
- 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:v20231023-607a173b2
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-extensions-release-1.12
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-sasl-plain
cluster: prow-build
cron: 20 21 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative-extensions
path_alias: knative.dev/eventing-kafka-broker
repo: eventing-kafka-broker
name: s390x-e2e-tests-sasl-plain_eventing-kafka-broker_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 eventing_kafka-broker-sasl-plain-112
kubectl get cm s390x-config-eventing-kafka-broker -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: BROKER_CLASS
value: Kafka
- name: EVENTING_KAFKA_BROKER_CHANNEL_AUTH_SCENARIO
value: SASL_PLAIN
- name: EVENTING_NAMESPACE
value: knative-eventing
- name: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/s390x --insecure-registry
- 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:v20231023-607a173b2
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-extensions/eventing-kafka-broker:
- always_run: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,84 @@ periodics:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- annotations:
testgrid-dashboards: knative-extensions-release-1.12
testgrid-tab-name: eventing-kafka-s390x-e2e-tests
cluster: prow-build
cron: 20 18 * * *
decorate: true
extra_refs:
- base_ref: release-1.12
org: knative-extensions
path_alias: knative.dev/eventing-kafka
repo: eventing-kafka
name: s390x-e2e-tests_eventing-kafka_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 eventing_kafka-112
kubectl get cm s390x-config-eventing-kafka -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: EVENTING_NAMESPACE
value: knative-eventing
- name: SCALE_CHAOSDUCK_TO_ZERO
value: "1"
- name: SYSTEM_NAMESPACE
value: knative-eventing
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: KO_FLAGS
value: --platform=linux/s390x --insecure-registry
- 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:v20231023-607a173b2
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-extensions/eventing-kafka:
- always_run: true
Expand Down
Loading

0 comments on commit f6f2b83

Please sign in to comment.