Skip to content

Commit

Permalink
new(config): added amazonlinux2023 build-drivers jobs.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed May 19, 2023
1 parent 98ec01e commit 82e161c
Showing 1 changed file with 110 additions and 0 deletions.
110 changes: 110 additions & 0 deletions config/jobs/build-drivers/build-new-amazonlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,38 @@ presubmits:
nodeSelector:
Archtype: "x86"
Application: "jobs"
- name: validate-new-drivers-amazonlinux2023-presubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/(.+/)?amazonlinux2023_.+'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- amazonlinux2023
env:
- name: AWS_REGION
value: eu-west-1
- name: DBG_MAKE_BUILD_TARGET
value: validate
image: 292999226676.dkr.ecr.eu-west-1.amazonaws.com/test-infra/build-drivers:latest
imagePullPolicy: Always
securityContext:
privileged: true
resources:
limits:
cpu: 1.0
memory: 4Gi
requests:
cpu: 750m #m5large is 2vpcu and 8gb ram so this is 37.5% of a node
memory: 2Gi
nodeSelector:
Archtype: "x86"
Application: "jobs"
postsubmits:
falcosecurity/test-infra:
- name: build-new-drivers-amazonlinux-postsubmit
Expand Down Expand Up @@ -365,3 +397,81 @@ postsubmits:
nodeSelector:
Archtype: "arm"
Application: "jobs"
- name: build-new-drivers-amazonlinux2023-postsubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/x86_64/amazonlinux2023_.+'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- amazonlinux2023
env:
- name: AWS_REGION
value: eu-west-1
- name: PUBLISH_S3
value: "true"
image: 292999226676.dkr.ecr.eu-west-1.amazonaws.com/test-infra/build-drivers:latest
imagePullPolicy: Always
securityContext:
privileged: true
resources:
limits:
cpu: 1.0
memory: 4Gi
requests:
cpu: 750m #m5large is 2vpcu and 8gb ram so this is 37.5% of a node
memory: 2Gi
tolerations:
- key: "Availability"
operator: "Equal"
value: "SingleAZ"
effect: "NoSchedule"
nodeSelector:
Archtype: "x86"
Application: "jobs"
- name: build-new-drivers-amazonlinux2023-postsubmit-arm
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/amazonlinux2023_.+'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- amazonlinux2023
env:
- name: AWS_REGION
value: eu-west-1
- name: PUBLISH_S3
value: "true"
image: 292999226676.dkr.ecr.eu-west-1.amazonaws.com/test-infra/build-drivers:latest
imagePullPolicy: Always
securityContext:
privileged: true
resources:
limits:
cpu: 1.0
memory: 4Gi
requests:
cpu: 750m #m5large is 2vpcu and 8gb ram so this is 37.5% of a node
memory: 2Gi
tolerations:
- key: "Archtype"
operator: "Equal"
value: "arm"
effect: "NoSchedule"
- key: "Availability"
operator: "Equal"
value: "SingleAZ"
effect: "NoSchedule"
nodeSelector:
Archtype: "arm"
Application: "jobs"

0 comments on commit 82e161c

Please sign in to comment.