Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new(config): added amazonlinux2023 build-drivers jobs. #1099

Merged
merged 1 commit into from
May 19, 2023
Merged
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
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"