Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
what build system
intern manually running tasks by hand
some gigantic proprietary system that only runs on windows
random link to github project with no commit in 3 years
goku
View Results
 
  • Post
  • Reply
Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

Gazpacho posted:

i have never seen any other build tool that demanded more developer attention and babysitting than maven. even the build system developed for windows NT (a boatload of cmd scripts driven by nmake) managed to be more intuitive

ive been begging you to post yoru pom.xml for years

i want to see this heinous thing that tortures you

Adbot
ADBOT LOVES YOU

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

Gazpacho posted:

even if i had it it wouldn't be mine to post, and anyway we both know that your response would be "why are you doing the dumb things" while ignoring the answer I have always given, that the management mandated the use of maven while also imposing requirements (esp. variant builds) that conflict with maven's "opinions"

you have to admit, your situation is pretty funny

hope you have taken the opportunity to go on a rant in the xml comments every time you have to fight maven

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer
thats interesting gazpacho

i would have said "any kind of mutation of code you want to do at build-time needs to happen prior to invoking maven"

but when i think about it, i bet they did this insane bullshit the way you describe in order to have one maven process on one build host spit out N artifacts (where N is the number of customers your compiling for) whereas i would have probably set it up such that N executors each produce one artifact

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

animist posted:

re: build servers, anybody used gitlab CI? that looks okay

i have used it

it's good for testing and building in docker containers, which makes it easy to get repeatable builds. but ironically, it's not so good at actually building docker images

because in order to do a docker build in gitlab ci, you have to either run outside of docker (shell executor on some dedicated build host) or do docker-in-docker (disgusting, but it can be done)

if you can stomach running docker builds in one kind of environment and everything else in a docker container, it works well. i actually suspect this exact same quandary is present in most CI systems that involve docker.

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer
i've used a lot of jenkins instances, and no two are completely alike. there are lots of plugins to make it do exactly what you want. but they almost always become abandoned, and then you are stuck when you have to upgrade.

gitlab ci has a much more limited feature set and no plugins afaik. but its very easy to keep up to date (if it actually meets your needs in the first place)

so i recommend trying to make it work with gitlab ci if its already serving your git repos. jenkins is always there for you if you have some specific needs that aren't served by gitlab ci

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

Poopernickel posted:

it's pretty easy to have a dockerfile and think that your builds are reproducible, except:

1. you're downloading a linux image from a server that probably won't exist in a couple of years
2. you're using apt-get in your dockerfile, which basically guarantees you can never reproduce the configuration
3. good chance you're also using an even less reproducible package-manager too, like pip or npm
4. if your build isn't actually tied to a particular linux, then congratulations it is now
5. I guess you can archive the image manually, but in that case why gently caress around with docker?

also lets none of us forget that docker is a for-profit company owned by sharky VCs - probably shouldn't assume dockerhub is profitable or will exist in 5 years, and probably shouldn't assume anything on dockerhub will be kept private - anything that hits their servers will eventually be sold to an adtech company as ~metadata~

people will forget about docker, then they'll make the program into some kind of lovely freemium thing to try and squeeze blood from a turnip, then it'll become irrelevant

and you'll still be stuck janitoring your dockers

maybe docker's better used as a production environment, idk - but I'm guessing probably not

hard to argue with this, because almost every Dockerfile fetches stuff from a repo or package manager. you're supposed to use nexus or something to ensure that all that stuff remains available and consistent. if you do, all these problems go away (except for the one where dockerhub vanishes one day)

but almost nobody does this, because using docker is all about taking shortcuts and doing the bare minimum to get poo poo working

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer
but its cool to use a docker image to provide an environment for CI, because THAT actually does make your builds more repeatable

the problem shows up when you go to update that image, and the Dockerfile refers to an apt repo that doesn't exist anymore. then you're back to janitoring linux again

Adbot
ADBOT LOVES YOU

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

CRIP EATIN BREAD posted:

artifactory rules but their pricing is outrageous.

having to buy the most expensive license @ ~$15k/year just to get S3 storage support is ridiculous.

at my old job, the NPM guys wanted to charge us 90k per year to run our own NPM mirror on-site

we got artifactory instead lol

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply