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(ci): make use of actuated.dev arm64 nodes for arm64 jobs. #1555

Merged
merged 6 commits into from
Dec 13, 2023

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Dec 6, 2023

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area CI

Does this PR require a change in the driver versions?

What this PR does / why we need it:

Moreover, split up drivers_ci from main ci to simplify maintenance.

Which issue(s) this PR fixes:

Fixes #

See #1384

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

mkdir -p /tmp/libs/build
cd /tmp/libs/build && cmake -DUSE_BUNDLED_DEPS=Off -DBUILD_BPF=Off -DBUILD_DRIVER=Off ..
make run-unit-tests -j6

"test-clang-7":
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only job left on circleCI.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we can remove it though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's leave it until we can test it in the kernel testing

@FedeDP FedeDP force-pushed the new/automated_arm64_ci branch 2 times, most recently from 3edf02f to 1e97069 Compare December 6, 2023 09:31
@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 6, 2023

/cc @LucaGuerra @Andreagit97

@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 6, 2023

We have some required jobs that will need to get updated on test-infra.

@FedeDP FedeDP changed the title wip: new(ci): make use of automated arm64 nodes for arm64 jobs. new(ci): make use of automated arm64 nodes for arm64 jobs. Dec 6, 2023
@FedeDP FedeDP changed the title new(ci): make use of automated arm64 nodes for arm64 jobs. new(ci): make use of actuated.dev arm64 nodes for arm64 jobs. Dec 6, 2023
@FedeDP FedeDP force-pushed the new/automated_arm64_ci branch from c16a75d to 1e97069 Compare December 6, 2023 11:46
@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 6, 2023

/hold for now

@Andreagit97 Andreagit97 added this to the 0.15.0 milestone Dec 11, 2023
Moreover, split up `drivers_ci` from main `ci` to simplify maintenance.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
…arm64.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@FedeDP FedeDP force-pushed the new/automated_arm64_ci branch from 1e97069 to 06b739f Compare December 13, 2023 09:20
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
…skipped eventually).

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@FedeDP FedeDP force-pushed the new/automated_arm64_ci branch from 25a3066 to 0076935 Compare December 13, 2023 09:30
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
cancel-in-progress: true

jobs:
paths-filter:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot use workflow level paths filter because of https://github.com/orgs/community/discussions/26251.
Otherwise our required status checks won't be properly set to "skipped".

arch: [amd64, arm64]
steps:
- name: Checkout Libs ⤵️
if: needs.paths-filter.outputs.driver_changed == 'true' || needs.paths-filter.outputs.libscap_changed == 'true'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to skip each step because of https://github.com/orgs/community/discussions/9141.
This avoids having a skipped job whose name is not the resolved matrix name but instead:

CI Build / build-drivers-${{ matrix.arch }} 😄 : (system_deps) (pull_request) Skipped

thus breaking the required status checks once again.

@@ -0,0 +1,188 @@
name: Drivers CI Build
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New name.

@FedeDP FedeDP force-pushed the new/automated_arm64_ci branch from d67fe6b to 2229e1a Compare December 13, 2023 10:18
@Andreagit97 Andreagit97 modified the milestones: 0.15.0, 0.14.0 Dec 13, 2023
@Andreagit97
Copy link
Member

I would like to have it in 0.14.0 to have the CI synched with master, IMO we can merge it after #1496

@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 13, 2023

falcosecurity/test-infra#1319 is now merged, and we should be ready to merge this one.

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

mkdir -p /tmp/libs/build
cd /tmp/libs/build && cmake -DUSE_BUNDLED_DEPS=Off -DBUILD_BPF=Off -DBUILD_DRIVER=Off ..
make run-unit-tests -j6

"test-clang-7":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's leave it until we can test it in the kernel testing

@poiana
Copy link
Contributor

poiana commented Dec 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Andreagit97,FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 13, 2023

/unhold

@poiana poiana merged commit ea23169 into master Dec 13, 2023
@poiana poiana deleted the new/automated_arm64_ci branch December 13, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants