GitLab CI Pipelines

Today's project is Gitlab CI. Wow me with your pipelines if you got em.
UU
Unknown User974d ago
C
Calego974d ago
&global_cache ooo wat dat
UU
Unknown User974d ago
C
Calego974d ago
used later like so?
cache:
<<: *global_cache
cache:
<<: *global_cache
UU
Unknown User974d ago
C
Calego974d ago
- buttons to automatically create patch/minor/major releases for pipelines run in the master branch
This is interesting. I don't see anything that looks like the cli for creating a release, does that just happen with a tag creation?
UU
Unknown User974d ago
C
Calego974d ago
GitLab
Releases · dungeonslayers / ds4
An implementation of the Dungeonslayers 4 game system for Foundry Virtual Tabletop.
C
Calego974d ago
so I guess releases just happen then?
UU
Unknown User974d ago
C
Calego974d ago
So if I understand this correctly, gitlab CI wants to be used something like this: - do a bunch of stuff in a 'job' with 'stages' - create artifacts on that job And then use those job artifacts as the release files? i.e. you're not meant to attach files to the release itself?
artifacts:
paths:
- ds4
expire_in: 1 week
artifacts:
paths:
- ds4
expire_in: 1 week
does this mean if someone wants to install a version of ds4 that's more than a week old, they're SOL?
UU
Unknown User974d ago
C
Calego974d ago
Oooooo, so I could file link to a job artifact
UU
Unknown User974d ago
C
Calego974d ago
interesting can you screenshot those buttons you have for me? what does that look like?
UU
Unknown User974d ago
C
Calego974d ago
ahhh neat So you're basically constantly building the build, and then release is the last step you trigger manually ?
UU
Unknown User974d ago
C
Calego974d ago
guessing you have this hosted somewhere where 'ci minutes' aren't a problem?
UU
Unknown User974d ago
C
Calego974d ago
the lint, the test, etc etc cleeeeverrrrr thanks @ghost
LTL
Leo The League Lion974d ago
@calego gave vote LeaguePoints™ to @ghost (#5 • 252)
UU
Unknown User974d ago
C
Calego974d ago
itssomething
UU
Unknown User974d ago
C
Calego974d ago
as is thisisthetext
UU
Unknown User974d ago
C
Calego974d ago
coming from Github's Actions, I feel like I've come from playskool's my first CI to being pushed off a cliff The docs are fantastic though It's interesting, I can see how this could end up being more powerful, it's just so much more painful to set up there's like 16 ways to achieve the same goal
UU
Unknown User974d ago
C
Calego974d ago
ok fair i havne't actually tried anything yet so they might be leading me into a false sense of knowing what i'm doing 😛
UU
Unknown User974d ago
C
Calego974d ago
Yeah but the 'actions' provide a nice layer of abstraction on a lot of things yeah
UU
Unknown User974d ago
C
Calego974d ago
as I browse these docs and look at all the examples I've found, I keep being like "oooh piece of candy" and I'm defiintely going to end up with a frankenstien's monster of a pipeline
UU
Unknown User974d ago
C
Calego974d ago
Alright, I thought I was being clever by separating my workflow into 3 jobs, but each one having to pull down a new docker container (which is the same for 2 of them) is a lot of time for what feels like very little benefit...
UU
Unknown User974d ago
C
Calego974d ago
not sure actually
UU
Unknown User974d ago
C
Calego974d ago
No description
C
Calego974d ago
so that's like 9-10 seconds at the start of each job... the job itself takes like 1 Oh more than that actually its like 40s seems like the recommendation is to .... not do that. lol I'm guessing these 'jobs' are most useful for codebases that can run many things in parallel and thus benefit from horizontal scaling like this in my case, one of my jobs is a simple "check these values and if they don't match, stop" I can easily tack that onto the other job, which would cut my time by a third...
UU
Unknown User974d ago
C
Calego974d ago
I've been sitting here like "haha look at all these fools with their single steps mixing concerns. I will transcend their obviously feeble understanding of the matrix and become neo!" narrator he did not
UU
Unknown User974d ago
C
Calego974d ago
yeah that's fair, I have mild concerns that since I'm running this on gitlab's dime, I need to conserve my "CI time"
UU
Unknown User974d ago
C
Calego974d ago
not sure, probably that feels a step too far down the rabbit hole right now though
UU
Unknown User974d ago
Want results from more Discord servers?
Add your server
More Posts
Storybook Shennanegins@wyrmisis I have a headcannon for you, one who also uses Storybook. _What if_ we could load foundryjsxDammit I want this...react librarySo far I've seen Vue 2, Vue 3, Alpine, and Svelte pulled into Foundry. No one has yet been crazy enoweb componentsA comment @n1xx1 made over in #development-basics (https://discord.com/channels/732325252788387980/7UI element JS Classeshttps://discord.com/channels/732325252788387980/734922093967310910/882979923483037696 @wyrmisis > Imid-milestone ping feedback@dnd5e **No Action Required** Wanted to ping you to make you aware that the 1.5.0 milestone is >50%Hot ReloadingIs there a way to do something like hot module reloading/live reloading on change for Foundry?Tagger Code ReviewWould anyone be keen to code review Tagger? I'd like to git better 😄 https://github.com/Haxxer/Founsocket woesnot the socket firingpreUpdateSo for some reason ItemPF#_preUpdate changes aren't sticking.. what is PF1 doing that prevents this?mergeObject`mergeObject` is a beast of a function which lets you smash two objects together and that options arselect in sheetAlso, is the data actually saved on the actor? You can inspect the data in the console opened with FIC 5e DocsI'm not looking to ping about this but for anyone who sees this: I'm interested to know if anyone hecustom hud elementMaybe I'm missing something simple here. I'm making my own custom hud element (NOT based on a FoundrCover@badgerwerks how does the cover application for 5e helpers work? I know you do black magic to calculGitpod WorkflowHas anyone figured out a codespaces workflow?Dynamically get Object property from user inputAnyone know how I can do this? I have an Actor (`myactor`) and I'd like to have an input box which autopublishI'm trying to use @varriount's AutoPublish, but I keep getting this error. Any ideas?https://github.symlinking foundry.js and vscodeIs this something you were able to do with vscode? I'm trying right now with both WSL2 symlinks and Releases to ChangelogI just automatically made a Changelog by going to https://github.com/arcanistzed/scs/releases and ru