button works deployed #307

Closed
kiara wants to merge 2 commits from kiara/fediversity:tofu into main
Owner

closes #76

closes #76 - supersedes: #267, #301, #274
kiara force-pushed tofu from fcaacf70e6
Some checks failed
/ check-pre-commit (pull_request) Successful in 26s
/ check-website (pull_request) Successful in 39s
/ check-peertube (pull_request) Successful in 22s
/ check-panel (pull_request) Failing after 21s
to e07c6e9972
Some checks failed
/ check-pre-commit (pull_request) Successful in 24s
/ check-website (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 20s
/ check-panel (pull_request) Failing after 18s
2025-04-14 11:24:47 +02:00
Compare
kiara force-pushed tofu from e07c6e9972
Some checks failed
/ check-pre-commit (pull_request) Successful in 24s
/ check-website (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 20s
/ check-panel (pull_request) Failing after 18s
to 1dd48f66e4
Some checks failed
/ check-pre-commit (pull_request) Successful in 25s
/ check-website (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 21s
/ check-panel (pull_request) Failing after 26s
2025-04-14 13:06:37 +02:00
Compare
kiara force-pushed tofu from 453120509e
Some checks failed
/ check-pre-commit (pull_request) Failing after 24s
/ check-website (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 20s
/ check-panel (pull_request) Failing after 1m13s
to c1906b3cf5
Some checks failed
/ check-pre-commit (pull_request) Failing after 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Failing after 10s
2025-04-17 09:49:33 +02:00
Compare
kiara force-pushed tofu from e1b443f29e
Some checks failed
/ check-pre-commit (pull_request) Successful in 19s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Failing after 1m20s
to 31fce3acd2
Some checks failed
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Failing after 54s
2025-04-17 13:22:28 +02:00
Compare
kiara force-pushed tofu from 6bc7549b1a
All checks were successful
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m26s
to 6843e84657
All checks were successful
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m27s
2025-04-17 20:42:45 +02:00
Compare
kiara force-pushed tofu from 173518ed90
All checks were successful
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m26s
/ check-launch (pull_request) Successful in 55s
to a82bb393a2
All checks were successful
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m34s
/ check-launch (pull_request) Successful in 55s
2025-04-22 20:13:28 +02:00
Compare
kiara force-pushed tofu from a82bb393a2
All checks were successful
/ check-pre-commit (pull_request) Successful in 20s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m34s
/ check-launch (pull_request) Successful in 55s
to 26db134cbc
All checks were successful
/ check-pre-commit (pull_request) Successful in 11s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m24s
/ check-deployment-basic (pull_request) Successful in 12m6s
/ check-launch (pull_request) Successful in 53s
2025-04-30 16:39:26 +02:00
Compare
kiara force-pushed tofu from 26db134cbc
All checks were successful
/ check-pre-commit (pull_request) Successful in 11s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m24s
/ check-deployment-basic (pull_request) Successful in 12m6s
/ check-launch (pull_request) Successful in 53s
to 74d890bd60
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 21s
/ check-deployment-basic (pull_request) Successful in 26s
/ check-launch (pull_request) Successful in 14s
2025-05-01 13:55:52 +02:00
Compare
kiara force-pushed tofu from 74d890bd60
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 21s
/ check-deployment-basic (pull_request) Successful in 26s
/ check-launch (pull_request) Successful in 14s
to 927267bb15
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m24s
/ check-deployment-basic (pull_request) Successful in 10m2s
/ check-launch (pull_request) Successful in 55s
2025-05-01 14:06:47 +02:00
Compare
kiara force-pushed tofu from 927267bb15
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m24s
/ check-deployment-basic (pull_request) Successful in 10m2s
/ check-launch (pull_request) Successful in 55s
to fc5ac4431c
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 21s
/ check-deployment-basic (pull_request) Successful in 6m20s
/ check-launch (pull_request) Successful in 15s
2025-05-01 14:10:30 +02:00
Compare
kiara force-pushed tofu from fc5ac4431c
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 21s
/ check-deployment-basic (pull_request) Successful in 6m20s
/ check-launch (pull_request) Successful in 15s
to 2908a01c83
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m18s
/ check-deployment-basic (pull_request) Successful in 9m53s
/ check-launch (pull_request) Successful in 55s
2025-05-01 14:10:46 +02:00
Compare
kiara force-pushed tofu from 2908a01c83
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m18s
/ check-deployment-basic (pull_request) Successful in 9m53s
/ check-launch (pull_request) Successful in 55s
to c146ac88dc
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m19s
/ check-deployment-basic (pull_request) Successful in 11m32s
/ check-launch (pull_request) Successful in 54s
2025-05-01 14:16:28 +02:00
Compare
kiara force-pushed tofu from c146ac88dc
All checks were successful
/ check-pre-commit (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m19s
/ check-deployment-basic (pull_request) Successful in 11m32s
/ check-launch (pull_request) Successful in 54s
to 4065675b99
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 16s
/ check-panel (pull_request) Successful in 1m23s
/ check-deployment-basic (pull_request) Successful in 12m11s
/ check-launch (pull_request) Successful in 55s
2025-05-01 15:05:53 +02:00
Compare
Author
Owner

integrating this with tests like #323 needs a conscious approach on if/how to distinguish metadata from user input at the module interface.
currently, metadata has still been either hard-coded, or read in from files.

the place to deploy to would be required to test this tho, raising the question of whether to:

  1. use TF object type inputs to group user input and a newly distinguished meta explicit input group. this would keep it clear on which part would be relevant for front-ends, all the more relevant since #285, but seems less elegant for cluttering the TF interface, as top level inputs get convenient interfaces such as -var and TF_VAR_*.
  2. de-hardcoding metadata using alternate channels such as files and environment variables, as we may not need to otherwise expose make these in the first place:
    • npins deps should not need to be pluggable, and originally were calculated within TF - since having been decoupled only as a performance improvement
    • IPs eventually should not need setting, and are only still hard-coded until #113
    • domains are similar as IPs there (#110)
    • maybe misc stuff, see #314
  3. for the moment exposing metadata needed for testing over the same interface as user input - temporarily inelegant for the purpose of visual demos, tho otherwise maybe offering a simpler approach (until #313) for testing purposes for facilitating grouping of metadata with service, while simultaneously perhaps being a bit more explicit about our technical debt.

for the purpose of testing this story (short of lumping all the further automation on), i feel option 3 may be the lesser evil for the moment.

integrating this with tests like #323 needs a conscious approach on if/how to distinguish metadata from user input at the module interface. currently, metadata has still been either hard-coded, or read in from files. the place to deploy to would be required to test this tho, raising the question of whether to: 1. use TF object type inputs to group user input and a newly distinguished meta explicit input group. this would keep it clear on which part would be relevant for front-ends, all the more relevant since #285, but seems less elegant for cluttering the TF interface, as top level inputs [get convenient interfaces](https://developer.hashicorp.com/terraform/language/values/variables) such as `-var` and `TF_VAR_*`. 1. de-hardcoding metadata using alternate channels such as files and environment variables, as we may not need to otherwise expose make these in the first place: - npins deps should not need to be pluggable, and originally were calculated within TF - since having been decoupled only as a performance improvement - IPs *eventually* should not need setting, and are only still hard-coded until #113 - domains are similar as IPs there (#110) - maybe misc stuff, see #314 1. for the moment exposing metadata needed for testing over the same interface as user input - temporarily inelegant for the purpose of visual demos, tho otherwise maybe offering a simpler approach (until #313) for testing purposes for facilitating grouping of metadata with service, while simultaneously perhaps being a bit more explicit about our technical debt. for the purpose of testing this story (short of lumping all the further automation on), i feel option 3 may be the lesser evil for the moment.

What exactly is the metadata here? Other than that, 👍for making tech debt explicit.

What exactly is the metadata here? Other than that, 👍for making tech debt explicit.
Author
Owner

@fricklerhandwerk the meta-data includes:

  • calculated in TF
    • code hash
  • calculated before TF
    • pins
  • hard-coded stuff (now updated at #314)

edit: to be clear, what i intended to propose making explicit for now is less 'all of that' more 'what we actually need for testing already', for now

@fricklerhandwerk the meta-data includes: - calculated in TF - code hash - calculated before TF - pins - hard-coded stuff (now updated at #314) edit: to be clear, what i intended to propose making explicit for now is less 'all of that' more 'what we actually need for testing already', for now
kiara force-pushed tofu from 4065675b99
All checks were successful
/ check-pre-commit (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 16s
/ check-panel (pull_request) Successful in 1m23s
/ check-deployment-basic (pull_request) Successful in 12m11s
/ check-launch (pull_request) Successful in 55s
to 1019ac15b0
Some checks failed
/ check-pre-commit (pull_request) Failing after 11s
/ check-peertube (pull_request) Successful in 17s
/ check-panel (pull_request) Successful in 1m21s
/ check-deployment-basic (pull_request) Successful in 12m10s
/ check-launch (pull_request) Successful in 55s
2025-05-05 20:23:01 +02:00
Compare

Shall we close this, as it seems to be mostly exploratory code? The TF migration is in the other PR, so what's left here as substance?

Shall we close this, as it seems to be mostly exploratory code? The TF migration is in the other PR, so what's left here as substance?
Author
Owner

@fricklerhandwerk wrote in Fediversity/Fediversity#307 (comment):

Shall we close this, as it seems to be mostly exploratory code? The TF migration is in the other PR, so what's left here as substance?

the intended division of labor wasn't exploratory vs real, rather focus on user applications vs infra - tho tbf a code move on the latter's part has currently affected code here as well, making it more of a superset of this branch (tho it might be missing recent bits).
if we are to merge things piece-meal (as you expressed before), then i'm not sure going for just that one would match that intent.

i would propose instead ensuring this one matches the move over there, such as to reduce diffs while keeping PRs not too much bigger than needed.

@fricklerhandwerk wrote in https://git.fediversity.eu/Fediversity/Fediversity/pulls/307#issuecomment-7819: > Shall we close this, as it seems to be mostly exploratory code? The TF migration is in the other PR, so what's left here as substance? the intended division of labor wasn't exploratory vs real, rather focus on user applications vs infra - tho tbf a code move on the latter's part has currently affected code here as well, making it more of a superset of this branch (tho it might be missing recent bits). if we are to merge things piece-meal (as you expressed before), then i'm not sure going for just that one would match that intent. i would propose instead ensuring this one matches the move over there, such as to reduce diffs while keeping PRs not too much bigger than needed.
Author
Owner

in retrospect, i may not be certain what other PR you're referring to. i assumed the infra one, but you may have intended the tofu-test branch, which is kinda intended as a successor for this branch, tho i'd put off opening a PR over forgejo PRs being annoying about rebases.
if that one was your intent, i could open one for that to replace this one.

in retrospect, i may not be certain what other PR you're referring to. i assumed the infra one, but you may have intended the [`tofu-test`](https://git.fediversity.eu/Fediversity/Fediversity/compare/main...kiara/Fediversity:tofu-test) branch, which is kinda intended as a successor for this branch, tho i'd put off opening a PR over forgejo PRs being annoying about rebases. if that one was your intent, i could open one for that to replace this one.

I meant Fediversity/Fediversity#319, which seems to be somewhat similar in scope and nature.

I meant https://git.fediversity.eu/Fediversity/Fediversity/pulls/319, which seems to be somewhat similar in scope and nature.
Author
Owner
ok in that case see https://git.fediversity.eu/Fediversity/Fediversity/pulls/307#issuecomment-7825
kiara changed title from buttons works deployed to button works deployed 2025-06-27 12:06:20 +02:00
kiara force-pushed tofu from e916c606d1
Some checks failed
/ check-pre-commit (pull_request) Failing after 20s
/ check-peertube (pull_request) Successful in 23s
/ check-panel (pull_request) Failing after 20s
/ check-deployment-basic (pull_request) Successful in 13m1s
/ check-launch (pull_request) Failing after 3s
to bf4df5500a
Some checks failed
/ check-pre-commit (pull_request) Failing after 17s
/ check-data-model (pull_request) Successful in 31s
/ check-mastodon (pull_request) Successful in 22s
/ check-peertube (pull_request) Successful in 23s
/ check-panel (pull_request) Failing after 31s
/ check-deployment-basic (pull_request) Successful in 36s
/ check-deployment-cli (pull_request) Successful in 43s
/ check-deployment-panel (pull_request) Failing after 13s
/ check-resources (pull_request) Failing after 59s
/ check-launch (pull_request) Failing after 3s
2025-08-07 14:05:17 +02:00
Compare
kiara added this to the Fediversity project 2025-11-17 21:06:20 +01:00
kiara referenced this pull request from a commit 2026-02-22 22:22:23 +01:00
kiara closed this pull request 2026-04-06 13:44:11 +02:00
kiara referenced this pull request from a commit 2026-04-07 18:56:40 +02:00
kiara referenced this pull request from a commit 2026-04-07 23:16:40 +02:00
Some checks failed
/ check-pre-commit (pull_request) Failing after 17s
/ check-data-model (pull_request) Successful in 31s
/ check-mastodon (pull_request) Successful in 22s
/ check-peertube (pull_request) Successful in 23s
/ check-panel (pull_request) Failing after 31s
/ check-deployment-basic (pull_request) Successful in 36s
/ check-deployment-cli (pull_request) Successful in 43s
/ check-deployment-panel (pull_request) Failing after 13s
/ check-resources (pull_request) Failing after 59s
/ check-launch (pull_request) Failing after 3s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fediversity/fediversity!307
No description provided.