envoyproxy / envoy-openssl

Envoy OpenSSL extensions
Apache License 2.0
46 stars 44 forks source link

How do I build a released version of Envoy with OpenSSL? #29

Open ksanghavi opened 4 years ago

ksanghavi commented 4 years ago

Is there a way I can build a released version of Envoy (v1.13.1) with OpenSSL? Current build yields the below version and I can't run this in production. I'll greatly appreciate any help on this.

envoy  version: 1a29e0d7d9b86124509a0f49c2d6df93ece25450/1.14.0-dev/Modified/DEBUG/OpenSSL

Thanks Kunal

mythi commented 4 years ago

Good question. Right now we only track master and not Envoy's release branches so there's no commit in this repo you'd be able to checkout to get, e.g., v1.13.1.

It's easy to checkout Envoy submodule:

$ cd envoy
$ git fetch --tags
$ git checkout v1.13.1
$ cd -

but right now I cannot point you to a commit in this repo that builds or guarantee a HEAD build with that envoy version succeeds.

With that said, this is a topic we should think...

ksanghavi commented 4 years ago

@mythi - I did try to build v1.13.1, but I couldn't find any commit in this repo that mapped to that release. I'll love to see tags/releases in this repo that maps to corresponding tags in envoy repo.

smijolovic commented 3 years ago

Has there been any progress on this?

When I try to build against 1.16.1 branch, I get:

ERROR: /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_library.bzl:12:1: file '@envoy_build_config//:extensions_build_config.bzl' does not contain symbol 'EXTENSION_CONFIG_VISIBILITY' ERROR: Skipping '//:envoy': error loading package '': in /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors WARNING: Target pattern parsing failed. ERROR: in /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors

dnalband commented 3 years ago

Any update on this, I am facing build issues too. @smijolovic, were you able to build the OpenSSL envoy extension?

ERROR: /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_library.bzl:12:1: file '@envoy_build_config//:extensions_build_config.bzl' does not contain symbol 'EXTENSION_CONFIG_VISIBILITY'
ERROR: Skipping '//:envoy': error loading package '': in /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: in /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors
taoyuanyuan commented 3 years ago

Any plans to support the released version?

UlasSAYGINIM commented 2 years ago

you suggestion does not work. git does not find any tags. because of this, i cant get latest version of envoyproxy.

Good question. Right now we only track master and not Envoy's release branches so there's no commit in this repo you'd be able to checkout to get, e.g., v1.13.1.

It's easy to checkout Envoy submodule:

$ cd envoy
$ git fetch --tags
$ git checkout v1.13.1
$ cd -

but right now I cannot point you to a commit in this repo that builds or guarantee a HEAD build with that envoy version succeeds.

With that said, this is a topic we should think...

UlasSAYGINIM commented 2 years ago

@mythi do you have any other suggestion? thank you.