Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
Signed-off-by: Feilian Xie <fxie@redhat.com>
  • Loading branch information
fxierh committed Apr 25, 2024
1 parent df7f61d commit 33f416a
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 2 deletions.
Expand Up @@ -204,6 +204,52 @@ tests:
test:
- ref: openshift-extended-test-longduration
workflow: cucushift-installer-rehearse-aws-ipi
- as: hypershift-ext-oidc-debug
cron: '@yearly'
steps:
cluster_profile: aws-qe
pre:
- as: dummy-pre
commands: sleep 1
from: tools
resources:
limits:
memory: 1Gi
requests:
cpu: "1"
memory: 1Gi
timeout: 10m
test:
- as: download-kubeconfig
from_image:
namespace: ocp
name: "4.16"
tag: upi-installer
commands: |
set -euxo pipefail
export AWS_SHARED_CREDENTIALS_FILE="${CLUSTER_PROFILE_DIR}/.awscred"
aws s3 cp s3://fxie-test/hcp.kubeconfig ${SHARED_DIR}/kubeconfig
oc get co --kubeconfig ${SHARED_DIR}/kubeconfig
resources:
limits:
memory: 1Gi
requests:
cpu: "1"
memory: 1Gi
timeout: 10m
- ref: openshift-extended-web-tests
post:
- as: dummy-post
commands: sleep 3600
from: tools
resources:
limits:
memory: 1Gi
requests:
cpu: "1"
memory: 1Gi
timeout: 2h
- as: aws-ipi-f9-longduration-hive-sd-rosa
cron: 23 16 8,17,26 * *
steps:
Expand Down
Expand Up @@ -31452,6 +31452,94 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: '@yearly'
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.16
org: openshift
repo: openshift-tests-private
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: amd64-nightly
ci.openshift.io/generator: prowgen
job-release: "4.16"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-nightly-hypershift-ext-oidc-debug
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
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/hypershift-ext-oidc-debug-cluster-profile
- --target=hypershift-ext-oidc-debug
- --variant=amd64-nightly
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/hypershift-ext-oidc-debug-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
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: cluster-profile
secret:
secretName: cluster-secrets-aws-qe
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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
- agent: kubernetes
cluster: build04
cron: 46 22 15 * *
Expand Down
Expand Up @@ -6,8 +6,8 @@ ref:
timeout: 8h0m0s
credentials:
- namespace: test-credentials
name: hypershift-ext-oidc-cli
mount_path: /var/run/vault/hypershift-ext-oidc-cli
name: hypershift-ext-oidc-app-cli
mount_path: /var/run/hypershift-ext-oidc-cli
- namespace: test-credentials
name: hypershift-qe-ci-rh-sso-service-account
mount_path: /var/run/hypershift-qe-ci-rh-sso-service-account
Expand Down

0 comments on commit 33f416a

Please sign in to comment.