How to download test logs from a Travis build
From OPeNDAP Documentation
Revision as of 19:27, 19 April 2023 by Jimg (talk | contribs) (Created page with "All of our CI/CD builds for both libdap4 and the BES run tests and save the results of the tests to an S3 bucket named **opendap.travis.tests**. Here's how to download the collected log files from those tests. # Scroll to the end of one of the travis builds for these projects. # At the very end you will see a line that says ... # Expand that line by clicking the triangle to the left. # Copy the S3 URL. # Using the AWS Command Line Tool, copy the file to your local com...")
All of our CI/CD builds for both libdap4 and the BES run tests and save the results of the tests to an S3 bucket named **opendap.travis.tests**.
Here's how to download the collected log files from those tests.
- Scroll to the end of one of the travis builds for these projects.
- At the very end you will see a line that says ...
- Expand that line by clicking the triangle to the left.
- Copy the S3 URL.
- Using the AWS Command Line Tool, copy the file to your local computer: **aws s3 cp ... .**
- Make a new directory, move the tarball into that new (otherwise empty) directory, and expand the tarball (if you don't do this in a new directory, it can litter your CWD with lots of files and dirs).
- Now, find the test results you want to see.
Here's a screenshot of the line at the very bottom of a travis build log: