rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

rabbitmq-tools.mk: Add compress-ct-logs target #364

Closed dumbbell closed 4 years ago

dumbbell commented 4 years ago

If there are common_test logs (i.e. logs exists), it creates an archive (compressed with xz(1)) in the top-level directory.

The archive is named $(PROJECT)-ct-logs-$timestamp.tar.xz by default. The filename and location can be changed by setting $(CT_LOGS_ARCHIVE). The file extension must be .tar.xz.

gerhard commented 4 years ago

Looking good!

It's hooked up with artifact-upload@v2-preview and expected to generate 80 artefacts 😱 in this run: https://github.com/rabbitmq/rabbitmq-server/actions/runs/57821789

FWIW, we are 30 jobs away from running all rabbitmq-server CT suites in GitHub Actions 💣

gerhard commented 4 years ago

@dumbbell Do you want to cherry-pick this commit into master? https://github.com/rabbitmq/rabbitmq-common/commit/7a98c45a72b663ff31b226eb07196c10ece93b5b

dumbbell commented 4 years ago

Done. Thank you!