istio-ecosystem / authservice

Move OIDC token acquisition out of your app code and into the Istio mesh
Apache License 2.0
217 stars 63 forks source link

Make sure we can build on macOS #208

Closed dio closed 2 years ago

dio commented 2 years ago

This patch makes sure we can build on macOS (while limited for amd64 for now).

Several changes in this patch:

Notes to the reviewer: I can try to clean up the Makefile more and streamline the management of clang (including clang-format), and other required toolings: if that makes sense of sending that kind of PR(s).

Signed-off-by: Dhi Aurrahman dio@rockybars.com

dio commented 2 years ago

Sample of running this on CI: https://github.com/3128px/authservice/pull/1.

dio commented 2 years ago

/assign @liminw

Shikugawa commented 2 years ago

/approve

dio commented 2 years ago

@incfly @Shikugawa Sorry, what is "Pending — Not mergeable. Needs lgtm label."? Do I need to do something else? 🙂

istio-testing commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dio, incfly, Shikugawa

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: - ~~[OWNERS](https://github.com/istio-ecosystem/authservice/blob/master/OWNERS)~~ [Shikugawa,incfly] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
incfly commented 2 years ago

One small thing, there seems some issue about the bazel output char encoding. In my browser, searching for 2022-02-04T13:10:26.1470736Z 0/0/0/1/4 in the CI test log, you will see many characters are marked as ?.

https://github.com/istio-ecosystem/authservice/runs/5066489064?check_suite_focus=true, ubuntu 20-04.

I checked another PR's test this is fine, https://github.com/istio-ecosystem/authservice/pull/204,