You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
253 B

  1. #!/bin/bash
  2. # Ensure a clean environent
  3. rm -fr molecule_logs
  4. mkdir -p molecule_logs
  5. # Collect and archive the logs
  6. find ~/.cache/molecule/ -name \*.out -o -name \*.err -type f | xargs tar -uf molecule_logs/molecule.tar
  7. gzip molecule_logs/molecule.tar