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

added upload artifact in workflow #66

Merged
merged 3 commits into from Oct 4, 2023
Merged

Conversation

Atul-source
Copy link
Contributor

In this PR I have added upload artifact workflow for each eBPF program. This PR addressed issue #64 .

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

fixing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

fixing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

added name field

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing work flow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

testing workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>

test workflow

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
Comment on lines 106 to 107
copy D:/a/eBPF-Package-Repository/eBPF-Package-Repository/xdp-root/build/xdp_root_kern.o upload_artifact
copy D:\a\eBPF-Package-Repository\eBPF-Package-Repository\build\xdp-root\Release\xdp_root.exe upload_artifact
Copy link
Collaborator

Choose a reason for hiding this comment

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

seems odd to mix / and \

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 paths I got from github actions log

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should use the same delimiter in both lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment on lines 106 to 107
copy D:/a/eBPF-Package-Repository/eBPF-Package-Repository/ratelimiting/build/ratelimiting_kern.o upload_artifact
copy D:\a\eBPF-Package-Repository\eBPF-Package-Repository\build\ratelimiting\Release\ratelimiting.exe upload_artifact
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems odd to mix / and \

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -92,3 +98,18 @@ jobs:
run: |
cmake -B build
cmake --build build -j $(nproc) --config ${{env.BUILD_CONFIGURATION}}

- name: Create artifact directory
if: matrix.configurations == 'Release'
Copy link
Collaborator

@dthaler dthaler Sep 19, 2023

Choose a reason for hiding this comment

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

Why only for Release? I think artifacts should be uploaded for Debug too, which is what we do in ebpf-for-windows

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes for debug case files are created at different path

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we need for both cases ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would say yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@sanfern sanfern added the enhancement New feature or request label Sep 27, 2023
Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
@sanfern sanfern merged commit 0fd3d9b into l3af-project:main Oct 4, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants