Skip to content

Commit

Permalink
cilium-operator-generic:1.16.5: hack envoy dependency version.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
Nashwan Azhari committed Dec 20, 2024
1 parent b254e7c commit 8b0bd60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 1.16.5/cilium/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,18 @@ parts:
# Workaround for bazel python plugin/bits to ignore running as root
sed -i -e 's/envoy_dependencies_extra()/envoy_dependencies_extra(ignore_root_user_error=True)/g' WORKSPACE
# HACK(aznashwan): there was a known bug in `google/cel-cpp`.
# cel-cpp is imported by `envoyproxy` itself, which is imported by `cilium/proxy`.
# https://github.com/envoyproxy/envoy/issues/34368
# https://github.com/envoyproxy/envoy/pull/36940
sed -i -e 's/ENVOY_SHA = ".*"/ENVOY_SHA = "718992323adc3dac4436af5ad4818a196a49d508"' WORKSPACE
make -C proxylib all
mkdir -p $CRAFT_PART_INSTALL/usr/lib/
cp proxylib/libcilium.so $CRAFT_PART_INSTALL/usr/lib/
cp proxylib/libcilium.so /usr/lib/
git rev-parse HEAD >SOURCE_VERSION
# TODO(aznashwan): broken
make bazel-bin/cilium-envoy
make install
rm -rf /root/.cache/bazel
Expand Down

0 comments on commit 8b0bd60

Please sign in to comment.