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

ci: support custom TEST_TMPDIR and clang-format #17020

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Conversation

daixiang0
Copy link
Member

Signed-off-by: Long Dai [email protected]

Commit Message:

Fix hardcode val for TEST_TMPDIR and llvm.

Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@jmarantz
Copy link
Contributor

Drive-by comment: what's broken about the current support for TEST_TMPDIR and clang-format?

@rgs1
Copy link
Member

rgs1 commented Jun 17, 2021

Drive-by comment: what's broken about the current support for TEST_TMPDIR and clang-format?

I think it's probably two things:

a) being able to set TEST_TMPDIR externally (at call time maybe)

export TEST_TMPDIR="${TEST_TMPDIR:-BUILD_DIR/tmp}"

b) This ensures LLVM's binaries are actually in $PATh

export LLVM_ROOT="${LLVM_ROOT:-/opt/llvm}"
export PATH=${LLVM_ROOT}/bin:${PATH}

rgs1
rgs1 previously approved these changes Jun 17, 2021
Copy link
Member

@rgs1 rgs1 left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me, once CI passes.

@daixiang0
Copy link
Member Author

daixiang0 commented Jun 18, 2021

@jmarantz thanks for quick comment.
@rgs1 yep, what you said is what I mean!

@daixiang0
Copy link
Member Author

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17020 (comment) was created by @daixiang0.

see: more, trace.

Signed-off-by: Long Dai <[email protected]>
Copy link
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @daixiang0

@phlax phlax merged commit faa4c9a into envoyproxy:main Jun 21, 2021
@daixiang0 daixiang0 deleted the val branch June 22, 2021 00:27
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
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.

4 participants