Skip to content

Commit

Permalink
casc: adding cloud definition for running casc validation
Browse files Browse the repository at this point in the history
carlosrodlop committed Oct 14, 2024
1 parent 14b3060 commit fe0c411
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions blueprints/02-at-scale/cbci/casc/oc/jcasc/cloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
jenkins:
clouds:
- kubernetes:
containerCap: 10
containerCapStr: "10"
name: "kubernetes-oc"
namespace: "cbci-agents"
templates:
- name: "linux-mavenAndKaniko-L"
label: "linux-mavenAndKaniko-L"
nodeUsageMode: "NORMAL"
yaml: |-
apiVersion: "v1"
kind: "Pod"
spec:
containers:
- args:
- "99d"
command:
- "sleep"
image: "maven:3.9.6-amazoncorretto-8"
name: "maven"
resources:
limits:
memory: "1Gi"
requests:
memory: "500Mi"
cpu: "250m"
nodeSelector:
kubernetes.io/os: linux
role: "build-linux-l"
size: "2x"
tolerations:
- effect: "NoSchedule"
key: "dedicated"
operator: "Equal"
value: "build-linux-l"

0 comments on commit fe0c411

Please sign in to comment.