6 May 2021 |
cmart | on the instance itself | 22:48:10 |
cmart | we could document that as another strategy for testing local changes | 22:48:43 |
julianp | Hmm… Yeah. | 22:48:51 |
julianp | Could even use file watcher script to push local changes to that directory, and a script to trigger ansible-pull. That would help automate that style of work.
Guess it depends on individual preference. | 22:51:51 |
cmart | aye | 22:52:15 |
7 May 2021 |
julianp | Last crazy idea for today - tar, gzip, base64 encode, and inline the ansible directory into the cloud-init user data file.
Currently that works out to be 6629 bytes, about 10% of the 65K which Nova allows for user data.
| 00:57:19 |
julianp | With that, I bid you a good evening. Time for food. | 00:57:38 |
cmart | pinteresting. could pass it to Exosphere as a flag, even. would not scale, but could do us for a while. (and I thought the limit for user data was 16k) | 02:12:24 |
julianp | Yeah, so did I. 16k is the bare minimum to be compatible across providers, because EC2’s limit is 16k. | 02:27:29 |
| gitter-badger (The Gitter Badger) changed their display name from gitter-badger (The Gitter Badger) to matrixbot (matrixbot). | 05:40:53 |
julianp | Morning!
would not scale...
I realized we can embed a gzipped patch file in the user data. cloud-init checks out a commit like normal and applies the patch (if any). That should make it scale.
| 13:28:38 |
cmart | this is a really enticing idea | 14:41:04 |
cmart | a local script on developer's machine could build the patch, compress it, base64 it, and stick it in a flag in config.js | 14:42:25 |
julianp | Yep. Or the app could dynamically load the patch file from static/assets over http served by elm-live. Don’t even have to use config.js | 15:56:40 |
cmart | i'm curious if that would work | 17:37:16 |
cmart | In reply to @cmart:matrix.org
I am having "fun" with the elm/parser library... I want to parse strings. If a string looks like
Instance 8c4d1796-d685-4d55-ac3a-855c2c884b95 could not be found.
then I want just the parser to succeed and return the UUID inside that string
figured it out https://gitlab.com/exosphere/exosphere/-/merge_requests/429/diffs?commit_id=cd7c2985c6b50efd8daa8251b2405721f415eea2 | 19:46:14 |
cmart | in Elm Parser land, you'd think "chomp" means "throw out characters" but sometimes it means "collect characters for safe keeping" | 19:46:57 |
10 May 2021 |
| Server Stats Discoverer (traveler bot) joined the room. | 12:05:45 |
| Server Stats Discoverer (traveler bot) | 12:05:46 |
cmart | howdy | 16:55:23 |
cmart | Ready for review: https://gitlab.com/exosphere/exosphere/-/merge_requests/429 | 18:51:13 |
hritchie | hi, I made a trivial merge request just to test that my setup is working: https://gitlab.com/exosphere/exosphere/-/merge_requests/431 Please let me know if anything is weird. Thanks! | 21:31:16 |
cmart | Thank you hritchie! I have approved, it needs one more maintainer approval, Julian should be back online tomorrow | 22:13:35 |
cmart | something is a little weird with GitLab, the MR points to https://gitlab.com/fcyc/exosphere which appears to not exist from here, and your account is heathritchie.. any chance you changed your username?
in any event, I tested the code change and it's good | 22:16:51 |
hritchie | yeah, the fcyc namespace is me, not sure what happened when I was signing up to gitlab, but if this is working then that's good enough for me, for now! thanks! | 22:48:46 |
11 May 2021 |
cmart | aye, we'll see if it lets us merge | 00:28:54 |
cmart | I have tried to summarize last week's discussion of the best way to store/version/consume instance provisioning code. This is basically an ADR disguised as an issue.
https://gitlab.com/exosphere/exosphere/-/issues/507
julianp please amend as you see needed and advise on which solution you think we should adopt.
(I personally think we should implement solution 3 now, with solution 4 left as a follow-up issue)
| 00:49:02 |
| Server Stats Discoverer (traveler bot) set a profile picture. | 12:41:45 |
julianp | Thanks. I'll have a look at #507 after reviewing !429 and !431. | 18:29:41 |
julianp | Also who is Server Stats Discoverer (traveler bot) ? | 18:29:46 |