-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
chore: add tests for gitea #421
Conversation
Currently, I'm trying to create a Gitea user from the admin user. However, the basic auth with the "root" user is not working. I don't know what the default root username and password are. |
I will take a look at the process for this since it seems like we may need to set up the admin user manually as per: https://discourse.gitea.io/t/unattended-gitea-installation-from-the-cli/3373/12 and go-gitea/gitea#4120 |
This was in the PR:
Now it's clearer, thanks. However there's not a way to run an |
It does not look like we can use the API in order to create it (I may be wrong, I just couldn't find how to). But if we remove the Another option is to use the sign_up form: https://discourse.gitea.io/t/gitea-rest-api-to-create-a-new-admin-user/2310/8 |
My goal is to run the tests in CI, so no manual steps should be required :/ |
@MarcoIeni that would not be a manual step, we would invoke the installation page using our Rust code (for example, the link I gave on the last comment uses |
oh ok. Yes, this can work, too :) |
Getting back to this today. Options:
|
Close #388
WIP
useful links