button works deployed #307

Open
kiara wants to merge 2 commits from kiara/Fediversity:tofu into main
Owner

closes #76

closes #76 - supersedes: #267, #301, #274
fricklerhandwerk was assigned by kiara 2025-04-13 22:48:23 +02:00
Niols was assigned by kiara 2025-04-13 22:48:23 +02:00
kiara force-pushed tofu from fcaacf70e6 to e07c6e9972 2025-04-14 11:24:47 +02:00 Compare
kiara force-pushed tofu from e07c6e9972 to 1dd48f66e4 2025-04-14 13:06:37 +02:00 Compare
kiara force-pushed tofu from 453120509e to c1906b3cf5 2025-04-17 09:49:33 +02:00 Compare
kiara force-pushed tofu from e1b443f29e to 31fce3acd2 2025-04-17 13:22:28 +02:00 Compare
kiara force-pushed tofu from 6bc7549b1a to 6843e84657 2025-04-17 20:42:45 +02:00 Compare
kiara force-pushed tofu from 173518ed90 to a82bb393a2 2025-04-22 20:13:28 +02:00 Compare
kiara force-pushed tofu from a82bb393a2 to 26db134cbc 2025-04-30 16:39:26 +02:00 Compare
kiara force-pushed tofu from 26db134cbc to 74d890bd60 2025-05-01 13:55:52 +02:00 Compare
kiara force-pushed tofu from 74d890bd60 to 927267bb15 2025-05-01 14:06:47 +02:00 Compare
kiara force-pushed tofu from 927267bb15 to fc5ac4431c 2025-05-01 14:10:30 +02:00 Compare
kiara force-pushed tofu from fc5ac4431c to 2908a01c83 2025-05-01 14:10:46 +02:00 Compare
kiara force-pushed tofu from 2908a01c83 to c146ac88dc 2025-05-01 14:16:28 +02:00 Compare
kiara force-pushed tofu from c146ac88dc to 4065675b99 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 to 1019ac15b0 2025-05-05 20:23:01 +02:00 Compare
kiara added 1 commit 2025-05-09 15:16:18 +02:00
account for 285
Some checks failed
/ check-pre-commit (pull_request) Failing after 11s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m20s
/ check-deployment-basic (pull_request) Successful in 11m36s
/ check-launch (pull_request) Successful in 56s
90cda83039

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 #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 #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 #307 (comment)

ok in that case see https://git.fediversity.eu/Fediversity/Fediversity/pulls/307#issuecomment-7825
kiara added 1 commit 2025-06-17 08:33:19 +02:00
move files in line with tf-infra
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
e916c606d1
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 to bf4df5500a 2025-08-07 14:05:17 +02:00 Compare
Some checks failed
/ check-pre-commit (pull_request) Failing after 17s
Required
Details
/ check-data-model (pull_request) Successful in 31s
Required
Details
/ check-mastodon (pull_request) Successful in 22s
Required
Details
/ check-peertube (pull_request) Successful in 23s
Required
Details
/ check-panel (pull_request) Failing after 31s
Required
Details
/ check-deployment-basic (pull_request) Successful in 36s
Required
Details
/ check-deployment-cli (pull_request) Successful in 43s
Required
Details
/ check-deployment-panel (pull_request) Failing after 13s
Required
Details
/ check-resources (pull_request) Failing after 59s
Required
Details
/ check-launch (pull_request) Failing after 3s
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/ci.yaml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u tofu:kiara-tofu
git checkout kiara-tofu
Sign in to join this conversation.
No description provided.