1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/web_src/js/components
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
..
.eslintrc.yaml Enable two vue eslint rules (#24780) 2023-05-17 22:00:34 -04:00
ActionRunStatus.vue Fix flash of unstyled content in action view page (#24712) 2023-05-14 14:58:59 +00:00
ActivityHeatmap.vue Make the color of zero-contribution-squares in the activity heatmap more subtle (#24758) 2023-05-17 10:55:34 +00:00
ContextPopup.vue Modify luminance calculation and extract related functions into single files (#24586) 2023-05-10 11:19:03 +00:00
DashboardRepoList.vue Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
DiffFileList.vue Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
DiffFileTree.vue Update the value of the diffEnd when click Show More btn in the DiffFileTree (#24069) 2023-04-12 15:11:23 +02:00
DiffFileTreeItem.vue Use reactive store to share data between components (#23996) 2023-04-11 20:44:26 -04:00
PullRequestMergeForm.vue Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
RepoActionView.test.js Improve action log display with control chars (#23820) 2023-04-01 20:57:05 +08:00
RepoActionView.vue Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
RepoActivityTopAuthors.vue Refactor dashboard repo list to Vue SFC (#23405) 2023-03-14 12:09:06 +08:00
RepoBranchTagSelector.vue Remove svg.svg class, restore .rss-icon (#24667) 2023-05-12 10:23:53 +00:00