public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* libffi PR builds on travis-ci
@ 2020-03-09 19:11 Anthony Green
  0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2020-03-09 19:11 UTC (permalink / raw)
  To: libffi-discuss

libffi pull request builds on travis-ci have been failing for a while, but
now they are fixed.

At issue was the use of a travis-ci secret environment variable used as API
keys for https://rl.gl.   As it happens, travis-ci doesn't allow the use of
these secret values in pull request builds -- only in the master and
feature branch builds.  And so I implemented something called "policy bound
API keys" in rlgl.  A policy bound API key is a key that can only be used
with a specific policy.  So,  in this case, I've bound
0LIBFFI-0LIBFFI-0LIBFFI-0LIBFFI to https://github.com/libffi/rlgl-policy.git.
This API key can be shared publicly, so now it is hard-coded in the
travis-ci build/test scripts, and used for every build.

The bottom line is that PR travis-ci tests are working again!

AG

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-09 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09 19:11 libffi PR builds on travis-ci Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).