1
0
Fork 0
mirror of https://github.com/Luzifer/archrepo.git synced 2024-12-20 13:11:17 +00:00

Improve upload display

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-04-28 16:19:07 +02:00
parent acd7a6a286
commit f71e60ab8e
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -15,10 +15,10 @@ do_cleanup: cleanup_files
do_cleanup: list_packages
download:
vault2env --key secret/minio/archrepo -- s3sync --delete s3://archrepo/x86_64/ $(REPO_DIR)/
bash -ec "eval $$(vault2env --key secret/minio/archrepo --export) && s3sync --delete s3://archrepo/x86_64/ $(REPO_DIR)/"
upload: cleanup_files check_archive_mix
vault2env --key secret/minio/archrepo -- s3sync --delete $(REPO_DIR)/ s3://archrepo/x86_64/
bash -ec "eval $$(vault2env --key secret/minio/archrepo --export) && s3sync --delete $(REPO_DIR)/ s3://archrepo/x86_64/"
# Maintenance targets