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

Compressed Actions logs are not uploaded to object store #32926

Open
techknowlogick opened this issue Dec 20, 2024 · 1 comment
Open

Compressed Actions logs are not uploaded to object store #32926

techknowlogick opened this issue Dec 20, 2024 · 1 comment
Labels
topic/gitea-actions related to the actions of Gitea type/bug

Comments

@techknowlogick
Copy link
Member

Description

Gitea.com is configured to use zstd compression, as well as minio storage. While other assets that are configured to use minio, are uploaded to the object store, it seems that when the compression type is modified that it isn't uploaded. I see the compressed logs on disk still.

# ...
[actions]
ENABLED = true
STORAGE_TYPE=gitea_com_prod
LOG_COMPRESSION=zstd

[repo-archive]
STORAGE_TYPE=gitea_com_prod

[storage.actions_artifact]
STORAGE_TYPE=gitea_com_prod

[storage.gitea_com_prod]
STORAGE_TYPE = minio
# ...

Creating an issue for this so it doesn't get lost to the sands of time.

Gitea Version

dc8f59b (although it's been happening for longer than this commit)

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.43.5

Operating System

Rocky Linux 9

How are you running Gitea?

The binary from dl.gitea.com/gitea/nightly is downloaded on a periodic basis, and it's run using the systemd config copied from the docs.

Database

MySQL/MariaDB

@kemzeb kemzeb added the topic/gitea-actions related to the actions of Gitea label Dec 20, 2024
@Zettat123
Copy link
Contributor

Maybe the configuration should be

# ...
[actions]
ENABLED = true
LOG_COMPRESSION=zstd

[storage.actions_log]
STORAGE_TYPE=gitea_com_prod

// don't support to read configuration from [actions]
Actions.LogStorage, err = getStorage(rootCfg, "actions_log", "", nil)
if err != nil {
return err
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/gitea-actions related to the actions of Gitea type/bug
Projects
None yet
Development

No branches or pull requests

3 participants