1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/models/fixtures
FuXiaoHei c757765a9e
Implement actions artifacts (#22738)
Implement action artifacts server api.

This change is used for supporting
https://github.com/actions/upload-artifact and
https://github.com/actions/download-artifact in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts.
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go and
includes some changes from gitea internal structs and methods.

Actions artifacts contains two parts:

- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)

Old pr https://github.com/go-gitea/gitea/pull/22345 is outdated after
actions merged. I create new pr from main branch.


![897f7694-3e0f-4f7c-bb4b-9936624ead45](https://user-images.githubusercontent.com/2142787/219382371-eb3cf810-e4e0-456b-a8ff-aecc2b1a1032.jpeg)

Add artifacts list in actions workflow page.
2023-05-19 21:37:57 +08:00
..
access_token.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
access.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
action_run_job.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_run.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_task.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action.yml Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874) 2023-04-07 18:08:36 +08:00
attachment.yml Add some api integration tests (#18872) 2022-10-18 00:23:27 +08:00
collaboration.yml
comment.yml
commit_status_index.yml
commit_status.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
external_login_user.yml
follow.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
gpg_key_import.yml
gpg_key.yml
hook_task.yml Decouple HookTask from Repository (#17940) 2022-10-21 18:21:56 +02:00
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
issue.yml Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
label.yml Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
lfs_meta_object.yml Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
login_source.yml
milestone.yml Add some api integration tests (#18872) 2022-10-18 00:23:27 +08:00
notice.yml
notification.yml
oauth2_application.yml Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
oauth2_authorization_code.yml Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
oauth2_grant.yml Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
org_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
project_board.yml Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
project_issue.yml
project.yml Fix missed migration in #22235 (#23482) 2023-03-15 10:33:10 +01:00
protected_branch.yml
public_key.yml
pull_request.yml Add API endpoint to get changed files of a PR (#21177) 2022-09-29 04:27:20 +02:00
reaction.yml
release.yml fix: release page for empty or non-existing target (#24470) 2023-05-10 11:43:55 +08:00
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
repository.yml Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
review.yml
star.yml
stopwatch.yml
system_setting.yml Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
team_repo.yml
team_unit.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
topic.yml Add some api integration tests (#18872) 2022-10-18 00:23:27 +08:00
tracked_time.yml
two_factor.yml
user_open_id.yml
user_redirect.yml
user.yml Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
watch.yml
webauthn_credential.yml Add some api integration tests (#18872) 2022-10-18 00:23:27 +08:00
webhook.yml Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00