Skip to content

Conversation

@fuxiaohei
Copy link
Contributor

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)

Now this pr follows #21937. I will work on this pr when #21937 updated until merged.

@jolheiser jolheiser modified the milestones: 1.19.0, 1.20.0 Jan 31, 2023
@fuxiaohei fuxiaohei closed this by deleting the head repository Feb 3, 2023
@fuxiaohei fuxiaohei reopened this Feb 3, 2023
@fuxiaohei fuxiaohei closed this Feb 3, 2023
@lunny lunny removed this from the 1.20.0 milestone Feb 3, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR type/feature Completely new functionality. Can only be merged if feature freeze is not active.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants