rename gitea -> forgejo [BRAKING Change]

This commit is contained in:
Michael Jerger 2024-02-22 13:05:54 +01:00
parent 209f1bd9ca
commit 2770883473
3 changed files with 6 additions and 8 deletions

View file

@ -16,5 +16,4 @@ sequenceDiagram
j ->> j: generate.sh
j ->> j: cp /target/html to website
deactivate j
```

View file

@ -191,8 +191,8 @@
(defn-spec generate-website-build-secret pred/map-or-seq?
[config websiteconfig?
auth websiteauth?]
(let [{:keys [gitea-host
gitea-repo
(let [{:keys [forgejo-host
forgejo-repo
branchname]} config
{:keys [authtoken
username]} auth]
@ -201,13 +201,13 @@
(cm/replace-all-matching-values-by-new-value "TOKEN" (b64/encode authtoken))
(cm/replace-all-matching-values-by-new-value "REPOURL" (b64/encode
(generate-gitrepourl
gitea-host
gitea-repo
forgejo-host
forgejo-repo
username
branchname)))
(cm/replace-all-matching-values-by-new-value "COMMITURL" (b64/encode
(generate-gitcommiturl
gitea-host
gitea-repo
forgejo-host
forgejo-repo
username))))))

View file

@ -179,7 +179,6 @@
:GITCOMMITURL "aHR0cHM6Ly9naXRsYWIuZGUvYXBpL3YxL3JlcG9zL3NvbWV1c2VyL3JlcG8vZ2l0L2NvbW1pdHMvSEVBRA=="}}
(cut/generate-website-build-secret {:fqdns ["test.de" "test.org" "www.test.de" "www.test.org"],
:forgejo-repo "repo",
:sha256sum-output "123456789ab123cd345de script-file-name.sh",
:issuer "staging",
:branchname "main",
:unique-name "test.io",