Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI-Examples] Add Nginx test data files to the manifest
Commit aef087f "[LibOS] Move trusted and allowed files logic to LibOS" incorrectly modified Makefile of the Nginx example. The test data files (automatically generated by Makefile and put under Nginx install dir `install/html/random`) got generated after the Gramine manifest expansion. This led to those test files not being added as `sgx.trusted_files` to the manifest, and Nginx server could not retrieve them and thus returned error code 403 ("Forbidden"). The fix is simple: move the `$TEST_DATA` variable before the `nginx.manifest` target (which already has `$TEST_DATA` as its dependency). This bug was not detected by our CI because the Nginx test uses `wrk` which ignores error code 403 and happily counts this error response towards its total stats. This needs to be fixed in a separate commit. Signed-off-by: Vasanth Nagaraja <vasanth.k.nagaraja@intel.com>
- Loading branch information