Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions Artifacts v4 backend #28965

Merged
merged 37 commits into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5df4665
Actions Artifacts v4 backend
ChristopherHX Feb 2, 2024
d3b4226
fix all other places use http.StatusXxx constants
ChristopherHX Feb 8, 2024
f689531
refactor chunk code to reduce duplication
ChristopherHX Feb 8, 2024
e7ccbea
fix md5 check
ChristopherHX Feb 8, 2024
aedd382
add DeleteArtifact endpoint + test
ChristopherHX Feb 17, 2024
01d82bf
fix lint
ChristopherHX Feb 17, 2024
2dbaedf
Merge branch 'main' of github.com:go-gitea/gitea into gitea-artifacts-v4
ChristopherHX Feb 17, 2024
6f2e550
add comment about v4 zipped artifact
ChristopherHX Feb 17, 2024
fa92d6a
Handle MinioConfig.ServeDirect and cleanup dups
ChristopherHX Feb 18, 2024
374df49
remove old code
ChristopherHX Feb 18, 2024
68ca394
move verifySignature into it's own method
ChristopherHX Feb 18, 2024
f47f679
extract content encoding and unify expire time
ChristopherHX Feb 18, 2024
d48b7c2
Add invalid checksum test / fix fmt
ChristopherHX Feb 18, 2024
fb733ad
fix style
ChristopherHX Feb 18, 2024
db3db91
Merge branch 'main' of github.com:go-gitea/gitea into gitea-artifacts-v4
ChristopherHX Feb 18, 2024
745f100
prefer `setting.GetGeneralTokenSigningSecret()`
ChristopherHX Feb 18, 2024
ff30004
actions.SetArtifactNeedDelete in deleteArtifact
ChristopherHX Feb 18, 2024
68aaa83
Merge branch 'main' of github.com:go-gitea/gitea into gitea-artifacts-v4
ChristopherHX Feb 27, 2024
9df9325
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Feb 29, 2024
22393be
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Feb 29, 2024
129710e
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Feb 29, 2024
82bde15
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
14f6bd5
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
f064f06
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
a2ef3b1
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
b4fa521
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
af77320
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
5be1086
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
85af31d
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
26009dd
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
05e7f13
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
a6881e5
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
9047e50
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
c585870
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 1, 2024
977d26e
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 2, 2024
c305fa7
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 2, 2024
e46283d
Merge branch 'main' into gitea-artifacts-v4
GiteaBot Mar 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 19 additions & 0 deletions models/fixtures/action_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,22 @@
updated: 1683636626
need_approval: 0
approved_by: 0
-
id: 792
title: "update actions"
repo_id: 4
owner_id: 1
workflow_id: "artifact.yaml"
index: 188
trigger_user_id: 1
ref: "refs/heads/master"
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
event: "push"
is_fork_pull_request: 0
status: 1
started: 1683636528
stopped: 1683636626
created: 1683636108
updated: 1683636626
need_approval: 0
approved_by: 0
14 changes: 14 additions & 0 deletions models/fixtures/action_run_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,17 @@
status: 1
started: 1683636528
stopped: 1683636626
-
id: 193
run_id: 792
repo_id: 4
owner_id: 1
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0
is_fork_pull_request: 0
name: job_2
attempt: 1
job_id: job_2
task_id: 48
status: 1
started: 1683636528
stopped: 1683636626
20 changes: 20 additions & 0 deletions models/fixtures/action_task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,23 @@
log_length: 707
log_size: 90179
log_expired: 0
-
id: 48
job_id: 193
attempt: 1
runner_id: 1
status: 6 # 6 is the status code for "running", running task can upload artifacts
started: 1683636528
stopped: 1683636626
repo_id: 4
owner_id: 1
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0
is_fork_pull_request: 0
token_hash: ffffcfffffffbffffffffffffffffefffffffafffffffffffffffffffffffffffffdffffffffffffffffffffffffffffffff
token_salt: ffffffffff
token_last_eight: ffffffff
log_filename: artifact-test2/2f/47.log
log_in_storage: 1
log_length: 707
log_size: 90179
log_expired: 0