Skip to content

ci: support custom TEST_TMPDIR and clang-format - #17020

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

phlax merged 2 commits into
envoyproxy:mainfrom
daixiang0:val

Conversation

@daixiang0

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@rgs1

rgs1 commented Jun 17, 2021

Copy link
Copy Markdown
Member

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

@rgs1 rgs1 left a comment

Copy link
Copy Markdown
Member

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

daixiang0 commented Jun 18, 2021 •

Copy link
Copy Markdown
Member Author

@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 <[email protected]>

@phlax phlax left a comment

Copy link
Copy Markdown
Member

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