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

Delete loopback P4 pipeline and Python rules #872

Merged
merged 2 commits into from
Jan 5, 2022

Conversation

pudelkoM
Copy link
Member

@pudelkoM pudelkoM commented Dec 14, 2021

It's time to clean up some leftovers from ye olden times.

That whole loopback directory:

  • does not build/run
  • is not tested in CI
  • not used (?)
  • pollutes the dependencies with Python

If you are a user of that P4 pipeline or have other concerns, please reply here. Deletion is postponed until Jan 2022.

@Yi-Tseng
Copy link
Contributor

We should finally be able to merge PR #1 😅
Also we should be able to resolve #341

@pudelkoM
Copy link
Member Author

pudelkoM commented Jan 4, 2022

After this change, bazel query '//...' will work.

@codecov
Copy link

codecov bot commented Jan 5, 2022

Codecov Report

Merging #872 (9d76f8d) into main (3083df5) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #872   +/-   ##
=======================================
  Coverage   78.80%   78.80%           
=======================================
  Files         336      336           
  Lines       30128    30128           
=======================================
+ Hits        23742    23743    +1     
+ Misses       6386     6385    -1     
Impacted Files Coverage Δ
stratum/p4c_backends/fpm/parser_field_mapper.cc 92.02% <0.00%> (+0.26%) ⬆️

@pudelkoM pudelkoM changed the title Delete stratum/pipelines/loopback P4 pipeline Delete loopback P4 pipeline and Python rules Jan 5, 2022
@pudelkoM pudelkoM merged commit ddb50a9 into main Jan 5, 2022
@pudelkoM pudelkoM deleted the delete-pipelines-loopback branch January 5, 2022 01:51
Comment on lines -81 to -86
if "build_stack_rules_proto" not in native.existing_rules():
remote_workspace(
name = "build_stack_rules_proto",
remote = "https://github.com/stackb/rules_proto",
commit = "2f4e4f62a3d7a43654d69533faa0652e1c4f5082",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

@pudelkoM I realized that this makes all Jenkins build fail, we need this to build PI related things

pudelkoM pushed a commit that referenced this pull request Jan 6, 2022
PR #872 removed a few (seemingly) unneeded dependencies. As CI is not building the `stratum_bf/stratum_bfrt` targets we did not catch the missing dependency for older PI versions, which requires `build_stack_rules_proto`.
5abeel pushed a commit to ipdk-io/stratum-dev that referenced this pull request Jan 9, 2024
This change removes the unused `loopback` P4 pipeline and associated Python code.
5abeel pushed a commit to ipdk-io/stratum-dev that referenced this pull request Jan 9, 2024
PR stratum#872 removed a few (seemingly) unneeded dependencies. As CI is not building the `stratum_bf/stratum_bfrt` targets we did not catch the missing dependency for older PI versions, which requires `build_stack_rules_proto`.
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 13, 2024
- Merge upstream PR stratum#872

Signed-off-by: Derek G Foster <derek.foster@intel.com>
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 17, 2024
- Merge upstream PR stratum#872

Signed-off-by: Derek G Foster <derek.foster@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants