-
Notifications
You must be signed in to change notification settings - Fork 912
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
Circle CI build job for ARM64 #1997
Conversation
Welcome @odidev! It looks like this is your first PR to falcosecurity/falco 🎉 |
.circleci/config.yml
Outdated
machine: | ||
enabled: true | ||
image: ubuntu-2004:202101-01 | ||
resource-class: arm.medium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be resource_class
, note the underscore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified.
.circleci/config.yml
Outdated
@@ -357,11 +381,13 @@ jobs: | |||
command: | | |||
FALCO_VERSION=$(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3 | sed -e 's/^"//' -e 's/"$//') | |||
/source/falco/scripts/publish-rpm -f /build/release/falco-${FALCO_VERSION}-x86_64.rpm -r rpm-dev | |||
/source/falco/scripts/publish-rpm -f /build/release/falco-${FALCO_VERSION}-aarch64.rpm -r rpm-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same lines must be added also to publish/packages
and publish/packages-deb
job, again except for the bin static one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for suggestion, added the same.
So, we surely need to port
I will need someone else to review the workflow too :) It seems fine to me: Build and test workflow
Release workflow
EDIT: i also left a couple of comments that need to be addressed :) |
To maintainers: note that the |
035947b
to
42f08d4
Compare
Given that this PR depends upon #1990 , if you wish i can take over the |
Usage of arm resources makes it mandatory to use workflow 2.1 . I checked out the error its nothing major, changing the name of the job should do the trick, I think it would better to mark this as WIP as it still might need some more modifications based on version 2.1 which can be figured only when we are able to run it. We can focus on releasing docker images and binary for arm64 for now.
The issue is for getting testing enabled for arm64, currently we are skipping it. Once we are able to add it too we can probably close it.
Sure thing. |
Mmh aren't we actually testing it? https://github.com/falcosecurity/falco/pull/1997/files#diff-78a8a19706dbd2a4425dd72bdab0502ed7a2cef16365ab7030a5a0588927bf47R14
Oh i see thanks! Yeah renaming the job should do the trick; i think you can proceed with that! |
@odidev i updated #1990 fixing publishing (deb,rpm) scripts.
(notice that passing both packages in a single call is needed!) |
Ah ok updated.
I have changed the name of the job and validated configuration file using CircleCI command line tool as well.
I have updated it accordingly. |
Wow thank you! This PR should be ready once my #1990 is merged! |
Since this PR depends on #1990 , by when can we expect it to get merged? |
Hi @odidev ! /milestone 0.33.0 |
/milestone 0.33.0 |
Quick update: we're trying to test the new |
Signed-off-by: Leonardo Grasso <[email protected]>
LGTM label has been added. Git tree hash: d70248bc5e26c4eb8d596668f04f3be003429cef
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jasondellaluce, odidev 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:
Approvers can indicate their approval by writing |
Closing and reopening to trigger the CI |
@leogr: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@leogr: Reopened this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
See falcosecurity/falco#1997 Signed-off-by: Leonardo Grasso <[email protected]>
See falcosecurity/falco#1997 Signed-off-by: Leonardo Grasso <[email protected]>
Closing and reopening to update CI required checks |
@leogr: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@leogr: Reopened this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Added Circle CI job to build Falco for ARM64 platform.
Which issue(s) this PR fixes:
Fixes #1891
Special notes for your reviewer:
Does this PR introduce a user-facing change?: