Skip to content

ci: support custom TEST_TMPDIR and clang-format#17020

Merged
phlax merged 2 commits intoenvoyproxy:mainfrom
daixiang0:val
Jun 21, 2021
Merged

ci: support custom TEST_TMPDIR and clang-format#17020
phlax merged 2 commits intoenvoyproxy:mainfrom
daixiang0:val

Conversation

@daixiang0
Copy link
Copy Markdown
Member

Signed-off-by: Long Dai long0dai@foxmail.com

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:]

Signed-off-by: Long Dai <long0dai@foxmail.com>
@jmarantz
Copy link
Copy Markdown
Contributor

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

@rgs1
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

daixiang0 commented Jun 18, 2021

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

@daixiang0
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

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 <long0dai@foxmail.com>
Copy link
Copy Markdown
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
Signed-off-by: Long Dai <long0dai@foxmail.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.

4 participants