static-site: initial implementation with f3.forgefriends.org #502
No reviewers
Labels
No labels
bug
cleanup
duplicate
enhancement
forgefriends
help wanted
invalid
label workflow
need more info
question
refactor
static-site
sync
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/k8s-cluster#502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/68/head90f371fb5afd0bab0fe5693f65ac5a0f23502ae2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I would have liked to have a ready-made solution where the following was possible to deploy a static website from a git repository. Since it does not exist, I tried an implementation with a local chart. The sha from which the site is updated will then be updated by a workflow similar to the one in next-digest.
The website deployed as an example is f3.forgefriends.forgejo.org which is already hosted on the Forgejo infrastructure. When this works, the next step will be to switch forgejo.org itself and leave uberspace.
Testing
flux/apps$ helm template --set-string sha=SHA,git=http://something.com,host=something.com --namespace forgejo-next f3-documentation charts/static-site
@viceice this is an early draft, not really ready for a detailed review. Could you let me know if I'm heading in the right direction?
maybe there is no need for a persistent volume since it can be checked out every time, I'll remove that. It needs a volume, just not persistent.
flux/apps$ helm template --set-string sha=SHA,git=http://something.com,host=something.com --namespace forgejo-next f3-documentation charts/static-site
output added to the description for verification
flux/apps$ helm template --set-string sha=8d8d7387fc46bd96abe90502305117350656949a,git=https://code.forgejo.org/f3/html-documentation,host=f3.forgefriends.forgejo.org --namespace static-site f3-documentation charts/static-site
Pull request closed