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

[s390x]: add s390x specific prow job config for release-1.14 #428

Merged
merged 1 commit into from
May 2, 2024
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 @@ -150,6 +150,246 @@ periodics:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- annotations:
testgrid-dashboards: knative-extensions-release-1.14
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-ssl
cluster: prow-build
cron: 20 14 * * *
decorate: true
extra_refs:
- base_ref: release-1.14
org: knative-extensions
path_alias: knative.dev/eventing-kafka-broker
repo: eventing-kafka-broker
name: s390x-e2e-tests-ssl_eventing-kafka-broker_release-1.14_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-114
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: 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-extensions-release-1.14
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-sasl-ssl
cluster: prow-build
cron: 20 15 * * *
decorate: true
extra_refs:
- base_ref: release-1.14
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.14_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-114
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: 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-extensions-release-1.14
testgrid-tab-name: eventing-kafka-broker-s390x-e2e-tests-sasl-plain
cluster: prow-build
cron: 20 16 * * *
decorate: true
extra_refs:
- base_ref: release-1.14
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.14_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-114
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: 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
presubmits:
knative-extensions/eventing-kafka-broker:
- always_run: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,82 +146,6 @@ 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: 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
presubmits:
knative-extensions/eventing-kafka:
- always_run: true
Expand Down
Loading
Loading