mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
8de8972baf
Change the copy to use `ActionsArtifact.StoragePath` instead of the `ArtifactPath`. Skip artifacts that are expired, and don't error if the file to copy does not exist. --- When trying to migrate actions artifact storage from local to MinIO, we encountered errors that prevented the process from completing successfully: * The migration tries to copy the files using the per-run `ArtifactPath`, instead of the unique `StoragePath`. * Artifacts that have been marked expired and had their files deleted would throw an error * Artifacts that are pending, but don't have a file uploaded yet will throw an error. This PR addresses these cases, and allow the process to complete successfully. |
||
---|---|---|
.. | ||
actions.go | ||
admin_auth_ldap_test.go | ||
admin_auth_ldap.go | ||
admin_auth_oauth.go | ||
admin_auth_stmp.go | ||
admin_auth.go | ||
admin_regenerate.go | ||
admin_user_change_password.go | ||
admin_user_create_test.go | ||
admin_user_create.go | ||
admin_user_delete.go | ||
admin_user_generate_access_token.go | ||
admin_user_list.go | ||
admin_user_must_change_password.go | ||
admin_user.go | ||
admin.go | ||
cert.go | ||
cmd.go | ||
docs.go | ||
doctor_convert.go | ||
doctor_test.go | ||
doctor.go | ||
dump_repo.go | ||
dump.go | ||
embedded.go | ||
generate.go | ||
hook_test.go | ||
hook.go | ||
keys.go | ||
mailer.go | ||
main_test.go | ||
main.go | ||
manager_logging.go | ||
manager.go | ||
migrate_storage_test.go | ||
migrate_storage.go | ||
migrate.go | ||
restore_repo.go | ||
serv.go | ||
web_acme.go | ||
web_graceful.go | ||
web_https.go | ||
web.go |