test: Remove OCP4 test

Since api.ocp.ci.centos.org is going away:
https://lists.centos.org/pipermail/ci-users/2022-June/004547.html.

After discussion, OCP4 test will be removed here, but RHEL for Edge
downstream test will keep OCP4 case
This commit is contained in:
Xiaofeng Wang 2022-09-12 18:01:42 +08:00 committed by Achilleas Koutsou
parent 63a57ed383
commit 05503c58c2
3 changed files with 9 additions and 114 deletions

View file

@ -1,89 +0,0 @@
---
apiVersion: template.openshift.io/v1
kind: Template
labels:
app: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
template: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
metadata:
annotations:
description: edge stage repo server
name: edge-stage-server
objects:
- kind: Route
apiVersion: v1
metadata:
name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
annotations:
template.openshift.io/expose-uri: http://{.spec.host}{.spec.path}
spec:
to:
kind: Service
name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
- kind: DeploymentConfig
apiVersion: v1
metadata:
name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
spec:
replicas: 1
selector:
name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
strategy:
type: Recreate
template:
metadata:
labels:
name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
spec:
containers:
- name: ${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}
image: quay.io/osbuild/testing-rhel-edge-push:${EDGE_STAGE_REPO_TAG}
imagePullPolicy: Always
resources:
limits:
memory: "1Gi"
cpu: "1"
requests:
memory: "512Mi"
cpu: "50m"
securityContext:
capabilities: {}
privileged: false
terminationMessagePath: /dev/termination-log
imagePullSecrets:
- name: osbuild-quay-edge-pull
dnsPolicy: ClusterFirst
restartPolicy: Always
triggers:
- type: "ConfigChange"
- kind: Service
apiVersion: v1
metadata:
name: "${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}"
annotations:
service.alpha.openshift.io/dependencies: '[{"name": "${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}",
"namespace": "", "kind": "Service"}]'
service.openshift.io/infrastructure: 'true'
creationTimestamp:
spec:
ports:
- name: web
protocol: TCP
port: 80
targetPort: 8080
nodePort: 0
selector:
name: "${EDGE_STAGE_SERVER_NAME}-${EDGE_STAGE_REPO_TAG}"
type: ClusterIP
clusterIP: None
sessionAffinity: None
parameters:
- description: Edge stage repo server.
displayName: Edge stage repo server
name: EDGE_STAGE_SERVER_NAME
value: edge-stage-server
- description: Edge stage repo tag.
displayName: Edge stage repo tag
name: EDGE_STAGE_REPO_TAG
value: latest