Make gitea public URL configurable
[?]
Mar 30, 2021, 9:01 PM
6SK7HL54JMRLGXTXJMEU7OJ3IFET2AVJ6A62HRXPJEOAJN5GRLYACDependencies
- [2]
3VSNQ6TJImplement VM-test for gitea plugin - [3]
A4NSGFS3LDAP: add VM test to flake.nix - [4]
JFG4FYTWImplement simple status notifications for Git repos hosted on gitea - [5]
3JXCTKECAdd markdown files for documentation - [6]
RWNXH3H2lastModified -> lastModifiedDate - [7]
ZLLMZMPOFix error codes for GiteaStatus plugin
Change contents
- replacement in doc/manual/src/projects.md at line 489
| Type | Name | Value || -------------- | ------------------- | ----------------------------------- || `String value` | `gitea_repo_name` | *Name of the repository to build* || `String value` | `gitea_repo_owner` | *Owner of the repository* || `String value` | `gitea_status_repo` | *Name of the `Git checkout` input* || Type | Name | Value || -------------- | ------------------- | ---------------------------------- || `String value` | `gitea_repo_name` | *Name of the repository to build* || `String value` | `gitea_repo_owner` | *Owner of the repository* || `String value` | `gitea_status_repo` | *Name of the `Git checkout` input* || `String value` | `gitea_http_url` | *Public URL of `gitea`*, optional | - replacement in flake.nix at line 594
"gitea_status_repo": {"value": "git", "type": "string"}"gitea_status_repo": {"value": "git", "type": "string"},"gitea_http_url": {"value": "http://localhost:3001", "type": "string"} - edit in src/lib/Hydra/Plugin/GiteaStatus.pm at line 58
my $gitea_url = $eval->jobsetevalinputs->find({ name => "gitea_http_url" }); - replacement in src/lib/Hydra/Plugin/GiteaStatus.pm at line 66
my $url = "http://$domain:3001/api/v1/repos/$repoOwner/$repoName/statuses/$rev";my $host;unless (defined $gitea_url) {$host = "https://$domain";} else {$host = $gitea_url->value;} - edit in src/lib/Hydra/Plugin/GiteaStatus.pm at line 73
my $url = "$host/api/v1/repos/$repoOwner/$repoName/statuses/$rev";