How to download test logs from a Travis build: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
mNo edit summary
mNo edit summary
Line 1: Line 1:
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''.  
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.
Here's how to download the collected log files from those tests.

Revision as of 19:28, 19 April 2023

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.

  1. Scroll to the end of one of the travis builds for these projects.
  2. At the very end you will see a line that says ...
  3. Expand that line by clicking the triangle to the left.
  4. Copy the S3 URL.
  5. Using the AWS Command Line Tool, copy the file to your local computer: aws s3 cp ... .
  6. 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).
  7. 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: