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

Tracking issue for Gitea CI bugs/limitations #25

Closed
7 tasks
dboreham opened this issue Mar 28, 2023 · 5 comments
Closed
7 tasks

Tracking issue for Gitea CI bugs/limitations #25

dboreham opened this issue Mar 28, 2023 · 5 comments
Assignees

Comments

@dboreham
Copy link
Collaborator

dboreham commented Mar 28, 2023

@telackey
Copy link
Contributor

telackey commented Mar 29, 2023

  • Something about tasks having the same name (forget the details, please fill in).

This is a bug in act itself, but I haven't run into it yet in Gitea+actions. Basically, if you specify a job name when running act manually, it will try to execute that job in any workflow where it is found. That should be OK if not ideal, but it bases its container names off the job name, and so it attempts to create multiple containers with the same name.

This doesn't seem to be an issue with the way Gitea is using workflows, because it only handles one workflow file at a time.

@telackey
Copy link
Contributor

The laconicd "Gosec security scanner" task fails because it cannot checkout the repo the action technote-space/[email protected]:

cloning https://gitea.com/technote-space/get-diff-action to /root/.cache/act/[email protected]
Unable to clone https://gitea.com/technote-space/get-diff-action refs/heads/v6.1.2: repository not found

It never gets far enough to try it, but I suspect it would fail getting cosmos/gosec@master as well.

It appears these GitHub URLs are being re-written to gitea, where these not standard actions do not exist. If that is all there is to it, we could always migrate/fork them to gitea.com under our own organization, but there may be additional problems lurking.

@dboreham
Copy link
Collaborator Author

dboreham commented Jun 20, 2023

Note on stable release url:

In the 1.20 release things get better. The URL now looks like:

https://host/cerc-io/stack-orchestrator2/releases/download/v1.1.0-db4728a-202306201516/laconic-so

We really want it to look something like:

https://host/cerc-io/stack-orchestrator2/releases/download-latest/laconic-so

Gitea does support this:

https://host/cerc-io/stack-orchestrator2/releases/latest

but it redirects to a tag-specific landing page

@dboreham
Copy link
Collaborator Author

This PR: go-gitea/gitea#25429 addresses our immediate needs to have a stable URL to get the latest version of a release file, like we do from GitHub.

@telackey
Copy link
Contributor

telackey commented Oct 4, 2023

@telackey telackey closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants