Skip to content

Commit

Permalink
fix(config/jobs): fixed amazonlinux2 aarch64 build-drivers job.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Feb 13, 2023
1 parent 122e3b1 commit 7b10280
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 130 deletions.
6 changes: 3 additions & 3 deletions config/jobs/build-drivers/build-new-amazonlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ postsubmits:
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/amazonlinux_*'
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/amazonlinux2_*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- amazonlinux
- amazonlinux2
env:
- name: AWS_REGION
value: eu-west-1
Expand All @@ -169,4 +169,4 @@ postsubmits:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "arm"
Archtype: "arm"
102 changes: 6 additions & 96 deletions config/jobs/build-drivers/build-new-bottlerocket.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
presubmits:
falcosecurity/test-infra:
- name: validate-new-drivers-bottlerocket-4-presubmit
- name: validate-new-drivers-bottlerocket-presubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/(.+/)?bottlerocket_4*'
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/(.+/)?bottlerocket*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "4.*"
env:
- name: AWS_REGION
value: eu-west-1
Expand All @@ -29,51 +28,21 @@ presubmits:
memory: 6Gi
nodeSelector:
Archtype: "x86"
- name: validate-new-drivers-bottlerocket-5-presubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/(.+/)?bottlerocket_5*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "5.*"
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:
requests:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "x86"
postsubmits:
falcosecurity/test-infra:
- name: build-new-drivers-bottlerocket-4-postsubmit
- name: build-new-drivers-bottlerocket-postsubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/x86_64/bottlerocket_4*'
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/x86_64/bottlerocket*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "4.*"
env:
- name: AWS_REGION
value: eu-west-1
Expand All @@ -89,20 +58,19 @@ postsubmits:
memory: 6Gi
nodeSelector:
Archtype: "x86"
- name: build-new-drivers-bottlerocket-4-postsubmit-arm
- name: build-new-drivers-bottlerocket-postsubmit-arm
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/bottlerocket_4*'
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/bottlerocket*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "4.*"
env:
- name: AWS_REGION
value: eu-west-1
Expand All @@ -118,61 +86,3 @@ postsubmits:
memory: 6Gi
nodeSelector:
Archtype: "arm"
- name: build-new-drivers-bottlerocket-5-postsubmit
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/x86_64/bottlerocket_5*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "5.*"
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:
requests:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "x86"
- name: build-new-drivers-bottlerocket-5-postsubmit-arm
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/bottlerocket_5*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- bottlerocket
- "5.*"
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:
requests:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "arm"
31 changes: 1 addition & 30 deletions config/jobs/build-drivers/build-new-centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,35 +147,6 @@ postsubmits:
memory: 6Gi
nodeSelector:
Archtype: "x86"
- name: build-new-drivers-centos-2-postsubmit-arm
decorate: true
skip_report: false
agent: kubernetes
branches:
- ^master$
run_if_changed: '^driverkit/config/[a-z0-9.+-]{5,}/aarch64/centos_2*'
spec:
serviceAccountName: driver-kit
containers:
- command:
- /workspace/build-drivers.sh
- centos
- "2.*"
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:
requests:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "arm"
- name: build-new-drivers-centos-3-postsubmit
decorate: true
skip_report: false
Expand Down Expand Up @@ -349,4 +320,4 @@ postsubmits:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "arm"
Archtype: "arm"
2 changes: 1 addition & 1 deletion config/jobs/build-drivers/build-new-ubuntu-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ postsubmits:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 6Gi
nodeSelector:
Archtype: "arm"
Archtype: "arm"

0 comments on commit 7b10280

Please sign in to comment.