Skip to content
Open
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 @@ -253,6 +253,64 @@ tests:
requests:
cpu: 100m
workflow: ipi-gcp
- always_run: false
as: insights-runtime-extractor-tests
optional: true
steps:
cluster_profile: openshift-org-gcp
pre:
- chain: ipi-gcp-pre
- ref: insights-live
test:
- as: test
cli: latest
commands: |
pytest.sh -m 'insights_runtime_extractor' --junitxml=$(pwd)/junit_report.xml
credentials:
- mount_path: /secrets
name: insights-qa
namespace: test-credentials
- mount_path: /secret/aws/aws-bucket
name: aws-bucket
namespace: test-credentials
- mount_path: /secret/aws/aws-access-key-id
name: aws-access-key-id
namespace: test-credentials
- mount_path: /secret/aws/aws-region
name: aws-region
namespace: test-credentials
- mount_path: /secret/aws/aws-secret-access-key
name: aws-secret-access-key
namespace: test-credentials
- mount_path: /secret/slack-bot-token
name: slack-bot-token
namespace: test-credentials
- mount_path: /secret/slack-webhook-url
name: slack-webhook-url
namespace: test-credentials
- mount_path: /secret/ocm-access/
name: insights-ocm-token
namespace: test-credentials
env:
- default: /secret/aws/aws-access-key-id/aws-access-key-id
name: AWS_ACCESS_KEY_ID_PATH
- default: /secret/aws/aws-bucket/aws-bucket
name: AWS_BUCKET_PATH
- default: /secret/aws/aws-region/aws-region
name: AWS_REGION_PATH
- default: /secret/aws/aws-secret-access-key/aws-secret-access-key
name: AWS_SECRET_ACCESS_KEY_PATH
- default: /secret/slack-bot-token/slack-bot-token
name: SLACK_BOT_TOKEN
- default: /secret/slack-webhook-url/slack-webhook-url
name: SLACK_WEBHOOK_URL
from: insights-operator-tests
grace_period: 30s
resources:
requests:
cpu: 100m
timeout: 3h0m0s
workflow: ipi-gcp
- always_run: false
as: tls-scanner
optional: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,91 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )insights-operator-slow-tests,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build04
context: ci/prow/insights-runtime-extractor-tests
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: openshift-org-gcp
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-insights-operator-master-insights-runtime-extractor-tests
optional: true
rerun_command: /test insights-runtime-extractor-tests
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=insights-runtime-extractor-tests
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )insights-runtime-extractor-tests,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down