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

Istio gcp integration test #7813

Merged
merged 8 commits into from Jun 7, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions prow/jobs/istio/istio-integration.yaml
Expand Up @@ -12,7 +12,7 @@ presubmits:
preset-dind-enabled: "true"
cluster: untrusted-workload
decorate: true
always_run: true
skip_if_only_changed: '^docs/|^performance_tests/|\.md$|^(OWNERS|CODEOWNERS)$|^\.'
spec:
hostAliases:
- ip: "127.0.0.1"
Expand Down Expand Up @@ -55,7 +55,7 @@ postsubmits:
preset-dind-enabled: "true"
cluster: untrusted-workload
decorate: true
always_run: true
skip_if_only_changed: '^docs/|^performance_tests/|\.md$|^(OWNERS|CODEOWNERS)$|^\.'
spec:
hostAliases:
- ip: "127.0.0.1"
Expand Down
60 changes: 60 additions & 0 deletions prow/jobs/modules/internal/istio-manager.yaml
Expand Up @@ -97,6 +97,66 @@ presubmits: # runs on PRs
- name: signify-secret
secret:
secretName: signify-dev-secret
- name: pull-istio-operator-integration-gcp
annotations:
description: "runs istio operator integration tests on Gardener GCP cluster"
owner: "goat"
pipeline.trigger: "pr-submit"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-istio-operator-integration-gcp"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-cluster-version: "true"
preset-gardener-gcp-kyma-integration: "true"
preset-kyma-guard-bot-github-token: "true"
preset-sa-kyma-dns-serviceuser: "true"
skip_if_only_changed: '^docs/|^performance_tests/|\.md$|^(OWNERS|CODEOWNERS)$|^\.'
optional: false
skip_report: false
decorate: true
decoration_config:
grace_period: 600000000000
timeout: 14400000000000
cluster: untrusted-workload
max_concurrency: 10
branches:
- ^master$
- ^main$
spec:
containers:
- image: "eu.gcr.io/kyma-project/test-infra/kyma-integration:v20230414-8e724501"
command:
- "make"
args:
- "gardener-istio-integration-test"
env:
- name: DISK_SIZE
value: "50"
- name: DISK_TYPE
value: "pd-standard"
- name: GARDENER_REGION
value: "europe-west3"
- name: GARDENER_ZONES
value: "europe-west3-c,europe-west3-b,europe-west3-a"
- name: MACHINE_TYPE
value: "n2-standard-4"
- name: SCALER_MAX
value: "20"
- name: SCALER_MIN
value: "3"
- name: TEST_SA_ACCESS_KEY_PATH
value: "/sa-kyma-dns-serviceuser/service-account.json"
resources:
requests:
memory: 3Gi
cpu: 2
tolerations:
- key: dedicated
operator: Equal
value: high-cpu
effect: NoSchedule
nodeSelector:
dedicated: "high-cpu"
- name: pull-istio-operator-integration-k3d
annotations:
description: "run istio operator integration tests on k3d"
Expand Down
34 changes: 34 additions & 0 deletions templates/data/istio-module-data.yaml
Expand Up @@ -152,6 +152,40 @@ templates:
- job_default
- job_post
- job_build
- jobConfig:
name: pull-istio-operator-integration-gcp
annotations:
owner: goat
description: runs istio operator integration tests on Gardener GCP cluster
skip_if_only_changed: '^docs/|^performance_tests/|\.md$|^(OWNERS|CODEOWNERS)$|^\.'
always_run: true
command: "make"
args:
- "gardener-istio-integration-test"
decoration_config:
timeout: 14400000000000 # 4h
grace_period: 600000000000 # 10min
labels:
preset-gardener-gcp-kyma-integration: "true"
preset-cluster-version: "true"
preset-sa-kyma-dns-serviceuser: "true"
preset-kyma-guard-bot-github-token: "true"
env:
TEST_SA_ACCESS_KEY_PATH: "/sa-kyma-dns-serviceuser/service-account.json"
GARDENER_REGION: "europe-west3"
GARDENER_ZONES: "europe-west3-c,europe-west3-b,europe-west3-a"
MACHINE_TYPE: "n2-standard-4"
DISK_SIZE: 50
DISK_TYPE: "pd-standard"
SCALER_MAX: 20
SCALER_MIN: 3
inheritedConfigs:
global:
- jobConfig_presubmit
- jobConfig_default
- image_kyma-integration
local:
- job_default
- jobConfig:
name: pull-istio-operator-integration-k3d
annotations:
Expand Down