diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-01-31 11:41:43 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-01-31 12:51:51 +0100 |
commit | 7aa99dd3476fc90c97a55e6b694df2e15c5c2a8c (patch) | |
tree | 6dc4c29c13dfc37eb92616973871524b3de8b7a6 /examples/commit.c | |
parent | aa4cd778b97d7271aa0ad12a4f9d492c443d5935 (diff) | |
download | libgit2-7aa99dd3476fc90c97a55e6b694df2e15c5c2a8c.tar.gz |
azure-pipelines: properly expand negotiate passwords
To allow testing against a Kerberos instance, we have added variables
for the Kerberos password to allow authentication against LIBGIT2.ORG in
commit e5fb5fe5a (ci: perform SPNEGO tests, 2019-10-20). To set up the
password, we assign
"GITTEST_NEGOTIATE_PASSWORD=$(GITTEST_NEGOTIATE_PASSWORD)"
in the environmentVariables section which is then passed through to a
template. As the template does build-time expansion of the environment
variables, it will expand the above line verbosely, and due to the
envVar section not doing any further expansion the password variable
will end up with the value "$(GITTEST_NEGOTIATE_PASSWORD)" in the
container's environment.
Fix this fixed by doing expansion of GITTEST_NEGOTIATE_PASSWORD at
build-time, as well.
Diffstat (limited to 'examples/commit.c')
0 files changed, 0 insertions, 0 deletions